acov231: Analysis of Covariance Example for a two by three two-way...

acov231R Documentation

Analysis of Covariance Example for a two by three two-way design

Description

This a simulated data set which is used as an example of analysis of covariance. The data frame acov231 contains the data. The responses are in column 1, column 2 contains the levels of factor A, column 3 contains the levels of factor B, and the 4th column contains the covariate. All true parameters (effects) are 0 in this generated data set.

Usage

data(acov231)

Format

A data frame with 33 observations and 4 variables.

response

numeric. the response.

fA

numeric. factor A with 2 levels.

fB

numeric. factor B with 3 levels.

covariate

numeric. a covariate.

References

Kloke, J. and McKean J.W. (2014), Nonparametric Statistical Methods using R, Boca Raton, FL: Chapman-Hall.

Examples

levs = c(2,3)
data = acov231[,1:3]
xcov = matrix(acov231[,4],ncol=1)
temp = kancova(levs,data,xcov)

npsm documentation built on Nov. 15, 2023, 1:08 a.m.