Time Series Analysis, Stochastic Process, Volatility, Data Science.
parameters of model found by MLE method (this is known as model prediction) In the next step, since the volatility model is used to model return, we need to convert price data to return, using the pct_change() method in Python pandas package. Below, I find θ* through line 4 (parms_opt_oil) and then