Description Usage Arguments Value
Make predictions from a fitted causal boosting model
| 1 2 3 4 | 
| object | a fitted  | 
| newx | matrix of new covariates for which estimated treatment effects are desired | 
| newtx | option vector of new treatment assignments
(only used if  | 
| type | type of prediction required: 'treatment.effect' returns estimated treatment effect. 'conditional.mean' returns two predictions, one for each arm. 'response' returns prediction for arm corresponding to newtx. | 
| num.trees | number(s) of shallow causal trees to use for prediction | 
| honest | logical: should honest re-estimates of leaf means be used for
prediction? This requires that  | 
| naVal | value with which to replace  | 
| ... | ignored | 
a vector or matrix of predictions corresponding to the rows of
newx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.