to_pacf | R Documentation |
This function computes the partial autocorrelation function from an estimated autocovariance or autocorrelation function.
to_pacf(estCov)
estCov |
A numeric vector representing an estimated autocovariance or autocorrelation function. |
This function is a translation of the 'uni_pacf' function in src/library/stats/src/pacf.c of the R source code which is an implementation of the Durbin–Levinson algorithm.
A vector whose values are an estimate partial autocorrelation function.
X <- c(1, 2, 3)
to_pacf(standard_est(X, pd = FALSE, maxLag = 2, meanX = mean(X)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.