Hello. I'm trying to estimate an effect using panel data with three time periods (0, 1 and 2). Time 0 contains pre-treatment information.
I have very few treated observations so that propensity score estimation is not very good. I'm instead trying to use a nearest neighbor matching.
The package nnmatch, when used on longitudinal data, matches neighbors in every time period and runs regressions as if estimating a cross-section in every t.
What I which is to use time 0 data to establish the matches using the treatment status for the unit (so that if a unit is treated only on T=2, it is considered treated in 0) and then run a fixed-effects estimation using the neighbors established at t = 0.
I don't seem to find a package that is able to perform this estimation (NN) using longitudinal data... The biggest problem of doing it manually is related to inference (robust and clustering). Is anyone familiar with such a package?
Thanks in advance
Related Posts with A package for Nearest Neighbor estimation with panel data?
Creating a new variable based on frequency of string values in varlistThis might be a basic question but I've been trying to create a variable to count the frequency of s…
Industry Dummy Variables - Grouping them togetherDear All, I have a panel data set that contains around 150 companies, covering a period of 15 years…
Course: Practical use of multiple imputation to handle missing data in Stata. London, 25–26 Feb 2020We will next run our 2-day course on “Practical use of multiple imputation to handle missing data in…
Business CalendarHey everybody, I'm trying since a long while to change my daily data to business calendar data. Acco…
Stata speed when using i7 vs. i9 (vs. perhaps Xeon)Hello all, if I keep RAM constant at around 32GB, what sort of speed increase in Stata analysis (say…
Subscribe to:
Post Comments (Atom)
0 Response to A package for Nearest Neighbor estimation with panel data?
Post a Comment