
Last chance! 50% off unlimited learning
Sale ends in
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
)
A model object of class multinom
.
The desired Type I error rate to identify coefficients as statistically significant.
Logical indicating whether calculated p-values should be
two-sided (if TRUE
) or one-sided (if FALSE
).
Logical indicating whether an asterisk should be placed
beside coefficients which are significant at the pval
level.
Logical indicating whether coefficients which are not
significant at the pval
level should be blank in the output.
A data frame suitable for printing with the (optionally significance-flagged) coefficients from a multinomial logit model.
# NOT RUN {
library(nnet)
data(france)
mnl.mod <- multinom(vote ~ retnat + male + retnat + lrself, data=france)
mnlSig(mnl.mod)
# }
Run the code above in your browser using DataLab