Learn R Programming

spmoran (version 0.2.1)

coef_marginal_vc: Marginal effects evaluation from models with varying coefficients

Description

This function evaluates the marginal effects of x based on the estimation result of resf_vc. This funtion works if y is transformed (i.e., tr_num > 0 or tr_nonneg =TRUE) in resf.

Usage

coef_marginal_vc( mod )

Arguments

mod

Output from resf

Value

b_vc

Matrix of the marginal effects of x (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

See Also

resf_vc