Hi all,

I am using the
HTML Code:
spmon
command to generate the spatial lag term. However, I am not able to generate the variable -- I can't find it. I'm not sure if it's the command or me that unable to do this.

This is what I did:

HTML Code:
ssc install spmon

spmon lbilateral, w(kmdist) i(ccodecow)  k(ccodecow2) time(year) labelname(spatiallag_bilateral) filename(SE_file_monadic_norowst) norowst
I basically followed the instructions here: http://www.lse.ac.uk/website-archive...yer/spmon.aspx
But there must be something that's wrong. Do you have any suggestions as to how I can merge that variable into my data?

Best