summaryWald | R Documentation |
This function produces a summary of a generalized linear model, with the Wald test (instead of the z test) and associated statistics.
summaryWald(model, interceptLast = TRUE)
model |
a model object of class "glm". |
interceptLast |
logical, whether to place the intercept in the last (rasther than the first) row of the output. Defaults to TRUE. |
This function requires the aod package, whose wald.test
function is used for computing the Wald test.
This function returns a data frame with the model summary statistics.
A. Marcia Barbosa
summary
# load sample data:
data(rotif.env)
names(rotif.env)
# build a model of a species' occurrence based on
# some of the variables:
model <- glm(Abrigh ~ Area + Altitude + AltitudeRange + HabitatDiversity +
HumanPopulation, family = binomial, data = rotif.env)
# get the Wald-based model summary:
summaryWald(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.