View source: R/heteroscedasticity_test.R
heteroscedasticity_test | R Documentation |
Testing for variance-inhomogeneity using Breauch-Pagan test for each comparison
heteroscedasticity_test( data, alpha = 0.05, groups = "Comparison", bonferroni_correct = FALSE, conservative = TRUE, robust = TRUE )
data |
A data table or data frame of type LFDT grouped according to |
alpha |
The base significance level of the test. |
groups |
The names of grouping columns in |
bonferroni_correct |
Should we Bonferroni correct the significance level based the number of MS comparisons. Default is |
conservative |
Should the Bonferroni correction be done conservatively that assumes that some of the MS comparisons are dependent? Default is |
robust |
Should Koenker's adjust be implemented in the test? Recommended if data is non-normal. Default is |
A data table with grouping as the first column, LM test statistic as the second column, p-value as the third column, and judgement as the last column
print(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.