Created
October 17, 2023 02:33
-
-
Save saimadhu-polamuri/bca75de514275ee3b8adbbedd207bc43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from statsmodels.tsa.arima_model import ARIMA | |
# Define the parameters for the ARIMA model | |
p = 2 | |
d = 1 | |
q = 1 | |
# Fit the ARIMA model | |
model = ARIMA(data, order=(p,d,q)) | |
results = model.fit() | |
# Print the model summary | |
print(results.summary()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment