predict.bagged.causalMARS: Make predictions from a bag of fitted causal MARS models

Description Usage Arguments Value

Description

Make predictions from a bag of fitted causal MARS models

Usage

1
2
3
## S3 method for class 'bagged.causalMARS'
predict(object, newx, type = c("average", "all"),
  ...)

Arguments

object

a fitted bagged.causalMARS object

newx

matrix of new covariates for which estimated treatment effects are desired

type

type of prediction required: 'average' returns a vector of the averages of the bootstrap estimates. 'all' returns a matrix of all of the bootstrap estimates.

...

ignored

Value

a vector of estimated personalized treatment effects corresponding to the rows of newx


saberpowers/causalLearning documentation built on May 30, 2019, 8:26 a.m.