Dear Stata Users,
I have a dataset of WINDSPEED (value in the dataset below) for each Lat/Long combination for every month of 2023 starting from Jan till Dec (i.e.,for January the data starts with 90 Lat 0 Long combination and finishes at -90 Lat 359.75 Long combination then the data for February starts and so on.)
Is it possible to separate the Value variable according to Months for each Lat/Long combination.
I have a dataset of WINDSPEED (value in the dataset below) for each Lat/Long combination for every month of 2023 starting from Jan till Dec (i.e.,for January the data starts with 90 Lat 0 Long combination and finishes at -90 Lat 359.75 Long combination then the data for February starts and so on.)
Is it possible to separate the Value variable according to Months for each Lat/Long combination.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(latitude longitude value) 90 0 7.616347 90 .25 7.616347 90 .5 7.616347 90 .75 7.616347 90 1 7.616347 90 1.25 7.616347 90 1.5 7.616347 90 1.75 7.616347 90 2 7.616347 90 2.25 7.616347 90 2.5 7.616347 90 2.75 7.616347 90 3 7.616347 90 3.25 7.616347 90 3.5 7.616347 90 3.75 7.616347 90 4 7.616347 90 4.25 7.616347 90 4.5 7.616347 90 4.75 7.616347 90 5 7.616347 90 5.25 7.616347 90 5.5 7.616347 90 5.75 7.616347 90 6 7.616347 90 6.25 7.616347 90 6.5 7.616347 90 6.75 7.616347 90 7 7.616347 90 7.25 7.616347 90 7.5 7.616347 90 7.75 7.616347 90 8 7.616347 90 8.25 7.616347 90 8.5 7.616347 90 8.75 7.616347 90 9 7.616347 90 9.25 7.616347 90 9.5 7.616347 90 9.75 7.616347 90 10 7.616347 90 10.25 7.616347 90 10.5 7.616347 90 10.75 7.616347 90 11 7.616347 90 11.25 7.616347 90 11.5 7.616347 90 11.75 7.616347 90 12 7.616347 90 12.25 7.616347 90 12.5 7.616347 90 12.75 7.616347 90 13 7.616347 90 13.25 7.616347 90 13.5 7.616347 90 13.75 7.616347 90 14 7.616347 90 14.25 7.616347 90 14.5 7.616347 90 14.75 7.616347 90 15 7.616347 90 15.25 7.616347 90 15.5 7.616347 90 15.75 7.616347 90 16 7.616347 90 16.25 7.616347 90 16.5 7.616347 90 16.75 7.616347 90 17 7.616347 90 17.25 7.616347 90 17.5 7.616347 90 17.75 7.616347 90 18 7.616347 90 18.25 7.616347 90 18.5 7.616347 90 18.75 7.616347 90 19 7.616347 90 19.25 7.616347 90 19.5 7.616347 90 19.75 7.616347 90 20 7.616347 90 20.25 7.616347 90 20.5 7.616347 90 20.75 7.616347 90 21 7.616347 90 21.25 7.616347 90 21.5 7.616347 90 21.75 7.616347 90 22 7.616347 90 22.25 7.616347 90 22.5 7.616347 90 22.75 7.616347 90 23 7.616347 90 23.25 7.616347 90 23.5 7.616347 90 23.75 7.616347 90 24 7.616347 90 24.25 7.616347 90 24.5 7.616347 90 24.75 7.616347 end
Comment