Description Usage Arguments Value Author(s) Examples
Calculates average effects of a variable in multinomial logistic regression holding all other variables at observed values.
1 | mnlChange2(obj, varnames, data, diffchange = c("unit", "sd"), n = 1, R = 1500)
|
obj |
An object of class |
varnames |
A string identifying the variable to be manipulated. |
data |
Data frame used to fit |
diffchange |
A string indicating the difference in predictor values to
calculate the discrete change. |
n |
Number of |
R |
Number of simulations. |
A list with elements:
mean |
Average effect of the variable for each category of the dependent variable. |
lower |
Lower 95 percent confidence bound |
upper |
Upper 95 percent confidence bound |
Dave Armstrong
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.