Skip to content
Prev 26914 / 29559 Next

logLik value of the spml spatial panel model

Dear List:

In a recent attempt to compare spatial panel models using splm package, 
I intend to use the logLik value that was produced by the spml() 
routine. When I ran the model, I realize that the logLik value is not 
always produced, especially when the spatial.error is set to "b", a NULL 
value is returned. I know I must have missed something here, but can 
anyone point out why the logLik value is not returned when the 
spatial.error value is set to "b" (a spatial panel lag model always 
return a logLik value). I tried a bit to dig into the codes, but didn't 
find much that can answer my question.

Thank you.

Best,

Danlin