sparse_ar: Sparse AR Model with Auto-Selected Coefficients

Description Usage Arguments Examples

View source: R/sparse_ar.R

Description

Sparse AR Model with Auto-Selected Coefficients

Usage

1
sparse_ar(x, p_max = 30, pct_ci = 0.95, margin = 0)

Arguments

x

A time series object

p_max

The maximum number of coefficients to be compute

pct_ci

What percentage of confidence interval to be used for coefficient consideration.

margin

An additional margin to increase sparsity.

Examples

1
2
3
data <- base_impute(bee.data[1:100], impute_col = "TOTAL_COUNT")
x <- data$IMPUTED_VALS
model <- sparse_ma(x)

chaosreader/stat_6550_group_project documentation built on Dec. 19, 2021, 3:01 p.m.