Cheat&Sheet:&factorial&ANOVA&
Measurement&and&Evaluation&of&HCC&Systems&
&
Scenario)
Use&factorial&ANOVA&if&you&want&to&test&the&effect&of&two&(or&more)&nominal&variables&varX1&
and&varX2&on&a&continuous&outcome&variable&varY.&In&this&scenario&varX1&and&varX2&are&
usually&orthogonally&manipulated&experimental&manipulation&with&two&or&more&conditions&(but&
they&can&be&any&nominal&variable,&such&as&gender,&race,&occupation,&etc).&Each&participant&is&
randomly&assigned&to&one&condition.
Power)analysis)
- To&do&a&power&analysis&for&the&omnibus&test,&use&Test&family&āF&testsā,&āANOVA:&Fixed&effects,&
special,&main&effects&and&interactionsā.&
- A&power&analysis&has&four&variables:&Effect&size,&
α
"(usually&.05),&power&(usually&.85),&and&N.&If&
you&know&three&of&these,&G*Power&will&calculate&the&fourth.&Select&the&correct&type&of&power&
analysis,&based&on&the&information&you&have,&and&what&you&want&to&find&out.&
- āNumerator&dfā&is&the&number&of&levels&you&are&comparing&minus&1.&For&the&main&effect&of&an&
X&variable&with&k&levels,&this&is&kā1;&for&an&interaction&effect&of&two&X&variables&with&k&and&r&
levels,&this&is&(kā1)(rā1).&
- āNumber&of&groupsā&is&the&total&number&of&experimental&conditions;&e.g.&for&the&
aforementioned&two&X&variables&it&is&k*r.&
- By&clicking&on&āDetermineā,&you&can&compute&the&effect&size&f&from&the&partial&
Ī·
2.&
- Click&on&āCalculateā&to&calculate&the&missing¶meter.&
- To&conduct&power&analyses&for&contrasts&or&post&hoc&tests,&refer&to&power&analysis&of&the&
independent&t&test.&Use&a&corrected&
α
&if&needed.&
Plotting)a)line)plot)and)a)box)plot)
- Use&the&ggplot2&package&to&plot&a&bar&chart&with&error&bars.&
ggplot(data, aes(varX1, varY, color=varX2)) + stat_summary(fun.y=mean,
geom=ālineā, aes(group = varX2) + stat_summary(fun.data=mean_cl_normal,
geom=āerrorbarā, width=0.2)&
- Plot&a&boxplot:&
ggplot(data, aes(varX1, varY)) + geom_boxplot() + facet_wrap(~varX2)&&