topics - functions - index - search

calc_rm_anova.m

'calc_rm_anova(anovadata,factor,betweenfactor,n,pointwisestatus,...
CellMean,CellGroupMean,SubjectMean,GrandMean,factorstructure,betweenfactorstructure,...
betweensubjectcell,nroffactors,nrofbetweenfactors,nrofsubjects,TotQS,TotDf,SubjectQS,...
SubjectDf,GroupMean)'
calculates n-way-interaction and main-effects (if n==1) for the
data given in anovadata.
The number of rows in anovadata corresponds the number of
subjects. 'factor' is a cell containing the name of the factors
in the first column and the number of gradations in the second
column. 'n' specifies the order of the interactions to be
calculated. Factors must be in hierarchical order, starting
from the highest level.
betweenfactor can contain grouping factors
'results' is a cell array containing the following information in the
columns with the denoted indices:
1:Name 2:ConditionQS(SS) 3:ConditionDf 4:ConditionMeanSquare(MS) 5:ErrorQS**
6:ErrorDf 7:ErrorMeanSquare(MS)** 8:F-Value* 9:p-Value*
10:epsilon(huynh-feldt) 11: p-Value(huynh-feldt)
*Values are added in 'rmanova' after calculation of all SSs.
**ErrorQS is the SS for the 'tested effect' x 'subject'. From this,
group-factor-main-effect-SS and subject-SS will be subtractet
(see Winer (1971)).
'results{3,2}' for instance contains the ConditionQS for the third
tested effect.