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
Multi level panel data regression comparing alternativesHi everyone, I'm interested in analyzing a state level policy when I have school level data (with s…
Merge a variabel into another datasetHello all, Attached below is a simple example I have made up so I can fully understand this: Lets s…
How to regress return difference between different periods?Dear stata users, I am now regress anomalies of the long-short strategy during different investor …
Removing trailing dashes in the stringHello! I am extracting zip codes from the string variable called adr by using the following command…
Generate dummy variables using loopsHi everyone, I am trying to generate a set of dummies for two variables (using the same set of dumm…
Subscribe to:
Post Comments (Atom)
0 Response to Dividing the data in two groups
Post a Comment