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
Combination of If and or ClausesHey there, I am original a python programmer and must use Stata to access the Data of a research Ins…
Need help on predicting a value of dependent variableHi, I've recently started learning statistics. On stata, how can I get the predicted value of a depe…
Appending files in folderDear all, I am struggling for appending files in a folder. Now I have multiple datasets such as ho…
returnsyh command donwloads historical data for any ticker with historical data in Yahoo - ErrorHi, I am getting the following error with returnsyh command donwloads historical data for any ticke…
Create a new variable using external dataHello, I have a dataset that look like the following year province familysize 2009 BC 2 2009…
Subscribe to:
Post Comments (Atom)
0 Response to Nearest Neighbor Matching Group
Post a Comment