srs_interaction_detector {gdverse} | R Documentation |
spatial rough set-based interaction detector
Description
spatial rough set-based interaction detector
Usage
srs_interaction_detector(y, x1, x2, wt)
Arguments
y |
Dependent variable, |
x1 |
Covariate |
x2 |
Covariate |
wt |
Spatial adjacency matrix. |
Value
A list.
Variable1 PD
the average local explanatory power for variable1
Variable2 PD
the average local explanatory power for variable2
Variable1 and Variable2 interact PD
the average local explanatory power for variable1 and variable2 interact
Variable1 SE_PD
the degree of spatial heterogeneity of the local explanatory power for variable1
Variable2 SE_PD
the degree of spatial heterogeneity of the local explanatory power for variable2
Variable1 and Variable2 SE_PD
the degree of spatial heterogeneity of the local explanatory power for variable1 and variable2 interact
Interaction
the interact result type
Author(s)
Wenbo Lv lyu.geosocial@gmail.com
References
Bai, H., Li, D., Ge, Y., Wang, J., & Cao, F. (2022). Spatial rough set-based geographical detectors for nominal target variables. Information Sciences, 586, 525–539. https://doi.org/10.1016/j.ins.2021.12.019
Examples
data('srs_table')
data('srs_wt')
srs_interaction_detector(srs_table$d,srs_table$a1,srs_table$a2,srs_wt)