abc: the ABC procedure for model selection

Description Usage Arguments Details Value Examples

View source: R/abc.R

Description

the AIC comparison with Modified Box-Cox Transformation (ABC) is a diagnostic procedure to help select among various additive and multiplicative models

Usage

1
abc(y, g, x = 0)

Arguments

y

the raw posttest scores of a continuous outcome variable.

g

the categorical variable that denotes the group membership.

x

(optional) the raw pretest scores of a continuous outcome variable.

Details

When only 'y' and 'g' are specified, the ABC procedure compares LANOVA and ANOVA models. When 'x' is also specified, the ABC procedure compares LANCOVA, ANCOVA, ANCOHET, and ANCOVA with log-transformed y.

Value

AIC results of different models. The model with smallest AIC is preferred.

Examples

1
2
3
4
data("schoene")
attach(schoene)
abc(post_HRT,group,pre_HRT)
abc(post_HRT,group)

lamme documentation built on May 1, 2019, 7:32 p.m.