[R] How do I generate a random sample with an given variance?
Duncan Murdoch
murdoch at stats.uwo.ca
Mon Mar 26 22:44:05 CEST 2001
On Mon, 26 Mar 2001 11:29:13 -0800 (PST), you wrote in message
<20010326192913.36803.qmail at web12001.mail.yahoo.com>:
>Hi R gurus,
>
>
>How do I generate a random sample with a given
>variance?
>
Generate a random sample, then rescale it to have the variance you
require.
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list