Displaying 2 results from an estimated 2 matches for "psy304b".
Did you mean:
psy104
2008 Jan 31
1
difficulties computing a simple anova
...n a Statistics class and we are learning the ANOVA.
We had to do one by hand and then reproduce our work in SAS. I really like
the idea of understanding R however and would like to reproduce the solution
in R if possible.
Where I'm at now is this little program:
http://odin.himinbi.org/classes/psy304b/spider_analysis.r
The program calculates an anova manually (correctly, I'm pretty sure, it
agrees with the same numbers in excel). The answer that it comes up with
doesn't agree with any of the numbers I can get either the aov or anova
functions to produce.
Can anyone help me with simply...
2008 Feb 21
1
anova power calculations
...ean)) ^
2)
}
noncentral.param = noncentral.param / within.var
# Probability of central quantile in noncentral distribution
noncentral.p = pf(central.quant, J - 1, N - J, noncentral.param,
lower.tail= FALSE)
noncentral.p
The logic behind this is in my assignment at:
http://odin.himinbi.org/classes/psy304b/homework_2.xhtml#p2b
This works for a balanced ANOVA and gives the same result as
power.anova.test (and SAS). For the unbalanced ANOVA though it is giving me
a different result though than SAS, 0.8759455 versus 0.680.
So is there a straightforward way to compute the power of an unbalanced
ANOVA?...