Good morning,
I'm working on some spatio temporal data concerning PM 2.5.
I want to apply a version of random forest which explicitly accounts for spatial dependence in the observations, as introduced in "Random Forest for spatially dependent data" https://www.tandfonline.com/doi/abs/10.1080/01621459.2021.1950003#:~:text=Spatial%20linear%20mixed%2Dmodels%2C%20consisting,the%20covariate%20effect%20is%20nonlinear.
The point is that I want to account for spatio temporal dependence, not just spatial dependence.
Theoretically if I could provide in input to the function the estimation of the spatio temporal covariance matrix Q (which will be a NT x NT matrix) then the fitting could run as in the original version of the alghoritm.
I have no idea about how to modify the function RFGLS_estimate to be able to provide in input the covariance matrix Q to be used to grow the trees.
Any suggestion?
Thank you very much in advance