logistic Treat xvar, iterate (100)
predict pscore
gmatch pscore, cal(0.1)
From the above, I can easily get matched group from the set variable.
But I want to apply nearest neighbor matching within a caliper of 0.001
I do not know how to apply the nearest neighbor and get matched group for running a regression on the matched group.
Could anyone please help me?
Related Posts with Nearest Neighbor Matching Group
GMM with Unit root dataHello, I have a question about the way I should treat unit root in unbalanced panel data analysis an…
Create a subsample - Conditional, weighted random draw of observations, with repalcementDear Statalisters I want to create a random subsample of my original sample; I am basically drawing…
"variable __000002 already defined" after regression commandWhether executed from the command line or from within the sytax file (do-file), I get, for the follo…
Value weighted returnsDear all, I am analysing stock returns for approximately 700 companies in Japan. My data is ordered…
Generating an ID based on multiple variablesHello Statalisters! I am working with the Birth Recode survey of the Demographic and health surveys…
Subscribe to:
Post Comments (Atom)
0 Response to Nearest Neighbor Matching Group
Post a Comment