Skip to content

Commit

Permalink
Final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidschulte committed Aug 9, 2022
1 parent 301fd9b commit 24b88a7
Show file tree
Hide file tree
Showing 17 changed files with 1,301 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/solar-forecasting.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,194 changes: 1,194 additions & 0 deletions .ipynb_checkpoints/stf_project-checkpoint.ipynb

Large diffs are not rendered by default.

Binary file added afterlm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions arma.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
\begin{center}
\begin{tabular}{lclc}
\toprule
\textbf{Dep. Variable:} & cleaned & \textbf{ No. Observations: } & 3653 \\
\textbf{Model:} & ARIMA(1, 0, 1) & \textbf{ Log Likelihood } & -2738.148 \\
\textbf{Date:} & Sun, 07 Aug 2022 & \textbf{ AIC } & 5484.296 \\
\textbf{Time:} & 12:57:23 & \textbf{ BIC } & 5509.109 \\
\textbf{Sample:} & 01-01-2011 & \textbf{ HQIC } & 5493.132 \\
\textbf{} & - 12-31-2020 & \textbf{ } & \\
\bottomrule
\end{tabular}
\begin{tabular}{lcccccc}
& \textbf{coef} & \textbf{std err} & \textbf{z} & \textbf{P$> |$z$|$} & \textbf{[0.025} & \textbf{0.975]} \\
\midrule
\textbf{const} & 0.0593 & 0.025 & 2.338 & 0.019 & 0.010 & 0.109 \\
\textbf{ar.L1} & 0.6961 & 0.018 & 38.043 & 0.000 & 0.660 & 0.732 \\
\textbf{ma.L1} & -0.1208 & 0.024 & -5.031 & 0.000 & -0.168 & -0.074 \\
\textbf{sigma2} & 0.2621 & 0.006 & 43.612 & 0.000 & 0.250 & 0.274 \\
\bottomrule
\end{tabular}
\begin{tabular}{lclc}
\textbf{Ljung-Box (L1) (Q):} & 0.14 & \textbf{ Jarque-Bera (JB): } & 95.96 \\
\textbf{Prob(Q):} & 0.71 & \textbf{ Prob(JB): } & 0.00 \\
\textbf{Heteroskedasticity (H):} & 1.20 & \textbf{ Skew: } & -0.37 \\
\textbf{Prob(H) (two-sided):} & 0.00 & \textbf{ Kurtosis: } & 3.30 \\
\bottomrule
\end{tabular}
%\caption{SARIMAX Results}
\end{center}

Warnings: \newline
[1] Covariance matrix calculated using the outer product of gradients (complex-step).
Binary file added armafit1year.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added armafitall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added datadistr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions ols.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
\begin{center}
\begin{tabular}{lclc}
\toprule
\textbf{Dep. Variable:} & y & \textbf{ R-squared: } & 0.724 \\
\textbf{Model:} & OLS & \textbf{ Adj. R-squared: } & 0.724 \\
\textbf{Method:} & Least Squares & \textbf{ F-statistic: } & 5272. \\
\textbf{Date:} & Sun, 07 Aug 2022 & \textbf{ Prob (F-statistic):} & 0.00 \\
\textbf{Time:} & 12:57:19 & \textbf{ Log-Likelihood: } & -4394.5 \\
\textbf{No. Observations:} & 4018 & \textbf{ AIC: } & 8795. \\
\textbf{Df Residuals:} & 4015 & \textbf{ BIC: } & 8814. \\
\textbf{Df Model:} & 2 & \textbf{ } & \\
\bottomrule
\end{tabular}
\begin{tabular}{lcccccc}
& \textbf{coef} & \textbf{std err} & \textbf{t} & \textbf{P$> |$t$|$} & \textbf{[0.025} & \textbf{0.975]} \\
\midrule
\textbf{beta0} & -2.0841 & 0.023 & -91.413 & 0.000 & -2.129 & -2.039 \\
\textbf{beta1} & 0.0005 & 9.83e-06 & 46.923 & 0.000 & 0.000 & 0.000 \\
\textbf{beta2} & -0.2282 & 0.002 & -92.181 & 0.000 & -0.233 & -0.223 \\
\bottomrule
\end{tabular}
\begin{tabular}{lclc}
\textbf{Omnibus:} & 507.081 & \textbf{ Durbin-Watson: } & 0.620 \\
\textbf{Prob(Omnibus):} & 0.000 & \textbf{ Jarque-Bera (JB): } & 1086.897 \\
\textbf{Skew:} & -0.766 & \textbf{ Prob(JB): } & 9.62e-237 \\
\textbf{Kurtosis:} & 5.036 & \textbf{ Cond. No. } & 4.64e+03 \\
\bottomrule
\end{tabular}
%\caption{OLS Regression Results}
\end{center}

Notes: \newline
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified. \newline
[2] The condition number is large, 4.64e+03. This might indicate that there are \newline
strong multicollinearity or other numerical problems.
Binary file added pacf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added seasonality.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added transformeddistr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 24b88a7

Please sign in to comment.