max_T: Computes the ANOVA-Test for clustered data

max_TR Documentation

Computes the ANOVA-Test for clustered data

Description

Computes the ANOVA-Test for clustered data

Usage

max_T(
  n,
  data,
  p_null = 0.5,
  cont,
  normal = FALSE,
  theta = NULL,
  psi = NULL,
  alpha
)

Arguments

n

A vector containing the sample sizes

data

The data, provided as a list of lists

p_null

A vector or scalar of relative effects under the null hypothesis, defaults to 0.5

cont

A contrast matrix for the relative effects

normal

Logical, whether normal approximation should be used or not, defaults to FALSE

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

Value

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


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