[R] How to generate fake population (ie. not sample) data?
Thomas Lumley
tlumley at u.washington.edu
Wed Mar 4 09:05:30 CET 2009
On Wed, 4 Mar 2009, David Winsemius wrote:
> In what ways is rnorm not a satisfactory answer?
My guess was that CB wants to generate a finite population whose mean and variance are specified, which would involve rnorm() followed by centering and scaling.
-thomas
> --
> David Winsemius
>
> On Mar 3, 2009, at 9:33 PM, CB wrote:
>
>> This seems like it should be obvious, but searches I've tried all come
>> up with rnorm etc.
>>
>> Is there a way of generating normally-distributed 'population' data
>> with known parameters?
>>
>> Cheers, CB.
>>
>> ______________________________________________
>> R-help at 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.
>
> ______________________________________________
> R-help at 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.
>
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help
mailing list