How do I generate a random sample with an given variance?
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._