tw_group_corr_test: Tracy-Widom test for residual group correlation
Description
Tracy-Widom test for residual group correlation
Usage
tw_group_corr_test(model_fit, correction = c("none", "half"), plot = TRUE)Value
a list containing test statistic, p-value, and diagnostic plots
Arguments
- model_fit
fitted model object
- correction
correction constant, either "none", "half"
- plot
a logical, whether to return a ggplot density plot of TW with observed statistic