Robust Analysis of Covariance under Heterogeneous Slopes

Share:

Description

Returns a robust rank-based analysis of covariance for a one-way layout assuming heterogenous slopes; see Section 5.4 of Kloke and McKean (2014). Currently only wilcoxon scores are used.

Usage

1

Arguments

levs

Number of levels of the one-way design

data

matrix with response in column 1 and level in column 2

xcov

matrix of covariates

print.table

logical indicating a table should be printed

Details

Returns the analysis of covariance table assuming heterogenous slopes.

Value

tab

analysis of covariance

fit

rank-based ful model (heterogenous slopes

References

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

Examples

1
2
3
data=latour[,c('quality','rain')]
xcov<-cbind(latour['end.of.harvest'])
onecovaheter(2,data,xcov,print.table=TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.