mnlSig | R Documentation |
By default, the summary for objects of class multinom
is not
particularly helpful. It still requires a lot of work on the part of the
user to figure out which coefficients are significantly different from zero
and which ones are not. mnlSig
solves this problem by either
flagging significant coefficients with an asterisk or only printing
significant coefficients, leaving insignificant ones blank.
mnlSig(
obj,
pval = 0.05,
two.sided = TRUE,
flag.sig = TRUE,
insig.blank = FALSE
)
obj |
A model object of class |
pval |
The desired Type I error rate to identify coefficients as statistically significant. |
two.sided |
Logical indicating whether calculated p-values should be
two-sided (if |
flag.sig |
Logical indicating whether an asterisk should be placed
beside coefficients which are significant at the |
insig.blank |
Logical indicating whether coefficients which are not
significant at the |
A data frame suitable for printing with the (optionally significance-flagged) coefficients from a multinomial logit model.
Dave Armstrong
library(nnet)
data(france)
mnl.mod <- multinom(vote ~ retnat + male + retnat + lrself, data=france)
mnlSig(mnl.mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.