Dear solafah This is a list for discussion of use of R in teaching.
Your question would be more appropriate for the r-help list, assuming it's not a homework assignment. It is an amusing question though. One way would be to make use of the inverse CDF method, combined with uniformly sampling from some interval like (0, .05) or (.95,1). I'll leave the details as an exercise for the r student. albyn On Thu, Aug 19, 2010 at 04:33:34PM -0700, solafah bh wrote: > Hello > I want to know how can i sampling from upper and lower tail of normal > distribution, by R code? > ? > Regards > > > > [[alternative HTML version deleted]] > > _______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-teaching -- Albyn Jones Reed College [email protected] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
