corr_analysis {simts} | R Documentation |
Correlation Analysis Functions
Description
Correlation Analysis function computes and plots both empirical ACF and PACF of univariate time series.
Usage
corr_analysis(
x,
lag.max = NULL,
type = "correlation",
demean = TRUE,
show.ci = TRUE,
alpha = 0.05,
plot = TRUE,
...
)
Arguments
x |
A |
lag.max |
A |
type |
A |
demean |
A |
show.ci |
A |
alpha |
A |
plot |
A |
... |
Additional parameters. |
Value
Two array
objects (ACF and PACF) of dimension N \times S \times S
.
Author(s)
Yunxiang Zhang
Examples
# Estimate both the ACF and PACF functions
corr_analysis(datasets::AirPassengers)