tsa.stattools.pacf_ols()

statsmodels.tsa.stattools.pacf_ols

statsmodels.tsa.stattools.pacf_ols(x, nlags=40) [source]

Calculate partial autocorrelations

Parameters:

x : 1d array

observations of time series for which pacf is calculated

nlags : int

Number of lags for which pacf is returned. Lag 0 is not returned.

Returns:

pacf : 1d array

partial autocorrelations, maxlag+1 elements

Notes

This solves a separate OLS estimation for each desired lag.

© 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_ols.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部