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.
generate t-statHow can we modify this code to generate t-stat of the means instead of standard deviation (sd), and …
Assuming ICCHello everyone, This is my first post here. I need icc for power calculation. I have outcome variabl…
spatial weight matrixHello, As part of my research, I want to build a spatial weight matrix. I want a variable that shows…
Transform a table: making options as variableDear all, I have this type of table: ID Date Culture ID Culture type Sample result 1 1 Jan 202…
How to store p-value and CI in a new variable in prais-winsten regression?Hi! I'm new to Stata! I have a database model as shown below (hypothetical data). When running Prai…
Subscribe to:
Post Comments (Atom)
0 Response to teffects and covariates for matching.
Post a Comment