Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to programmatically identify an ARIMA model for a series of data and forecast values.

Currently the problem i am facing is to find a way to evaluate partial autocorrelation. I have been looking for methods to calculate PACF for quite a long time now but in vain.

Please provide some online resources which can help me in this matter.

Thank you.

share|improve this question
up vote 3 down vote accepted

Use the Durbin-Levinson algorithm. It will be explained in any good time series book such as Brockwell and Davis. Here are some online explanations:

share|improve this answer

You may also be interested in the 'auto.arima' function in the forecast package for r as an example of a way to programmatically identify ARIMA models. It probably doesn't find the model in the exact same way you would, but some of the code/ideas might be useful to you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.