Statistical test of the collective significance of the ilr variables
Statistical test of the collective significance of the ilr variables
compare_two_lm(y_str, X1, X2)
Arguments
y_str: a string representation of the column in X1 (and X2) that is the outcome
X1: a data.frame or matrix that contains a subset of the predictor variables in X2 and outcome variable
X2: a data.frame or matrix that contains the predictor variables and outcome variable
Returns
Returns NULL invisibly. The ANOVA analysis is printed to the console, that is, the statistical test of whether the additional predictors in X2 improve the model significantly from the model with only the subset of predictors in X1.