theo_pacf | R Documentation |
This function computes the theoretical Partial Autocorrelation (PACF) of an ARMA process.
theo_pacf(ar, ma = NULL, lagmax = 20)
ar |
A |
ma |
A |
lagmax |
An |
Yuming Zhang
# Computes the theoretical ACF for an ARMA(1,0) (i.e. a first-order autoregressive model: AR(1))
theo_pacf(ar = -0.25, ma = NULL, lagmax = 7)
# Computes the theoretical ACF for an ARMA(2, 1)
theo_pacf(ar = c(.50, -0.25), ma = .20, lagmax = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.