Hi. I am trying to use the teffects to implement matching using Nearest Neighbor Matching. The stata syntax is:
teffects nnmatch (ovar omvarlist) (tvar) if in weight , stat options
I have almost 20 variables in the model and I don't want to use all of them for matching. If I put all variables in omvarlist, I am assuming the method will use all variables to find nearest neighbors. Is there any way to use some covariates for matching (step 1) and others for the regression (step 2). Appreciate any suggestions.
Also, on a related note, do you know if NNM prunes/imputes any observations from the data to find matches.
Thanks
Rajat
Related Posts with teffects and covariates for matching.
python integration, "Unable to find shared library."Hi Statalist, I am trying to integrate python with Stata. I am running into a pair of errors, the s…
calculate standard errors for predicted rates (uncertainty)Dear STATALIST, I want to calculate the uncertainty of a model and need to calculate standard error…
Lagged difference in DF testDear members, I was performing the DF test on a AR(1) model, I was firstly trying dfuller nilemax,…
Orindal outcomes for propensity score matchingFor psmatch2, is it possible for the outcome variable to be an ordinal outcome? For example, in onco…
Long to wide formatStatlist, I am trying to convert my data from long to wide. However, I get the error "too many time…
Subscribe to:
Post Comments (Atom)
0 Response to teffects and covariates for matching.
Post a Comment