Hello all,
I want to do something pretty theoretically simple (that I used to do myself, but have completely blanked on how to do). I have a panel data set, and I want to create quartiles based on the value of the outcome variable in the period before treatment. The point is to track whether treatment affected units in different quartiles differently, so I want the value of the quartile variable to be the quartile on the period before treatment in all periods (for all observations within a unit). I don't want to create quartiles per period, I want to create quartiles in one period and get the quartile in that period to show as the value of the quartile variable across all periods.
Thank you in advance for any help provided. I don't include a data sample because I don't think it's necessary as this is a general question, but I can add one if need be.
Related Posts with Creating quartiles on a panel data set based on a variable's value in one period
Event study - sorting groups and assigning estimation windowsHello Statalist! Since my last post didn't get any answers, im trying with the help of the FAQ to c…
Difference in Differences with propensity score matching for repeated cross sectional surveysDear Statalisters! I'm pretty new to Statalist and found a lot of posts regarding DID and PSM, but n…
Saving error messageHi all, I am using a plug-in called traj from https://www.andrew.cmu.edu/user/bjones/strtxmpl2.htm.…
Mixed command and random effectsHi. I have data on 600 participants at 5 time points with 2 measurements at each time point for aver…
Gini decomposition by subgroups - ineqdec0Hi everyone, I am estimating the monetary value of in-kind benefits (like education) to be added to …
Subscribe to:
Post Comments (Atom)
0 Response to Creating quartiles on a panel data set based on a variable's value in one period
Post a Comment