tsa.stattools.pacf_yw()

statsmodels.tsa.stattools.pacf_yw

statsmodels.tsa.stattools.pacf_yw(x, nlags=40, method='unbiased') [source]

Partial autocorrelation estimated with non-recursive yule_walker

Parameters:

x : 1d array

observations of time series for which pacf is calculated

nlags : int

largest lag for which pacf is returned

method : ‘unbiased’ (default) or ‘mle’

method for the autocovariance calculations in yule walker

Returns:

pacf : 1d array

partial autocorrelations, maxlag+1 elements

Notes

This solves yule_walker for each desired lag and contains currently duplicate calculations.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tsa.stattools.pacf_yw.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部