Hello!
I'm a PhD student and relatively new to Stata. I have medicaid data, and I am assessing for overexposure to certain medications. I need to create variables for expected 90th, 95th, and 97th growth curve weights based on the child's age in months. I could do this with a series of -replace...if- statements, but I'm wondering if there is a less time consuming way to do this. I think an if loop would help me, but I can't figure out how to do this. Can anyone help?
Related Posts with if loops?
Roc analysis?Hi, i have a dataset of nearly 500 observations (and more than 100 variables for each obs). For each…
Time series with seasonalityDear Statalists, Please, I would really appreciate your help in my analysis. I am working with hou…
Stata CourseHi, i'm a physician and i am interested in attending a course of biostatistics, based on stata softw…
Multivariate probit model-->constant term missing standard errorsHi, I am running a multivariate probit model to assess the music consumption habits of a sample of …
Backing out the level variable from a first-differenced logHi I have a variable that is only available in my dataset as first-differenced log variable (dtfp, w…
Subscribe to:
Post Comments (Atom)
0 Response to if loops?
Post a Comment