Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Model selection is the process of comparing several models and their respective results to choose the model is best according to some evaluation metric.
1
vote
Accepted
How to Identify p (lag order) for ARIMA Model in Python
Got it by following code:
import pandas as pd
k=0
highestCorr = 0
for i in range(1,10):
cor = pd.Series.autocorr(series, lag=i)
if(cor > highestCorr):
…
0
votes
1
answer
950
views
How to Identify p (lag order) for ARIMA Model in Python
here is my auto correlation plot.
Generated by the following python code.
from pandas.plotting import autocorrelation_plot
from statsmodels.tsa.arima_model import ARIMA
def display_corelation(serie …