Skip to contents

Low-level function behind mauchly.test()

Usage

sphericity(
  object,
  Sigma = diag(nrow = p),
  T = Thin.row(Proj(M) - Proj(X)),
  M = diag(nrow = p),
  X = ~0,
  idata = data.frame(index = seq_len(p))
)

Arguments

object

object of class SSD or mlm

Sigma

matrix to be proportional to.

T

transformation matrix. By default computed from M and X.

M

formula or matrix describing the outer projection.

X

formula or matrix describing the inner projection.

idata

data frame describing intra-block design.