Closed sherwinkuah closed 11 months ago
Hi, that looks like a bug, which I'll fix shortly. In the meantime, you can always use the formula interface to bal.tab()
, which is only a tiny bit more cumbersome:
bal.tab(treatment ~ sex + age ,
data = psdf,
estimand = "ATT",
focal = "treat1",
weights = m)
Appreciate so much for the prompt reply and fix! Super helpful :) It works for me now.
Hello Noah! When I try to use the functions bal.tab or love.plot on an output from twang::mnps, it gives the following error. My treatment variable has 5 categories and is a factor. Could you advise on this?
Code that I ran:
Versions
Thanks in advance, let me know what other info i can provide!