Hi All!
Could anyone help me?

I have monthly data from 2007-2017 with monthly average temperature for 100 stations located in some counties. I have a total of 300 counties. I want to do IDW to calculate the monthly average temperature for all the 300 counties. I want to code this IDW using the three closest stations from each county centroid. And also for the 3 closest up to 50 km.

I have no idea how to do this with my panel data with 11 years, 12 months each and 300 counties in Stata. Is it possible to do so in Stata?


Cheers!