[R] Generic code for simulating from a distribution.
webmaster at stamats.de
Mon Apr 10 08:07:39 CEST 2006
have a look at the packages distr and distrSim which are on CRAN.
----- original Nachricht --------
Betreff: [R] Generic code for simulating from a distribution.
Gesendet: Mo, 10. Apr 2006
Von: matgopa1 at umbc.edu
> Hello all,
> I have the code below to simulate samples of certain size from a
> particular distribution (here,beta distribution) and compute some
> statistics for the samples.
> I can write a similar coding for any distribution individually.
> Now, I would like to have a generic code, say if I specify the
> distribution with the parameters and simulation and sample size I would
> like to have the simulations done for the mentioned distribution and the
> statistics performed.
> I would appreciate any help in doing so?
> Thanks for your time.
> Mathangi Gopalakrishnan
> Graduate student
> Dept of Mathematics and Statistics
> University of Maryland, Baltimore County
> Baltimore, MD
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
--- original Nachricht Ende ----
More information about the R-help