anovaTest: Computes the ANOVA-Test for clustered data

View source: R/tests.R

anovaTestR Documentation

Computes the ANOVA-Test for clustered data

Description

Computes the ANOVA-Test for clustered data

Usage

anovaTest(data, cont, theta = NULL, psi = NULL, alpha = 0.05, type = NULL)

Arguments

data

The data, provided as a list of lists

cont

A contrast matrix for the relative effects

theta

A Vector for the group weights, defaults to unweighted estimator

psi

A list of vectors with the cluster weights, defaults to unweighted estimator

alpha

The significance level, defaults to 0.05

type

A string indicating whether weighted or unweighted estimator should be used. Only if psi is not provided

Value

A list containing the value of the test statistic, the degrees of freedom, the p-value and the test decision


spruenke/rankCluster documentation built on June 16, 2022, 9:47 a.m.