to_pacf: Computes the Standard Estimator of the Autocovariance...

View source: R/standard_est.R

to_pacfR Documentation

Computes the Standard Estimator of the Autocovariance Function.

Description

This function computes the partial autocorrelation function from an estimated autocovariance or autocorrelation function.

Usage

to_pacf(estCov)

Arguments

estCov

A numeric vector representing an estimated autocovariance or autocorrelation function.

Details

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.

Value

A vector whose values are an estimate partial autocorrelation function.

Examples

X <- c(1, 2, 3)
to_pacf(standard_est(X, pd = FALSE, maxLag = 2, meanX = mean(X)))

CovEsts documentation built on Sept. 10, 2025, 10:39 a.m.

Related to to_pacf in CovEsts...