monotone_bart_function: Monotone Bart

View source: R/mono_bart.R

monotone_bart_functionR Documentation

Monotone Bart

Description

Implements bart with a monotonicity constraint, i.e. $b_1(x)> b_0(x)$ However, the monbart package does that natively so this is deprecated It is still here if anyone wants to see the source code

Arguments

y

observed outputs

z

1 if y==0, 0 o.w.

x

Dataframe of covariates

xpred

Dataframe of covariates we predict on (the test set)

nskip

Number of burn in draws

ndpost

Number of posterior draws we keep

m

Number of trees

Examples

monotone_bart_function()

demetrios1/Causallysensitive documentation built on Nov. 18, 2022, 5:27 p.m.