Dear all
I have daily minimum and maximum temperature data from 697 weather stations across 311 districts.
For each district i in month m of year t, I need to aggregate the daily temperature data into two threshold-based heat stress variables which are (1) growing degree-days GDD and (2) stress degree-days or SDD.
The GDD and SDD variables are defined as follows
Array
Where Tlow and Thigh are the maximum and minimum temperature in oC for district i on day d of month m and year t.
Tlow is the lower threshold and takes the value of 10, Thigh is upper threshold and takes the value 30 and Tk takes the value 35
GDDimt is heat accumulated within temperatures Tlow and Thigh and SDDimt is heat accumulated above Tk.
Any suggestions how to implement these specifications?
Related Posts with Generate variables to capture heat stress
Estimate whether coefficient of different models are JOINTLY equal to zeroDear network, I have 10 independent variables (x1, x2, x3, x4, x5, x6, x7, x8, x9, and x10) and fiv…
DiD Regression with panel data measuring two factors before and after treatmentHi all! I'd appreciate some help on trying to run a regression through Stata. I am relatively new to…
Problems with controls and fixed effects in DIDHi, I'm currently using triple difference to analyse the effect of minimum marriage age legislation…
Panel Data Regression: reg vs xtregHello Everyone, I have a panel data that I am trying to make a regression for and I am confused whi…
SEM - insignificant direct path vs. significant indirect pathsDear Forum, I am conducting SEM analysis in Stata and I have specified a well-fitting measurement m…
Subscribe to:
Post Comments (Atom)
0 Response to Generate variables to capture heat stress
Post a Comment