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
Exporting sts list data?Hi, Does anyone know how to export sts list data using putdocx or other means -- without having to …
Collinarity in Fracreg analysis and collin commandDear statalisters, I am writing you because I am using fractional logistic regressions for my analy…
how to calculate cumulative observation for a certain time interval, like 10 years?Hi Guys: i am new here. I have a dataset that records two states and if they had militarized dispute…
How to loop over a merge of inconsistent variables over timeDear StataList. I need to merge two sets of data (partner + respondent) per wave for many waves. Th…
Labelling values by importing information from .csv fileHello, We collected survey data on over 12,000 respondents across several hundred districts. The dis…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data - treatment*for group data based on within group characteristics
Post a Comment