margins.oglmx {oglmx} | R Documentation |
Calculate marginal effects for oglmx
objects.
Description
This function constructs marginal effects and calculates standard errors for all models estimated by the oglmx
function. Standard errors are obtained using the delta method.
Usage
margins.oglmx(object, atmeans = TRUE, AME = FALSE, location = NULL, outcomes = "All",
ascontinuous = FALSE, Vars = NULL)
## S3 method for class 'margins.oglmx'
print(x, ... )
Arguments
object |
object of class " |
Vars |
vector specifying variables for which marginal effects are desired. |
outcomes |
either character string " |
atmeans |
logical. If |
AME |
logical. If |
ascontinuous |
logical. If |
location |
|
... |
additional arguments to |
x |
object of class |
Value
an object of class margins.oglmx
. The object consists of a list containing data matrices, each matrix corresponding to an outcome for which the marginal effect was desired. Columns of each matrix correspond to the estimated marginal effect, its standard error, t-statistics and two sided p-value.
Author(s)
Nathan Carroll, nathan.carroll@ur.de