bikes_bart: Notebook generator: BART

Description Usage Arguments Details

View source: R/bike_nb_BART.R

Description

Generates a notebook for a BART model using the bikesharing data.

Usage

1
2
3
4
5
6
bikes_bart(
  agc = list(1, 200, TRUE),
  include_intercept = FALSE,
  nrep = 10000,
  nburn = 5000
)

Arguments

agc

List of atomic prediction generation controllers. The first element of the list gives the starting time (ie what observation is considered as t = 1), the second element is the minimum window length used for estimation, and the third one is a boolean indicating if the estimation window is rolling or not.

include_intercept

Whether to include an intercep in the design matrix or not. Defaults to FALSE since the intercept breaks the function

nrep

Number of MCMC draws (after burn-in)

nburn

Number of burn-in draws

Details

Uses default settings in dbarts. Is unstable.


ooelrich/oscbvar documentation built on Sept. 8, 2021, 3:31 p.m.