predict.causalMARS: Make predictions from a fitted causal MARS model

Description Usage Arguments Value

Description

Make predictions from a fitted causal MARS model

Usage

1
2
## S3 method for class 'causalMARS'
predict(object, newx, active, ...)

Arguments

object

a fitted causalMARS object

newx

matrix of new covariates for which estimated treatment effects are desired

active

indices of columns with nonzero norm (defaults to model selected via backward stepwise phase, or the full model if backstep = FALSE)

...

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.