bikes_regression: Notebook generator: Bayesian regression

Description Usage Arguments Details Value

View source: R/bikes_nb_regression.R

Description

Generates a notebook for a Bayesian regression model using the bikesharing data. Uses the log scale version of the data.

Usage

1
bikes_regression(xxx = 1, agc = list(1, 60, FALSE))

Arguments

xxx

Dummy argument to get parallelisation runinng quick...

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.

Details

rstanarm default. Approximates the predictive distribution with a normal distribution

Value

A data frame with predictions (predictive means and log predictive densities) for collection of time points, toghether with the true outcome.


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