Learn R Programming

EstemPMM (version 0.1.1)

compare_ar_methods: Compare AR methods

Description

Compare AR methods

Usage

compare_ar_methods(x, order = 1, include.mean = TRUE, pmm2_args = list())

Value

A named list containing the fitted objects for each estimation approach (e.g., YW/OLS/MLE or CSS/ML alongside PMM2) plus two data frames: coefficients (side-by-side parameter estimates) and residual_stats (residual RSS, MAE, skewness, and kurtosis).

Arguments

x

Numeric vector of time series data

order

Model order specification (see ts_pmm2 for format)

include.mean

Logical, whether to include intercept term

pmm2_args

List of additional arguments to pass to ts_pmm2()