Hi everyone, I am wondering how to find the matched observation with nearest Mahalanobis distance.
Saying I have 50 schools (50 rows in my data) , with 5 continuous variables(X1-X5) in each row , indicating the 5 aspects of each school.
I chose 10 schools,saying A1-A10, as the treated school from the 50 schools randomly.
Then I would like to find the corresponding matched school (saying B1- B10) for each treated school .
For each pair of schools , they have the nearest Mahalanobis distance in terms of the 5 aspects of the school,X1-X5, meaning that the distance( with regard to X1-X5) is the nearest between B1 and A1 than the distance between any other school and A1.
How could I find all the matched schools ?
Thank you~
Related Posts with How to find the matched observation with nearest Mahalanobis distance?
Women wage dataHello! Can anybody help me how can I download the sample data of heckamane "women wage data"? Thank …
how to create equal sample size for all the regressionsHi, I have a panel data and will need to run several regressions that involve different dependent an…
Time invariant variables fixed effect modelHi, I have a panel dataset and I intend to run a fixed-effect model. I am having issues with one va…
How to perform this propensity score matchI have a panel data and want to examine the relation between the passage of legislation (LawDummy, i…
Can I use diff-in-diff for my research setting?I want to use the legislation adoption at the state level to perform a diff-in-diff in my panel data…
Subscribe to:
Post Comments (Atom)
0 Response to How to find the matched observation with nearest Mahalanobis distance?
Post a Comment