Dear Users,
I am investigating the impact of Climate variability on farming practices using a fixed effects regression in Stata. I have annual rainfall data for each household_id in each year of my panel data set, with each wave differentiated by a WaveIndicator variable.
I am looking to create a coefficient of variation (CV) for my AnnualRainfall variable to act as a value of climate variability in my study, but was unsure how to go about generating this variable in Stata?
Any help would be greatly appreciated!
I am investigating the impact of Climate variability on farming practices using a fixed effects regression in Stata. I have annual rainfall data for each household_id in each year of my panel data set, with each wave differentiated by a WaveIndicator variable.
I am looking to create a coefficient of variation (CV) for my AnnualRainfall variable to act as a value of climate variability in my study, but was unsure how to go about generating this variable in Stata?
Any help would be greatly appreciated!
Comment