brown_forsythe_lm: (Stat 5100) Brown-Forsythe test for constant variance in the...

Description Usage Arguments Value

View source: R/utilities.R

Description

This function splits the data into two halves based upon the median fitted value, and then within each the median absolute deviations of the residuals are calculated. A pooled variance t-test is subsequently applied to the two groups of median absolute deviations. This test is a way to evaluate whether there is constant variance in the residuals or not.

Usage

1

Arguments

lmobject

An object obtained from the lm() function.

Value

Printed output with the results of the t-test.


ethanancell/stat5100package documentation built on April 18, 2021, 2:40 a.m.