Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAFound it difficult at the beginning with the vertical layout but found an easier way to get it done (switching the configuration window - Layout Direction).
Good one!
import warnings
import itertools
import pandas as pd
import numpy as np
import statsmodels.api as sm
# Define the p, d and q parameters to take any value between 0 and 15
p = d = q = range(0, 15)
# Generate all different combinations of p, d and q triplets
pdq = list(itertools.product(p, d, q))
print(pdq)
I think I figured it out! Workflow attached.
Always love a fun math challenge. My solution came out much simpler than most of the ones I saw but have not dug into any workflows to understand the extra steps and if they would be necessary.
Also tried assigning random number way, and wondering whats the odd to give in complete results.