Skip to content
Prev 26076 / 29559 Next

convert "errorsarlm" to "lm"

On Sun, 22 Oct 2017, niv de malach wrote:

            
see for example:

http://www.fromthebottomoftheheap.net/2017/10/19/first-steps-with-mrf-smooths/

here using mgcv::gam() to fit a model with an MRF smooth. In effect, 
errorsarlm() is fitting something similar,
No! You have to pass through the uncertainty associated with fitting the 
spatial regression coefficient. The same would apply with any other 
MRF-based approach. It is possible to pretend that this coefficient is 
fixed (I'll return to the example tomorrow). I don't think that any of the 
listed object types come from fitting functions supporting MRF, though. 
You would likely need to re-fit your piecewiseSEM over samples from the 
coefficients, to check that the path outcomes were robust (just a 
speculation). Any Bayesians who could help?

Roger