Computes p-values for an multinomial regression model fitted with nnet::multinom.

multinomial_p(mdl)

Arguments

mdl

The fitted multinomial regression model.

Value

Usually used without variable assignment.

References

Venables, W. N. & Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth Edition. Springer, New York.

Author

D. Schmitz

Examples

data("data_g")

multinom_model <- multinom(type ~ stereotypicality + cor_target + density + l2norm, data = data_gender)
#> Error in multinom(type ~ stereotypicality + cor_target + density + l2norm,     data = data_gender): could not find function "multinom"

multinomial_p(mdl = multinom_model)
#> Error in multinomial_p(mdl = multinom_model): object 'multinom_model' not found