Learn R Programming

prophet (version 1.1.7)

.sampling: Obtain the joint posterior distribution of the parameters of the Prophet model using MCMC sampling.

Description

Obtain the joint posterior distribution of the parameters of the Prophet model using MCMC sampling.

Usage

.sampling(args, backend)

Value

A named list containing "stan_fit" (the fitted stan object), "params", and "n_iteration"

Arguments

args

Named list of arguments suitable for the chosen backend. Must include arguments required for MCMC sampling.

backend

"rstan" or "cmdstanr".