Inserting Google Analytics on docs
This commit is contained in:
parent
a21536e74f
commit
385e698881
14
docs/_templates/layout.html
vendored
Normal file
14
docs/_templates/layout.html
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{% extends "!layout.html" %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
{{ super() }}
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-55120145-3"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'UA-55120145-3');
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
@ -82,7 +82,7 @@
|
|||||||
"from pyFTS.benchmarks import benchmarks as bchmk, Util as bUtil\n",
|
"from pyFTS.benchmarks import benchmarks as bchmk, Util as bUtil\n",
|
||||||
"from pyFTS.partitioners import Util as pUtil\n",
|
"from pyFTS.partitioners import Util as pUtil\n",
|
||||||
"\n",
|
"\n",
|
||||||
"from pyFTS.models import yu\n"
|
"from pyFTS.models import chen\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -186,9 +186,82 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": 6,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [
|
||||||
|
{
|
||||||
|
"data": {
|
||||||
|
"text/html": [
|
||||||
|
"<div>\n",
|
||||||
|
"<style scoped>\n",
|
||||||
|
" .dataframe tbody tr th:only-of-type {\n",
|
||||||
|
" vertical-align: middle;\n",
|
||||||
|
" }\n",
|
||||||
|
"\n",
|
||||||
|
" .dataframe tbody tr th {\n",
|
||||||
|
" vertical-align: top;\n",
|
||||||
|
" }\n",
|
||||||
|
"\n",
|
||||||
|
" .dataframe thead th {\n",
|
||||||
|
" text-align: right;\n",
|
||||||
|
" }\n",
|
||||||
|
"</style>\n",
|
||||||
|
"<table border=\"1\" class=\"dataframe\">\n",
|
||||||
|
" <thead>\n",
|
||||||
|
" <tr style=\"text-align: right;\">\n",
|
||||||
|
" <th></th>\n",
|
||||||
|
" <th>Dataset</th>\n",
|
||||||
|
" <th>ADF Statistic</th>\n",
|
||||||
|
" <th>p-value</th>\n",
|
||||||
|
" <th>Cr. Val. 1%</th>\n",
|
||||||
|
" <th>Cr. Val. 5%</th>\n",
|
||||||
|
" <th>Cr. Val. 10%</th>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" </thead>\n",
|
||||||
|
" <tbody>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>0</th>\n",
|
||||||
|
" <td>TAIEX</td>\n",
|
||||||
|
" <td>-2.656728</td>\n",
|
||||||
|
" <td>0.081830</td>\n",
|
||||||
|
" <td>-3.431601</td>\n",
|
||||||
|
" <td>-2.862093</td>\n",
|
||||||
|
" <td>-2.567064</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>1</th>\n",
|
||||||
|
" <td>SP500</td>\n",
|
||||||
|
" <td>-1.747171</td>\n",
|
||||||
|
" <td>0.406987</td>\n",
|
||||||
|
" <td>-3.431811</td>\n",
|
||||||
|
" <td>-2.862186</td>\n",
|
||||||
|
" <td>-2.567114</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>2</th>\n",
|
||||||
|
" <td>NASDAQ</td>\n",
|
||||||
|
" <td>0.476224</td>\n",
|
||||||
|
" <td>0.984132</td>\n",
|
||||||
|
" <td>-3.432022</td>\n",
|
||||||
|
" <td>-2.862279</td>\n",
|
||||||
|
" <td>-2.567163</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" </tbody>\n",
|
||||||
|
"</table>\n",
|
||||||
|
"</div>"
|
||||||
|
],
|
||||||
|
"text/plain": [
|
||||||
|
" Dataset ADF Statistic p-value Cr. Val. 1% Cr. Val. 5% Cr. Val. 10%\n",
|
||||||
|
"0 TAIEX -2.656728 0.081830 -3.431601 -2.862093 -2.567064\n",
|
||||||
|
"1 SP500 -1.747171 0.406987 -3.431811 -2.862186 -2.567114\n",
|
||||||
|
"2 NASDAQ 0.476224 0.984132 -3.432022 -2.862279 -2.567163"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"execution_count": 6,
|
||||||
|
"metadata": {},
|
||||||
|
"output_type": "execute_result"
|
||||||
|
}
|
||||||
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"from statsmodels.tsa.stattools import adfuller\n",
|
"from statsmodels.tsa.stattools import adfuller\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user