dfee_pois | R Documentation |
This function is used internally by dfee
. The function computes
analytical derivatives of the FEE with respect to covariates, and uses discrete
differences for binary indicators.
dfee_pois(b, g, X, Z, dummies)
b |
A numeric vector of estimated coefficients for the rate. |
g |
A numeric vector of estimated coefficients for inflation. |
X |
A numeric matrix of covariates for the rate. |
Z |
A numeric matrix of covariates for inflation. |
dummies |
A character vector naming the binary (dummy) variables to compute marginal effects for. |
A matrix of marginal first-exposure effects. Each column corresponds to a covariate, and each row corresponds to an observation in the data.
dfee
, fee_pois
, dfee_nb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.