Dear All,
I am working on a quasi-experimental study with a large unbalanced panel dataset. This is the specification that I use.
Y_it= β_1 Post_it + δi + γt+ u_it where Post_it is the value of treatment for individual i at week t, and δi and γt are individual and time fixed effect parameters that are estimated.
Here comes my concern. When t =1, I have only 10.000 individuals in sample, and the number gradually increases to 50.000 over time. That is to say, many individuals only have observations in later periods of the sample. Is there an issue if I use all observations to estimate the equation? The value of dependent variable is decaying over time and therefore using calendar time fixed effects might not be enough. Do you have any suggestions?
Related Posts with Difference in differences with changing sample
renaming using loop Code: * Example generated by -dataex-. To install: ssc install dataex clear input str43 Q2_8a1 dou…
How does one put formatted date labels into excel with Putexcel?*Hi there, Here's my code: local vars "date" foreach pre in `vars'{ putexcel set "tabout/cleaning…
creating a variable that takes a value of the difference of the last non-missing value and the first non-missing value in panel datai have panel time series. I want to create a variable that is the difference between the last non-mi…
Binscatter2 - faster, enhanced binned scatterplots in StataHi all, I wanted to make note of a program that I've had available on GitHub for a while now to gen…
Extracting a specific part of a string if the string contains an exact syntaxOK, so I'm not explaining this very well but here is what I want to do. I have data as shown below. …
Subscribe to:
Post Comments (Atom)
0 Response to Difference in differences with changing sample
Post a Comment