Hello,
I am interested in assigning a treatment to a firm if it was domestic (foreign=0) in year 2003 and foreign (foreign=1) in 2004. All firms for wich this criterion holds should be counted as treated (for alle years). However, a problem is the fact that this implies that each firm has to be evaluated on two consecutive rows. A further problem is that firms are not always available for all of this years. I am not having an idea how to approach.
Further the dataset contained 35000 firms s.t. it is impossible to go through it by hand.
Thank you very much in advance.
Related Posts with Panel Data - treatment*for group data based on within group characteristics
Create an HHI index at quarterly-yearly and yearly level Code: * Example generated by -dataex-. To install: ssc install dataex clear input int year byte qu…
Goodness of Fit in IVregress with clustered SEDear all, I'm running an IV regression with clustered SE. Since my outcome variable is a cell mean,…
Difference between survival rates at specific time point with respective confidence intervalsDear Statalist, I am interested in calculating the difference between the survival rates of two grou…
Different result count and tabulate commands, why?Hello, I have a question, maybe a bit basic, but I did not find the solution yet. I used the 'count…
Insufficient observations when running panel dataHello all, I have a question I am trying to run a linear probability model with the following comman…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data - treatment*for group data based on within group characteristics
Post a Comment