Dummy variable for summer
Posted: Tue May 21, 2019 11:01 am
Dear all
I would like to know how can we include a dummy for all the summer months at once, since I can only do it for each year separately. For that I have used the following command:
With that I can have a dummy to mark the summer days for the year of 2009. My question is if there is a way to do this for all the years in a single dummy,
I thank you all in advance.
Yours sincerely,
Afonso Rodrigues
I would like to know how can we include a dummy for all the summer months at once, since I can only do it for each year separately. For that I have used the following command:
Code: Select all
summer=@date>@dateval("21/06/2009") and @date<@dateval("20/09/2009") I thank you all in advance.
Yours sincerely,
Afonso Rodrigues