see.lmu.tck: Unbalanced and balanced linear models

see.lmu.tckR Documentation

Unbalanced and balanced linear models

Description

The default design is balanced, as a result Type I = Type II = Type III SS. A student can then delete one or more Y responses, and corresponding X responses to see create an unbalanced design. Now the types of SS will no longer be equal. Furthermore, the order that X1 and X2 are specified will now matter in the case of Type I SS, although it will not matter for type II and III SS.

Usage


see.lmu.tck()

pm(Y, X1, X2, X1X2, change.order = FALSE, delete = 0)

Arguments

Y

Response variable.

X1

First column in design matrix with effect coding.

X2

Second column in design matrix.

X1X2

An interaction column. The product of design matrix columns one and two

change.order

A logical command specifying whether or not the order of X1 and X2 should changed in the model specification.

delete

when delete != 0 an observation number to be deleted.

Author(s)

Ken Aho

See Also

lm

Examples

if(interactive()){
if(any(names(sessionInfo()$otherPkgs)=="asbio")) vignette(package = "asbio", "typeISS_key")
}

asbio documentation built on May 29, 2024, 5:57 a.m.