.evaluateModel | R Documentation |
Evaluate a glm object using the Akaike information criterion (AIC)
.evaluateModel(model, test = c("Wald", "LRT"), p.value = 1)
model |
glm object |
test |
A character string matching one of 'Wald' or 'LRT'. If test =
'Wald', then the p-value of the Wald test for the coefficient of the
independent variable (treatment group) will be reported.
If test = 'LRT', then the p-value from a likelihood ratio test given by
|
p.value |
Cut off p-value to reject the null hypothesis |
AIC value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.