Learn R Programming

sasLM (version 0.10.5)

T3MS: Type III Expected Mean Square Formula

Description

Calculates a formula table for expected mean square of Type III SS.

Usage

T3MS(Formula, Data, L0, eps=1e-8)

Value

A coefficient matrix for Type III expected mean square

Arguments

Formula

a conventional formula for a linear model

Data

a data.frame to be analyzed

L0

a matrix of row linear contrasts, if missed, e3 is used

eps

Less than this value is considered as zero.

Author

Kyun-Seop Bae k@acr.kr

Details

This is necessary for further hypothesis tests of nesting factors.

Examples

Run this code
  T3MS(log(CMAX) ~ SEQ/SUBJ + PRD + TRT, BEdata)

Run the code above in your browser using DataLab