Good morning,
I would like to evaluate an effect of a shock (my treatment, let's call T) in a variable (Y) using X as my covariate (a binary variable), using a propensity score matching. I would like to do the following:
1) Estimate the propensity score using a Logit model
2) Apply a matching algorithm (kernel matching) using the differences in the propensity score.
I have been looking and I have found two ways to do it in stata: psmatch2 and kmatch.
With psmatch2, I will do in this way: psmatch2 T, outcome(Y) pscore(X) kerneltype(uniform) logit
With kmatch, I will do in this way: kmatch ps T X (I am not sure where to put the outcome with this command)
Do I am doing well with psmatch2?
On the other hand, I would like to ask you (probably it is a bit theorerical question more than a question of using stata) if it is possible to add time fixed effect (year) and country fixed effect in this strategy?. If so, so have I to include them in pscore?
Best,
Diego.
Related Posts with Propensity score matching
Distribution of frequency of a unique variableHi everyone I am relatively new to STATA. I have the following problem I cannot solve: Given my dat…
Significant difference between two metric variablesWe have made a pre-test and asked respondents to evaluate the direction and strength of 7 arguments …
Define a dummy with overlapping periodsDear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
Cross-sectional regressionDear all, I would like to get the residual of cross-sectional regression for every industry-year com…
Parallel trends graph for staggered difference-in-differencesMost papers that use staggered difference-in-differences seem to use regression evidence instead of …
Subscribe to:
Post Comments (Atom)
0 Response to Propensity score matching
Post a Comment