![]() ![]() #1 Matchbalance provides a smd of 0.11.317 for the covariate "age" # Let's check the covariate balance in three different ways ![]() U74 + u75, family=binomial, data=lalonde) Glm1 <- glm(treat~age + I(age^2) + educ + I(educ^2) + black + Or do I need to consider this an error in MatchBalance? (which seems unexpected to me as it has already been around for quite some time) #install.packages("Matching") Is the "std mean diff" listed in MatchBalance something different than the smd? (and if yes, how can it be interpreted?) While calculating by hand produces a smd of 0.009(which is the same as produced by the smd and TableOne functions in R), the MatchBalance comes up with a standardized mean differences of 11.317(more than 1000 times as large. See below two different ways to calculate smd after matching. Calculating it by hand leads to sensible answer, yet this answer is not in line with the calculated smd by the MatchBalance function in R. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |