Dear All,
I am using propensity score matching to match observations in current year with observations in prior year based on some characteristic variables. I searched online and found that there is a [in range] option for both pstest and psmatch2.
http://repec.org/bocode/p/psmatch2.html
http://fmwww.bc.edu/repec/bocode/p/pstest.html
But I could not find any examples using the [in range] option.
If I simply put a number to indicate the starting observation, such as
psmatch2 X1 X2 X3 in 1000, out(Y) common
X1 is the main explanatory variable, X2 and X3 are control variables, Y is the outcome variable
Stata shows "insufficient observations"
If I put two numbers or "-" between the numbers
psmatch2 X1 X2 X3 in 1000 2000, out(Y) common
Stata shows "invalid '2000' "
psmatch2 X1 X2 X3 in 1000-2000, out(Y) common
Stata shows "'1000-2000' invalid observation number"
Could anyone teach me how to correctly specify the range in propensity score matching? Many thanks!
Related Posts with Specify Range in Propensity Score Matching
xtmelogit CodeI am using stata v 11, and trying this code , xtmelogit N1 i.HW3 i.m18n i.Bm11 i.V212 i.Vm445 i.Mn14…
'invalid name' error in logit MLE programIf anyone can help it would be great. I'm trying to do a logistic MLE. I've written an ado with the …
Multi level modelling cross level analysisI want to examine the effect of educational attainment(xvar) on prejudice(yvar) (both 1. level varia…
Converting string to date: missing values generatedNew to STATA and have searched responses to others with this issue but can't resolve my own instance…
Fama MacBeth model - factor loadings: asreg with fmb omits coefficientsDear all, I would like to get the loadings of various factors (i.e. their beta coefficients) influe…
Subscribe to:
Post Comments (Atom)
0 Response to Specify Range in Propensity Score Matching
Post a Comment