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?
Outreg2 titles and panelsDear Stata wizards, I am replicating stata results from a paper and I am unsure how to add "sub col…
More efficient way to moss p_name, match("([0-9])") regex in a very large dataset?Good morning, I need to find the first instance of [0-9] in a string. I tested the following and it …
Controlling for time vs. clustered/robust SEConducting a regression on panel data using xtreg... can someone help me out with the theory behind …
Create new Variable: Migration flowsHi, I have a dataset in long form with the variables country of origin, destination country, stock …
Small Variance estimating coefficientsI would just like to confirm my understanding is correct. I am running a panel regression. One of m…
Subscribe to:
Post Comments (Atom)
0 Response to A package for Nearest Neighbor estimation with panel data?
Post a Comment