leveneAndWilcoxResidualDistributions {CondIndTests}R Documentation

Levene and wilcoxon test to compare first and second moments of residual distributions

Description

Used as a subroutine in InvariantResidualDistributionTest to test whether residual distribution remains invariant across different levels of E.

Usage

leveneAndWilcoxResidualDistributions(Y, predicted, E, verbose)

Arguments

Y

An n-dimensional vector.

predicted

An n-dimensional vector of predictions for Y.

E

An n-dimensional vector. E needs to be a factor.

verbose

Set to TRUE if output should be printed.

Value

A list with the p-value for the test.


[Package CondIndTests version 0.1.5 Index]