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
access to the full set of parameters of one single equationDear Statalist, I have a simple question regarding how to get access to the full set of parameters …
maximum command in stata> Dear Sir or Madam, > > I tried to use ml maximize command in Stata. > But I receive…
How to Perform a Poolability Test in StataDear Users, I wish to perform a Chow's Poolability test using Stata as part of my preliminary analy…
Is there any way of using psacalc within a loop?I am running a fixed effects model using the -areg- command. Using Emily Oster's -psacalc-, I am loo…
Restricting data of patient ID to perform 1 test at a time rather than all of themGood Afternoon, If anyone could give me advice I would really appreciate that. I know it is going t…
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