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
Turning point for quadratic and interaction termsHi, I used dynamic panel estimation model - GMM to examine the relationship between institutions an…
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
DWatson in Panel DataHi all, I have a panel dataset of 100 companies throughout a 72 month period (each company recorded…
How should I keep only observations with consecutive data around certain events without missing values in some varsHi, I'm a new one to this forum, and I wanted to ask for some help regarding a (maybe naive) questi…
Using mi estimate with any commandThe formulas implemented by -mi estimate:- apply to any efficient estimator, but -mi estimate:- only…
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