Re: [R] Generating data when mean and 95% CI are known

2011-09-07 Thread Ken
R can tell you how many possible answers there are with those givens though: ?Inf Really though, you can get at some information if you are willing to set one of those definitively. I.e. If you set sample size you can 'find' data which match specs but isn't going to be applicable to anything

Re: [R] Generating data when mean and 95% CI are known

2011-09-07 Thread Mark Leeds
Hi: I don't know if this is what you meant but here's a way to cheat and do it. 1) back out the [sigma over sqrt root of n] from the 95 % CI and call it X. 2) then generate data using rnorm(n*, known mean, sigma*) where sigma*/sqrt(n*) = X is satisfied. 3) there will be many solutions to 2) so

Re: [R] Generating data when mean and 95% CI are known

2011-09-07 Thread Rolf Turner
On 08/09/11 09:51, Tyler Hicks wrote: Is there a function in R that will generate data from a known mean and 95% CI? I do not know the distribution or sample size of the original data. No. R is wonderful, but it cannot work magic. cheers, Rolf Turner ___

[R] Generating data when mean and 95% CI are known

2011-09-07 Thread Tyler Hicks
Is there a function in R that will generate data from a known mean and 95% CI? I do not know the distribution or sample size of the original data. Cheers, Tyler L Hicks PhD Student Washington State University - Vancouver E-mail: tyler_hi...@wsu.edu Website: www.thingswithwings.org "Back of