Open bonStats opened 1 year ago
Well, that was a silly omission on my part. z
wasn't being added to the non-parametric formula for stan4bart models, so that the treatment was constant. Since that's probably a large reason to use the package, I've added it and (when applicable) the propensity score to the non-parametric component. They remain in the linear component. Should yield different results as of f84a1d1. I'll work on pushing that to CRAN in the near future.
I'm not sure how to access to
icate
andite
...As far as I can tell
extract(model, type = "icate")
andextract(model, type = "ite")
don't return the individual treatment effects, they are constant across individuals in this MWE:Is the above code working as intended? And why?
If so,
summary.bartcFit
should produce theicate
orite
for the CIs, is it possible to optionally output these as part of this function?