Description Usage Arguments Value Author(s)
Calculates the cross-derivative required to evaluate interactions in logistic/probit regression models.
1 | secondDiff(obj, vars, data, method=c("AME", "MER"), typical = NULL)
|
obj |
An object of class |
vars |
A vector of two variables to be used in calculating the derivative. |
data |
A data frame. |
method |
Indicate whether you want to use average marginal effects (AME) or marginal effects at representative values (MER). |
typical |
A named vector of values at which to hold variables constant. |
A data frame with standardized quantitative variables
Dave Armstrong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.