powered by
Hypothesis test of Type III SS using an error term other than MSE. This corresponds to SAS PROC GLM's RANDOM /TEST clause.
T3test(Formula, Data, H="", E="", eps=1e-8)
Returns one or more ANOVA table(s) of type III SS.
a conventional formula for a linear model
a data.frame to be analyzed
data.frame
Hypothesis term
Error term
Less than this value is considered as zero.
Kyun-Seop Bae k@acr.kr
It tests a factor of type III SS using some other term as an error term. Here the error term should not be MSE.
T3test(log(CMAX) ~ SEQ/SUBJ + PRD + TRT, BEdata, E=c("SEQ:SUBJ")) T3test(log(CMAX) ~ SEQ/SUBJ + PRD + TRT, BEdata, H="SEQ", E=c("SEQ:SUBJ"))
Run the code above in your browser using DataLab