EMS | R Documentation |
Calculates a formula table for expected mean square of the given contrast. The default is for Type III SS.
EMS(Formula, Data, Type=3, eps=1e-8)
Formula |
a conventional formula for a linear model |
Data |
a |
Type |
type of sum of squares. The default is 3. Type 4 is not supported yet. |
eps |
Less than this value is considered as zero. |
This is necessary for further hypothesis tests of nesting factors.
A coefficient matrix for Type III expected mean square
Kyun-Seop Bae k@acr.kr
f1 = log(CMAX) ~ SEQ/SUBJ + PRD + TRT
EMS(f1, BEdata)
EMS(f1, BEdata, Type=1)
EMS(f1, BEdata, Type=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.