[R] Random Sample with constraints

Angelo Scozzarella Tiscali angeloscozzarella at tiscali.it
Sun Mar 3 17:29:05 CET 2013


For example,  I want to simulate different populations with same mean and standard deviation but different distribution.


Il giorno 03/mar/2013, alle ore 17:14, Angelo Scozzarella Tiscali ha scritto:

> Dear R friends,
> 
> I'd like to generate random sample (variable size and range) without a specified distribution but with given mean and standard deviation.
> 
> Could you help me?
> 
> thanks in advance
> 
> Angelo
> 
> ______________________________________________
> R-help a r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list