I have been trying to figure out how to run a simple simulation of the ANOVA
and I'm coming up just a bit short. The code I've got is:
cohen.f = .25
groups = 4
between.var = 19
within.var = between.var / cohen.f ^ 2
n = 500
sim.means = rnorm(n = groups, mean = 0, sd = sqrt(between.var))
sim.data
On Mar 5, 2008, at 12:03 AM, Will Holcomb wrote:
I have been trying to figure out how to run a simple simulation of
the ANOVA
and I'm coming up just a bit short. The code I've got is:
cohen.f = .25
groups = 4
between.var = 19
within.var = between.var / cohen.f ^ 2
n = 500
sim.means
/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Will Holcomb
Sent: Wednesday, 5 March 2008 3:03 PM
To: r-help
Subject: [R] simulating the anova
I have been trying to figure out how to run a simple simulation of the
ANOVA
and I'm coming up just a bit short. The code
3 matches
Mail list logo