Computes two-sided Wald z-tests for a model fitted with nnet::multinom().

multinomial_p(mdl)

Arguments

mdl

A fitted multinom model.

Value

A data frame with response class, term, coefficient, standard error, z statistic, and p-value.

Examples

if (FALSE) { # \dontrun{
model <- nnet::multinom(Species ~ Sepal.Length + Sepal.Width, iris)
multinomial_p(model)
} # }