fit_meanvar | R Documentation |
Fit a model for mean and variance
fit_meanvar(x, tau, ...)
x |
A time series |
tau |
a set of indices representing a changepoint set |
... |
currently ignored |
In a mean-variance model, both the means and variances are allowed to vary
across regions.
Thus, this model fits a separate \mu_j
and \sigma_j
for each
region j
.
A mod_cpt object.
changepoint::cpt.meanvar()
Other model-fitting:
fit_lmshift()
,
fit_meanshift()
,
fit_nhpp()
,
model_args()
,
model_name()
,
new_fun_cpt()
,
whomademe()
# Fit a mean-variance model
fit_meanvar(CET, tau = c(42, 330))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.