Diff for "FAQ/power/powexample" - CBU statistics Wiki
location: Diff for "FAQ/power/powexample"
Differences between revisions 7 and 8
Revision 7 as of 2007-09-05 09:33:07
Size: 1291
Editor: PeterWatson
Comment:
Revision 8 as of 2007-09-05 09:41:46
Size: 1318
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
There is one between subjects factor with 2 levels do $$b_{1}$$ = 2. There are two within subject factors each with 2 levels so $$w_{1}$$ = $$w_{2}$$ = 2. We can now use these to work out our inputs. There are two between subjects factors (age, sex) with 2 levels each do $$b_{1}=b_{2}$$ = 2. There is one within subjects factor (type) with 4 levels so $$w_{1}$$ = 4. We can now use these to work out our inputs.
Line 9: Line 9:
d1 = (2-1) + (2-1) = 2 d1 = (2-1) + (2-1) + (2-1)*(2-1) = 3
Line 13: Line 13:
prod = 2 prod = 4

Suppose we have a three way interaction of three factors called age, sex and type. Each factor has two levels, age and sex are between subject and type is within subject.

Pilot data has suggested an effect size, partial eta-squared, of 0.10 as worthy of interest. We wish to do a power calculation to see how many people we will need to detect an eta-squared of at least 0.10 with a power of 0.80 and a Type I error of 5%.

There are two between subjects factors (age, sex) with 2 levels each do $$b_{1}=b_{2}$$ = 2. There is one within subjects factor (type) with 4 levels so $$w_{1}$$ = 4. We can now use these to work out our inputs.

num = numerator df = (2-1)(2-1)(2-1)=1

d1 = (2-1) + (2-1) + (2-1)*(2-1) = 3

d2 = (2-1)(2-1) = 1

prod = 4

Putting in these together, assuming conservatively no correlation between types, with an alpha=0.05, partial eta-squared of 0.10 and a power of 0.80 gives a total sample size of 38 required.

If we assume an average correlation of 0.25 amongst the types the partial eta-squared rises to 0.14 and we only need a total sample size of 27 with a power of 0.80.

Reference

Faul, F. & Erdfelder, E. (1992) GPOWER: A priori, post-hoc, and compromise power analyses for MS-DOS [Computer program]. Bonn, Germany: Bonn University, Dep. of Psychology.

None: FAQ/power/powexample (last edited 2013-03-08 10:17:59 by localhost)