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?
Calculating Standard Deviation of the ResidualsHi all, I ran an ECM and after this, I want to inspect the Standard Deviation of the Residuals plot …
How to check if variables in varlist are registered as regular or imputedI'm trying to write a loop that iterates through every single variable in a varlist and performs dif…
Endogeneity in non-structural modelingHello Stata users, Can you pleas tell me how we can adress endogeniety in non-structural modeling? …
how to run a DEA meta frontière in stata?I want to implement a meta boundary model to take into account the specificity of each group in the …
Create a table with sectoral share valuesDear all, I am currently working with a dataset that contains information on quarterly gross value …
Subscribe to:
Post Comments (Atom)
0 Response to A package for Nearest Neighbor estimation with panel data?
Post a Comment