Hi Stata users,
I have available dataset and I need to divide it into two. The given analysis I am trying to solve is the difference-in-difference, and I want to divide the dataset in 2 groups, the treatment group and the control group, and I want to do this for the pre-treatment period in order to be able to do the analysis for the treatment period. How can I do this, and is my approach appropriate? Thank you in advance
Related Posts with Dividing the data in two groups
Changing datesHow can I change a date format in Stata for from this format 06/12/2021 to this format 06-12-2021 …
Margins from a mixed model with a log-transformed outcomeI run a mixed model of a log-transformed outcome using ‘mixed’ (and the dfmethod(kroger) option with…
Wald test for trendsHi! I'm new to STATA. I came across a paper that reported a Wald-test for trends p-value along with …
Panel data modelHi, I have a panel dataset whereT=10 and N=77 and found the problem of heteroscedasticity, autocorre…
mean +/- 2 stdDear Statalist, I am dealing with a variable that it is in between 0-1 (taking any possible value wi…
Subscribe to:
Post Comments (Atom)
0 Response to Dividing the data in two groups
Post a Comment