Skip to contents

Calculates Pillai's trace statistic for a given super_sample object. This function ensures that the within-group and total covariance matrices are computed, then computes the sum of the eigenvalues of the matrix (Total - Within) %*% solve(Total).

Usage

pillais_trace(super_sample)

Arguments

super_sample

An object of class CSuperSample

Value

A numeric value representing Pillai's trace statistic.

Details

Pillai's trace is a test statistic for the ANOVA test decribed in (to appear).