Hello everybody,
I am trying to create a dummy variable that is equal to one of current rainfall in a given district (avgrf) is one standard deviation below or above the historical mean of rainfall in that district (lravgrf). I also want to create a dummy equal to one if the current rainfall falls within the range of one standard deviation.
Does anyone have any suggestions on how to do that?
Best, Jérôme
Related Posts with Creating dummy variable equal to one if current mean is one standard deviation above/below the historical mean
ARDL ECM bounds testHi, I have selected optimal lags for an ARDL with two variables, plus impulse dummies (time series)…
Forestplot using the metan commandHi, How can I create a forestplot using the metan command, in which the x range will be from 0.4 to…
Eurobarometer and only look at varibles in one countryHi! I have an assignment where I would like to use Eurobarometer. What I want to do is to only look…
LoopsI have a panel dataset with 26 countries and I want to create the below variables in order to do a t…
Different coefficients with XTREG and REGHDFEDear all. My name is Carlos and I am working in a gravity model with 133 countries in a time period…
Subscribe to:
Post Comments (Atom)
0 Response to Creating dummy variable equal to one if current mean is one standard deviation above/below the historical mean
Post a Comment