brown_forsythe | R Documentation |
Conduct the Brown-Forsythe Test of Equal Variances on Residuals
brown_forsythe( resid, groups = resid <= stats::median(resid), n = NROW(resid), p, alpha = 0.05 )
resid |
vector of model residuals. |
groups |
Factor or logical of the same length as |
n |
Number of rows in the design matrix. |
p |
Number of columns in the design matrix.. |
alpha |
Alpha level for the significance test. |
This function performs the Brown-Forsythe test of equal variance on specified groups of model residuals. A significant result provides evidence of unequal variances.
Value of the Brown-Forsythe statistic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.