Skip to content
Prev 27315 / 29559 Next

Error while using predict.sarlm

Dear Prof. Roger Bivand,

Thanks a lot for providing a clarification for my query.
I used the following code and found out that the region.id in listw object
and row.names of the data do not match.
chr [1:182] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14"
"15" "16" "17" ...
chr [1:182] "142" "108" "149" "76" "8" "71" "45" "75" "173" "119" "22"
"32" "156" "221" ...
[1] FALSE

 How can I change the row.names of my data 'missed_data' and align to the
listw object?


       Thanks & regards,

*Amitha Puranik*
On Sat, May 25, 2019 at 9:49 PM Roger Bivand <Roger.Bivand at nhh.no> wrote: