Treatment and propensity score (when applicable) are now added to parametric model. Thanks to Joshua Bon for noticing their absence.
BUG-FIXES
summary now correctly computes SATE.
summary now correctly computes sub-group averages.
Propensity score samples correctly stored for stan4bart models.
CHANGES IN VERSION 1.0-5
NEW FEATURES
bartc now accepts a seed argument that yields reproducible results, even when running with multiple threads and multiple chains.
New parametric argument to bartc allows for arbitrary linear and multilevel models. Requires the stan4bart package to be installed.
BUG-FIXES
Now works with response models in "tmle" and"p.weight" when p.scoreAsCovariate is FALSE.
Correctly summarizes the number of samples when n.chains = 1.
sumamry now correctly computes variance expansion for PATE with weighted observations.
summary correctly drops observations from averages when common support rules are being used. Bug report thanks to Marcela Veselkova.
CHANGES IN VERSION 1.0-4
NEW FEATURES
predict now accepts as options "mu" and "y" for when the user-supplied newdataobject already has a valid treatment assignment.
USER-VISIBLE CHANGES
Default type argument for predict is now "mu".
bartc argument crossvalidateBinaryrenamed to crossvalidate. Accepts one of TRUE,FALSE, "trt", or "rsp". This feature is experimental and discouraged from use.
Confounder expressions that can evaluate successfully in the calling environment but yield a warning are now treated as if they threw an error.
summary for models fit with group.effects asTRUE will use the level names of the grouping factor when reporting the sub-group estimates.
BUG-FIXES
"ite", "sate", "y.0", and"y.1" for generics now returns correctly. Report thanks to Bryan Keller.
CHANGES IN VERSION 1.0-3
NEW FEATURES
Confounders can be passed in as literals when usingdata argument. This can be of assistance in using complicated formulae with many variables.