Hi, I am relatively new to STATA. I have cross sectional data on property transactions over a long period of time. I'd like to generate a new variable, that is the mean (and other measures) of nearby prices of recently sold properties.....so basically, for each property, I have a listing date (the date the property is put on the market), I would like to work out the average transaction prices (on the sold date) of nearby properties in the same neighbourhood (I have a variable on this) that were sold within three months of that listing date.....
I found this thread: https://www.statalist.org/forums/for...-a-time-period
Which is similar to what I wanted to do, but in my case,for each observation, the number of nearby recent transactions can be any number.....
hope someone could help. Thank you.
I found this thread: https://www.statalist.org/forums/for...-a-time-period
Which is similar to what I wanted to do, but in my case,for each observation, the number of nearby recent transactions can be any number.....
hope someone could help. Thank you.
Comment