# Mahalanobis Distance for Continuous and Ordinal Covariates

My dataset of home sales includes covariates such as square_feet which are continuous and others like num_bedrooms which are in [1, 2, 3, 4, 5, ...]. Is it kosher to match units with the Mahalanobis distance between their covariates, or is there another metric I should consider? My textbook on matching uses vanilla Mahalanobis on ordinal data, but the range is [9,10,...,~30].

• What is the purpose of your matching? Is it to estimate a causal effect?
– Noah
Jul 1 '20 at 18:41
• @Noah Yes, to estimate a causal effect Jul 1 '20 at 19:58