monotone_bart: Monotone Bart

monotone_bartR Documentation

Monotone Bart

Description

Implements bart with a monotonicity constraint, i.e. $b_1(x)> b_0(x)$

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

n

Number of observations

Examples

monotone_bart()

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