Marginal effects evaluation from models with varying coefficients
Marginal effects evaluation from models with varying coefficients
This function evaluates the marginal effects from x (dy/dx) based on the estimation result of resf_vc. This funtion is for non-Gaussian models transforming y using nongauss_y.
coef_marginal_vc( mod )
Arguments
mod: Output from resf_vc
Returns
b_vc: Matrix of the marginal effects of x (dy/dx) (N x K)
B_vc_n: Matrix of the sub-marginal effects of x explained by the spatially varying coefficients (N x K)
B_vc_s: Matrix of the sub-marginal effects explained by the non-spatially varying coefficients (N x K)
c: Matrix of the marginal effects of xconst (N x K_const)
other: List of other outputs, which are internally used