get_marginal_effects.Rd
Calculates the marginal effects of an N x p matrix (wide-format) of qreg coefficients
get_marginal_effects(
qreg_coeffs,
avg_spacings,
j_star,
calc_se = TRUE,
qreg_vcv_vec = NULL
)
wide-format of calculated spacings point estimates
average spacings matrix, which can be calculated from setting calculateAvgME = TRUE or using the avg_spacing function directly
the first quantile the user wishes to predict (usually the middle one)
boolean value, indicating whether the user wishes to calculate the marginal effect standard errors
variance-covariance matrix from point estimates, only necessary if calculating standard errors
list of values: avgME: calculated average marginal effects avgME_se (user-specified): standard errors on the calculated marginal effects