2.72 MB
/srv/reproducible-results/rbuild-debian/tmp.PMn8hEHIw0/b1/statsmodels_0.8.0-9_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.PMn8hEHIw0/b2/statsmodels_0.8.0-9_amd64.changes
915 B
Files
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 ·f99a97468d256af4d9b11ad85bb76f25·11881840·doc·optional·python-statsmodels-doc_0.8.0-9_all.deb1 ·f89a3eb9cfdf18d5d7f3f6161dae37f9·11881680·doc·optional·python-statsmodels-doc_0.8.0-9_all.deb
2 ·0f315af337923198dacc1c9d1a45a276·1497412·debug·optional·python-statsmodels-lib-dbgsym_0.8.0-9_amd64.deb2 ·0f315af337923198dacc1c9d1a45a276·1497412·debug·optional·python-statsmodels-lib-dbgsym_0.8.0-9_amd64.deb
3 ·2ca375f0a2ea3dbcfe504a39c58b6cb4·369564·python·optional·python-statsmodels-lib_0.8.0-9_amd64.deb3 ·2ca375f0a2ea3dbcfe504a39c58b6cb4·369564·python·optional·python-statsmodels-lib_0.8.0-9_amd64.deb
4 ·4c8ce72d7768a450c40bc03b705e9c19·7180544·python·optional·python-statsmodels_0.8.0-9_all.deb4 ·c752a1dd724a53ab6a2d58dceffded7a·7180544·python·optional·python-statsmodels_0.8.0-9_all.deb
5 ·b68ceea1be194bfe954ffd50982a8e6a·1658612·debug·optional·python3-statsmodels-lib-dbgsym_0.8.0-9_amd64.deb5 ·b68ceea1be194bfe954ffd50982a8e6a·1658612·debug·optional·python3-statsmodels-lib-dbgsym_0.8.0-9_amd64.deb
6 ·23a2786674af0cab7cda5b2f66faa065·365980·python·optional·python3-statsmodels-lib_0.8.0-9_amd64.deb6 ·23a2786674af0cab7cda5b2f66faa065·365980·python·optional·python3-statsmodels-lib_0.8.0-9_amd64.deb
7 ·344ada302b1a4ce1da93766c51f2a0a7·3004004·python·optional·python3-statsmodels_0.8.0-9_all.deb7 ·344ada302b1a4ce1da93766c51f2a0a7·3004004·python·optional·python3-statsmodels_0.8.0-9_all.deb
1.33 MB
python-statsmodels-doc_0.8.0-9_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2019-03-02·14:59:35.000000·debian-binary1 -rw-r--r--···0········0········0········4·2019-03-02·14:59:35.000000·debian-binary
2 -rw-r--r--···0········0········0···159228·2019-03-02·14:59:35.000000·control.tar.xz2 -rw-r--r--···0········0········0···159220·2019-03-02·14:59:35.000000·control.tar.xz
3 -rw-r--r--···0········0········0·11722420·2019-03-02·14:59:35.000000·data.tar.xz3 -rw-r--r--···0········0········0·11722268·2019-03-02·14:59:35.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
1.33 MB
data.tar.xz
1.33 MB
data.tar
12.8 KB
file list
    
Offset 3536, 55 lines modifiedOffset 3536, 55 lines modified
3536 -rw-r--r--···0·root·········(0)·root·········(0)····17663·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/test_notes.html3536 -rw-r--r--···0·root·········(0)·root·········(0)····17663·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/test_notes.html
3537 -rw-r--r--···0·root·········(0)·root·········(0)·····6248·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/testing.html3537 -rw-r--r--···0·root·········(0)·root·········(0)·····6248·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/testing.html
3538 -rw-r--r--···0·root·········(0)·root·········(0)····14950·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/vbench.html3538 -rw-r--r--···0·root·········(0)·root·········(0)····14950·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/dev/vbench.html
3539 -rw-r--r--···0·root·········(0)·root·········(0)····22136·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/diagnostic.html3539 -rw-r--r--···0·root·········(0)·root·········(0)····22136·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/diagnostic.html
3540 -rw-r--r--···0·root·········(0)·root·········(0)····21874·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/discretemod.html3540 -rw-r--r--···0·root·········(0)·root·········(0)····21874·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/discretemod.html
3541 -rw-r--r--···0·root·········(0)·root·········(0)····20108·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/distributions.html3541 -rw-r--r--···0·root·········(0)·root·········(0)····20108·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/distributions.html
3542 -rw-r--r--···0·root·········(0)·root·········(0)····31414·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/duration.html3542 -rw-r--r--···0·root·········(0)·root·········(0)····31414·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/duration.html
3543 -rw-r--r--···0·root·········(0)·root·········(0)····11714·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/emplike.html3543 -rw-r--r--···0·root·········(0)·root·········(0)····11715·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/emplike.html
3544 -rw-r--r--···0·root·········(0)·root·········(0)····10974·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/endog_exog.html3544 -rw-r--r--···0·root·········(0)·root·········(0)····10974·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/endog_exog.html
3545 -rw-r--r--···0·root·········(0)·root·········(0)····37694·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/example_formulas.html3545 -rw-r--r--···0·root·········(0)·root·········(0)····37694·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/example_formulas.html
3546 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/3546 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/
3547 -rw-r--r--···0·root·········(0)·root·········(0)····17646·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/index.html3547 -rw-r--r--···0·root·········(0)·root·········(0)····17646·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/index.html
3548 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/3548 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/
3549 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/3549 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/
3550 -rw-r--r--···0·root·········(0)·root·········(0)···298565·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/categorical_interaction_plot.html3550 -rw-r--r--···0·root·········(0)·root·········(0)···298565·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/categorical_interaction_plot.html
3551 -rw-r--r--···0·root·········(0)·root·········(0)···296177·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/chi2_fitting.html3551 -rw-r--r--···0·root·········(0)·root·········(0)···296177·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/chi2_fitting.html
3552 -rw-r--r--···0·root·········(0)·root·········(0)···362003·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/contrasts.html3552 -rw-r--r--···0·root·········(0)·root·········(0)···362003·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/contrasts.html
3553 -rw-r--r--···0·root·········(0)·root·········(0)···536149·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_example.html3553 -rw-r--r--···0·root·········(0)·root·········(0)···536149·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_example.html
3554 -rw-r--r--···0·root·········(0)·root·········(0)···313932·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_overview.html3554 -rw-r--r--···0·root·········(0)·root·········(0)···314088·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_overview.html
3555 -rw-r--r--···0·root·········(0)·root·········(0)···308361·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/formulas.html3555 -rw-r--r--···0·root·········(0)·root·········(0)···308361·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/formulas.html
3556 -rw-r--r--···0·root·········(0)·root·········(0)···318093·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/generic_mle.html3556 -rw-r--r--···0·root·········(0)·root·········(0)···318093·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/generic_mle.html
3557 -rw-r--r--···0·root·········(0)·root·········(0)···402201·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm.html3557 -rw-r--r--···0·root·········(0)·root·········(0)···402201·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm.html
3558 -rw-r--r--···0·root·········(0)·root·········(0)···294174·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm_formula.html3558 -rw-r--r--···0·root·········(0)·root·········(0)···294174·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm_formula.html
3559 -rw-r--r--···0·root·········(0)·root·········(0)···293714·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/gls.html3559 -rw-r--r--···0·root·········(0)·root·········(0)···293714·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/gls.html
3560 -rw-r--r--···0·root·········(0)·root·········(0)···523818·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/interactions_anova.html3560 -rw-r--r--···0·root·········(0)·root·········(0)···523818·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/interactions_anova.html
3561 -rw-r--r--···0·root·········(0)·root·········(0)···419492·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/kernel_density.html3561 -rw-r--r--···0·root·········(0)·root·········(0)···419492·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/kernel_density.html
3562 -rw-r--r--···0·root·········(0)·root·········(0)···472610·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_autoregression.html3562 -rw-r--r--···0·root·········(0)·root·········(0)···472610·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_autoregression.html
3563 -rw-r--r--···0·root·········(0)·root·········(0)···648304·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_regression.html3563 -rw-r--r--···0·root·········(0)·root·········(0)···648304·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_regression.html
3564 -rw-r--r--···0·root·········(0)·root·········(0)···413239·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/mixed_lm_example.html3564 -rw-r--r--···0·root·········(0)·root·········(0)···413083·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/mixed_lm_example.html
3565 -rw-r--r--···0·root·········(0)·root·········(0)···406587·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/ols.html3565 -rw-r--r--···0·root·········(0)·root·········(0)···406431·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/ols.html
3566 -rw-r--r--···0·root·········(0)·root·········(0)···544475·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/pca_fertility_factors.html3566 -rw-r--r--···0·root·········(0)·root·········(0)···544475·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/pca_fertility_factors.html
3567 -rw-r--r--···0·root·········(0)·root·········(0)··1310879·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/plots_boxplots.html3567 -rw-r--r--···0·root·········(0)·root·········(0)··1311367·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/plots_boxplots.html
3568 -rw-r--r--···0·root·········(0)·root·········(0)···313220·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/predict.html3568 -rw-r--r--···0·root·········(0)·root·········(0)···313560·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/predict.html
3569 -rw-r--r--···0·root·········(0)·root·········(0)···415868·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/quantile_regression.html3569 -rw-r--r--···0·root·········(0)·root·········(0)···415868·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/quantile_regression.html
3570 -rw-r--r--···0·root·········(0)·root·········(0)···494062·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/recursive_ls.html3570 -rw-r--r--···0·root·········(0)·root·········(0)···494062·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/recursive_ls.html
3571 -rw-r--r--···0·root·········(0)·root·········(0)···318038·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_diagnostics.html3571 -rw-r--r--···0·root·········(0)·root·········(0)···318038·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_diagnostics.html
3572 -rw-r--r--···0·root·········(0)·root·········(0)··1065476·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_plots.html3572 -rw-r--r--···0·root·········(0)·root·········(0)··1065476·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_plots.html
3573 -rw-r--r--···0·root·········(0)·root·········(0)···393969·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_0.html3573 -rw-r--r--···0·root·········(0)·root·········(0)···393183·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_0.html
3574 -rw-r--r--···0·root·········(0)·root·········(0)···931527·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_1.html3574 -rw-r--r--···0·root·········(0)·root·········(0)···931527·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_1.html
3575 -rw-r--r--···0·root·········(0)·root·········(0)···543297·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_arma_0.html3575 -rw-r--r--···0·root·········(0)·root·········(0)···543297·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_arma_0.html
3576 -rw-r--r--···0·root·········(0)·root·········(0)···314214·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_cycles.html3576 -rw-r--r--···0·root·········(0)·root·········(0)···314214·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_cycles.html
3577 -rw-r--r--···0·root·········(0)·root·········(0)···394373·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_dfm_coincident.html3577 -rw-r--r--···0·root·········(0)·root·········(0)···394373·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_dfm_coincident.html
3578 -rw-r--r--···0·root·········(0)·root·········(0)···334690·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_local_linear_trend.html3578 -rw-r--r--···0·root·········(0)·root·········(0)···334690·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_local_linear_trend.html
3579 -rw-r--r--···0·root·········(0)·root·········(0)···324820·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_internet.html3579 -rw-r--r--···0·root·········(0)·root·········(0)···324820·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_internet.html
3580 -rw-r--r--···0·root·········(0)·root·········(0)···446647·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_stata.html3580 -rw-r--r--···0·root·········(0)·root·········(0)···446647·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_stata.html
3581 -rw-r--r--···0·root·········(0)·root·········(0)···324408·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_structural_harvey_jaeger.html3581 -rw-r--r--···0·root·········(0)·root·········(0)···324408·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_structural_harvey_jaeger.html
3582 -rw-r--r--···0·root·········(0)·root·········(0)···313469·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_varmax.html3582 -rw-r--r--···0·root·········(0)·root·········(0)···313469·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_varmax.html
3583 -rw-r--r--···0·root·········(0)·root·········(0)···723930·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_0.html3583 -rw-r--r--···0·root·········(0)·root·········(0)···724086·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_0.html
3584 -rw-r--r--···0·root·········(0)·root·········(0)···331037·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_1.html3584 -rw-r--r--···0·root·········(0)·root·········(0)···331037·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_1.html
3585 -rw-r--r--···0·root·········(0)·root·········(0)···287332·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_dates.html3585 -rw-r--r--···0·root·········(0)·root·········(0)···287332·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_dates.html
3586 -rw-r--r--···0·root·········(0)·root·········(0)···532589·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_filters.html3586 -rw-r--r--···0·root·········(0)·root·········(0)···532589·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_filters.html
3587 -rw-r--r--···0·root·········(0)·root·········(0)···350522·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/wls.html3587 -rw-r--r--···0·root·········(0)·root·········(0)···350522·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/wls.html
3588 -rw-r--r--···0·root·········(0)·root·········(0)·····7877·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/faq.html3588 -rw-r--r--···0·root·········(0)·root·········(0)·····7877·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/faq.html
3589 -rw-r--r--···0·root·········(0)·root·········(0)····29562·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/gee.html3589 -rw-r--r--···0·root·········(0)·root·········(0)····29562·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/gee.html
3590 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/generated/3590 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/generated/
Offset 6611, 15 lines modifiedOffset 6611, 15 lines modified
6611 -rw-r--r--···0·root·········(0)·root·········(0)····32393·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.6.html6611 -rw-r--r--···0·root·········(0)·root·········(0)····32393·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.6.html
6612 -rw-r--r--···0·root·········(0)·root·········(0)····26304·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.7.html6612 -rw-r--r--···0·root·········(0)·root·········(0)····26304·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.7.html
6613 -rw-r--r--···0·root·········(0)·root·········(0)····21967·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.8.html6613 -rw-r--r--···0·root·········(0)·root·········(0)····21967·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/release/version0.8.html
6614 -rw-r--r--···0·root·········(0)·root·········(0)····17371·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/rlm.html6614 -rw-r--r--···0·root·········(0)·root·········(0)····17371·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/rlm.html
6615 -rw-r--r--···0·root·········(0)·root·········(0)·····5764·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/rlm_techn1.html6615 -rw-r--r--···0·root·········(0)·root·········(0)·····5764·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/rlm_techn1.html
6616 -rw-r--r--···0·root·········(0)·root·········(0)····23372·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/sandbox.html6616 -rw-r--r--···0·root·········(0)·root·········(0)····23372·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/sandbox.html
6617 -rw-r--r--···0·root·········(0)·root·········(0)·····4323·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/search.html6617 -rw-r--r--···0·root·········(0)·root·········(0)·····4323·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/search.html
6618 -rw-r--r--···0·root·········(0)·root·········(0)··1420091·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/searchindex.js6618 -rw-r--r--···0·root·········(0)·root·········(0)··1420087·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/searchindex.js
6619 -rw-r--r--···0·root·········(0)·root·········(0)····59658·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/statespace.html6619 -rw-r--r--···0·root·········(0)·root·········(0)····59658·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/statespace.html
6620 -rw-r--r--···0·root·········(0)·root·········(0)····82737·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/stats.html6620 -rw-r--r--···0·root·········(0)·root·········(0)····82737·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/stats.html
6621 -rw-r--r--···0·root·········(0)·root·········(0)····22408·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/tools.html6621 -rw-r--r--···0·root·········(0)·root·········(0)····22408·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/tools.html
6622 -rw-r--r--···0·root·········(0)·root·········(0)····43469·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/tsa.html6622 -rw-r--r--···0·root·········(0)·root·········(0)····43469·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/tsa.html
6623 -rw-r--r--···0·root·········(0)·root·········(0)····54625·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/vector_ar.html6623 -rw-r--r--···0·root·········(0)·root·········(0)····54625·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels-doc/html/vector_ar.html
6624 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc-base/6624 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc-base/
6625 -rw-r--r--···0·root·········(0)·root·········(0)······526·2019-02-14·21:34:07.000000·./usr/share/doc-base/python-statsmodels-doc6625 -rw-r--r--···0·root·········(0)·root·········(0)······526·2019-02-14·21:34:07.000000·./usr/share/doc-base/python-statsmodels-doc
1.96 KB
./usr/share/doc/python-statsmodels-doc/html/discretemod.html
    
Offset 423, 23 lines modifiedOffset 423, 23 lines modified
00001a60:·6574·686f·643a·2020·2020·2020·2020·2020··ethod:··········00001a60:·6574·686f·643a·2020·2020·2020·2020·2020··ethod:··········
00001a70:·2020·2020·2020·2020·2020·2020·2020·2020··················00001a70:·2020·2020·2020·2020·2020·2020·2020·2020··················
00001a80:·204d·4c45·2020·2044·6620·4d6f·6465·6c3a···MLE···Df·Model:00001a80:·204d·4c45·2020·2044·6620·4d6f·6465·6c3a···MLE···Df·Model:
00001a90:·2020·2020·2020·2020·2020·2020·2020·2020··················00001a90:·2020·2020·2020·2020·2020·2020·2020·2020··················
00001aa0:·2020·2020·2020·2020·2020·2020·333c·2f73··············3</s00001aa0:·2020·2020·2020·2020·2020·2020·333c·2f73··············3</s
00001ab0:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class00001ab0:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class
00001ac0:·3d22·676f·223e·4461·7465·3a20·2020·2020··="go">Date:·····00001ac0:·3d22·676f·223e·4461·7465·3a20·2020·2020··="go">Date:·····
00001ad0:·2020·2020·2020·2020·2020·2054·7565·2c20·············Tue,·00001ad0:·2020·2020·2020·2020·2020·2057·6564·2c20·············Wed,·
00001ae0:·3134·2044·6563·2032·3032·3120·2020·5073··14·Dec·2021···Ps00001ae0:·3138·204a·616e·2032·3032·3320·2020·5073··18·Jan·2023···Ps
00001af0:·6575·646f·2052·2d73·7175·2e3a·2020·2020··eudo·R-squ.:····00001af0:·6575·646f·2052·2d73·7175·2e3a·2020·2020··eudo·R-squ.:····
00001b00:·2020·2020·2020·2020·2020·2020·2020·302e················0.00001b00:·2020·2020·2020·2020·2020·2020·2020·302e················0.
00001b10:·3337·3430·3c2f·7370·616e·3e0a·3c73·7061··3740</span>.<spa00001b10:·3337·3430·3c2f·7370·616e·3e0a·3c73·7061··3740</span>.<spa
00001b20:·6e20·636c·6173·733d·2267·6f22·3e54·696d··n·class="go">Tim00001b20:·6e20·636c·6173·733d·2267·6f22·3e54·696d··n·class="go">Tim
00001b30:·653a·2020·2020·2020·2020·2020·2020·2020··e:··············00001b30:·653a·2020·2020·2020·2020·2020·2020·2020··e:··············
00001b40:·2020·2020·2020·2020·2020·3139·3a34·313a············19:41:00001b40:·2020·2020·2020·2020·2020·3035·3a30·383a············05:08:
00001b50:·3538·2020·204c·6f67·2d4c·696b·656c·6968··58···Log-Likelih00001b50:·3534·2020·204c·6f67·2d4c·696b·656c·6968··54···Log-Likelih
00001b60:·6f6f·643a·2020·2020·2020·2020·2020·2020··ood:············00001b60:·6f6f·643a·2020·2020·2020·2020·2020·2020··ood:············
00001b70:·2020·2020·2d31·322e·3839·303c·2f73·7061······-12.890</spa00001b70:·2020·2020·2d31·322e·3839·303c·2f73·7061······-12.890</spa
00001b80:·6e3e·0a3c·7370·616e·2063·6c61·7373·3d22··n>.<span·class="00001b80:·6e3e·0a3c·7370·616e·2063·6c61·7373·3d22··n>.<span·class="
00001b90:·676f·223e·636f·6e76·6572·6765·643a·2020··go">converged:··00001b90:·676f·223e·636f·6e76·6572·6765·643a·2020··go">converged:··
00001ba0:·2020·2020·2020·2020·2020·2020·2020·2020··················00001ba0:·2020·2020·2020·2020·2020·2020·2020·2020··················
00001bb0:·2020·2020·2054·7275·6520·2020·4c4c·2d4e·······True···LL-N00001bb0:·2020·2020·2054·7275·6520·2020·4c4c·2d4e·······True···LL-N
00001bc0:·756c·6c3a·2020·2020·2020·2020·2020·2020··ull:············00001bc0:·756c·6c3a·2020·2020·2020·2020·2020·2020··ull:············
35.4 KB
./usr/share/doc/python-statsmodels-doc/html/emplike.html
    
Offset 456, 17 lines modifiedOffset 456, 17 lines modified
00001c70:·616e·3e3c·7370·616e·2063·6c61·7373·3d22··an><span·class="00001c70:·616e·3e3c·7370·616e·2063·6c61·7373·3d22··an><span·class="
00001c80:·6e22·3e63·695f·6d65·616e·3c2f·7370·616e··n">ci_mean</span00001c80:·6e22·3e63·695f·6d65·616e·3c2f·7370·616e··n">ci_mean</span
00001c90:·3e3c·7370·616e·2063·6c61·7373·3d22·7022··><span·class="p"00001c90:·3e3c·7370·616e·2063·6c61·7373·3d22·7022··><span·class="p"
00001ca0:·3e28·293c·2f73·7061·6e3e·0a3c·7370·616e··>()</span>.<span00001ca0:·3e28·293c·2f73·7061·6e3e·0a3c·7370·616e··>()</span>.<span
00001cb0:·2063·6c61·7373·3d22·6768·223e·4f75·745b···class="gh">Out[00001cb0:·2063·6c61·7373·3d22·6768·223e·4f75·745b···class="gh">Out[
00001cc0:·355d·3a20·3c2f·7370·616e·3e3c·7370·616e··5]:·</span><span00001cc0:·355d·3a20·3c2f·7370·616e·3e3c·7370·616e··5]:·</span><span
00001cd0:·2063·6c61·7373·3d22·676f·223e·282d·302e···class="go">(-0.00001cd0:·2063·6c61·7373·3d22·676f·223e·282d·302e···class="go">(-0.
00001ce0:·3134·3739·3030·3933·3739·3436·3736·3434··1479009379467644 
00001cf0:·332c·2030·2e34·3135·3031·3839·3638·3239··3,·0.4150189682900001ce0:·3432·3634·3134·3435·3036·3031·3239·3133··4264144506012913
 00001cf0:·352c·2030·2e31·3330·3430·3835·3035·3734··5,·0.13040850574
00001d00:·3432·3936·3633·293c·2f73·7061·6e3e·0a0a··429663)</span>..00001d00:·3534·3430·3934·293c·2f73·7061·6e3e·0a0a··544094)</span>..
00001d10:·3c73·7061·6e20·636c·6173·733d·2267·6f22··<span·class="go"00001d10:·3c73·7061·6e20·636c·6173·733d·2267·6f22··<span·class="go"
00001d20:·3e23·2074·6573·7420·7661·7269·616e·6365··>#·test·variance00001d20:·3e23·2074·6573·7420·7661·7269·616e·6365··>#·test·variance
00001d30:·2069·7320·313c·2f73·7061·6e3e·0a3c·7370···is·1</span>.<sp00001d30:·2069·7320·313c·2f73·7061·6e3e·0a3c·7370···is·1</span>.<sp
00001d40:·616e·2063·6c61·7373·3d22·6770·223e·496e··an·class="gp">In00001d40:·616e·2063·6c61·7373·3d22·6770·223e·496e··an·class="gp">In
00001d50:·205b·365d·3a20·3c2f·7370·616e·3e3c·7370···[6]:·</span><sp00001d50:·205b·365d·3a20·3c2f·7370·616e·3e3c·7370···[6]:·</span><sp
00001d60:·616e·2063·6c61·7373·3d22·6e22·3e65·6c3c··an·class="n">el<00001d60:·616e·2063·6c61·7373·3d22·6e22·3e65·6c3c··an·class="n">el<
00001d70:·2f73·7061·6e3e·3c73·7061·6e20·636c·6173··/span><span·clas00001d70:·2f73·7061·6e3e·3c73·7061·6e20·636c·6173··/span><span·clas
Offset 478, 256 lines modifiedOffset 478, 256 lines modified
00001dd0:·3d22·6d69·223e·313c·2f73·7061·6e3e·3c73··="mi">1</span><s00001dd0:·3d22·6d69·223e·313c·2f73·7061·6e3e·3c73··="mi">1</span><s
00001de0:·7061·6e20·636c·6173·733d·2270·223e·293c··pan·class="p">)<00001de0:·7061·6e20·636c·6173·733d·2270·223e·293c··pan·class="p">)<
00001df0:·2f73·7061·6e3e·0a3c·7370·616e·2063·6c61··/span>.<span·cla00001df0:·2f73·7061·6e3e·0a3c·7370·616e·2063·6c61··/span>.<span·cla
00001e00:·7373·3d22·676f·223e·0000·0000·0000·0000··ss="go">........00001e00:·7373·3d22·676f·223e·0000·0000·0000·0000··ss="go">........
00001e10:·0000·0000·0000·0000·0000·0000·0000·0000··................00001e10:·0000·0000·0000·0000·0000·0000·0000·0000··................
00001e20:·0000·0000·0000·0000·0000·0000·0000·0000··................00001e20:·0000·0000·0000·0000·0000·0000·0000·0000··................
00001e30:·0000·0000·0000·0000·0000·0000·4f75·745b··............Out[00001e30:·0000·0000·0000·0000·0000·0000·4f75·745b··............Out[
00001e40:·365d·3a20·2830·2e30·3036·3038·3835·3638··6]:·(0.00608856800001e40:·365d·3a20·2830·2e30·3032·3835·3437·3936··6]:·(0.002854796
00001e50:·3034·3038·3634·3339·342c·2030·2e39·3337··040864394,·0.937 
00001e60:·3830·3437·3634·3435·3035·3330·3429·3c2f··8047644505304)</ 
00001e70:·7370·616e·3e0a·3c2f·7072·653e·3c2f·6469··span>.</pre></di00001e50:·3433·3934·3138·3238·3735·2c20·302e·3935··4394182875,·0.95
 00001e60:·3733·3839·3036·3736·3433·3930·3033·293c··73890676439003)<
 00001e70:·2f73·7061·6e3e·0a3c·2f70·7265·3e3c·2f64··/span>.</pre></d
00001e80:·763e·0a3c·2f64·6976·3e0a·3c2f·6469·763e··v>.</div>.</div>00001e80:·6976·3e0a·3c2f·6469·763e·0a3c·2f64·6976··iv>.</div>.</div
 00001e90:·3e0a·3c64·6976·2063·6c61·7373·3d22·7365··>.<div·class="se
 00001ea0:·6374·696f·6e22·2069·643d·226d·6f64·756c··ction"·id="modul
00001e90:·0a3c·6469·7620·636c·6173·733d·2273·6563··.<div·class="sec 
00001ea0:·7469·6f6e·2220·6964·3d22·6d6f·6475·6c65··tion"·id="module 
00001eb0:·2d73·7461·7473·6d6f·6465·6c73·2e65·6d70··-statsmodels.emp 
00001ec0:·6c69·6b65·223e·0a3c·7370·616e·2069·643d··like">.<span·id= 
00001ed0:·226d·6f64·756c·652d·7265·6665·7265·6e63··"module-referenc 
00001ee0:·6522·3e3c·2f73·7061·6e3e·3c68·323e·4d6f··e"></span><h2>Mo 
00001ef0:·6475·6c65·2052·6566·6572·656e·6365·3c61··dule·Reference<a 
00001f00:·2063·6c61·7373·3d22·6865·6164·6572·6c69···class="headerli 
00001f10:·6e6b·2220·6872·6566·3d22·236d·6f64·756c··nk"·href="#modul 
00001f20:·652d·7374·6174·736d·6f64·656c·732e·656d··e-statsmodels.em00001eb0:·652d·7374·6174·736d·6f64·656c·732e·656d··e-statsmodels.em
00001f30:·706c·696b·6522·2074·6974·6c65·3d22·5065··plike"·title="Pe 
00001f40:·726d·616c·696e·6b20·746f·2074·6869·7320··rmalink·to·this· 
00001f50:·6865·6164·6c69·6e65·223e·c2b6·3c2f·613e··headline">..</a> 
00001f60:·3c2f·6832·3e0a·3c74·6162·6c65·2062·6f72··</h2>.<table·bor 
00001f70:·6465·723d·2231·2220·636c·6173·733d·226c··der="1"·class="l 
00001f80:·6f6e·6774·6162·6c65·2064·6f63·7574·696c··ongtable·docutil 
00001f90:·7322·3e0a·3c63·6f6c·6772·6f75·703e·0a3c··s">.<colgroup>.< 
00001fa0:·636f·6c20·7769·6474·683d·2231·3025·2220··col·width="10%"· 
00001fb0:·2f3e·0a3c·636f·6c20·7769·6474·683d·2239··/>.<col·width="900001ec0:·706c·696b·6522·3e0a·3c73·7061·6e20·6964··plike">.<span·id
 00001ed0:·3d22·6d6f·6475·6c65·2d72·6566·6572·656e··="module-referen
 00001ee0:·6365·223e·3c2f·7370·616e·3e3c·6832·3e4d··ce"></span><h2>M
 00001ef0:·6f64·756c·6520·5265·6665·7265·6e63·653c··odule·Reference<
 00001f00:·6120·636c·6173·733d·2268·6561·6465·726c··a·class="headerl
 00001f10:·696e·6b22·2068·7265·663d·2223·6d6f·6475··ink"·href="#modu
 00001f20:·6c65·2d73·7461·7473·6d6f·6465·6c73·2e65··le-statsmodels.e
 00001f30:·6d70·6c69·6b65·2220·7469·746c·653d·2250··mplike"·title="P
 00001f40:·6572·6d61·6c69·6e6b·2074·6f20·7468·6973··ermalink·to·this
 00001f50:·2068·6561·646c·696e·6522·3ec2·b63c·2f61···headline">..</a
 00001f60:·3e3c·2f68·323e·0a3c·7461·626c·6520·626f··></h2>.<table·bo
 00001f70:·7264·6572·3d22·3122·2063·6c61·7373·3d22··rder="1"·class="
 00001f80:·6c6f·6e67·7461·626c·6520·646f·6375·7469··longtable·docuti
 00001f90:·6c73·223e·0a3c·636f·6c67·726f·7570·3e0a··ls">.<colgroup>.
 00001fa0:·3c63·6f6c·2077·6964·7468·3d22·3130·2522··<col·width="10%"
 00001fb0:·202f·3e0a·3c63·6f6c·2077·6964·7468·3d22···/>.<col·width="
00001fc0:·3025·2220·2f3e·0a3c·2f63·6f6c·6772·6f75··0%"·/>.</colgrou00001fc0:·3930·2522·202f·3e0a·3c2f·636f·6c67·726f··90%"·/>.</colgro
00001fd0:·703e·0a3c·7462·6f64·7920·7661·6c69·676e··p>.<tbody·valign00001fd0:·7570·3e0a·3c74·626f·6479·2076·616c·6967··up>.<tbody·valig
 00001fe0:·6e3d·2274·6f70·223e·0a3c·7472·2063·6c61··n="top">.<tr·cla
 00001ff0:·7373·3d22·726f·772d·6f64·6422·3e3c·7464··ss="row-odd"><td
00001fe0:·3d22·746f·7022·3e0a·3c74·7220·636c·6173··="top">.<tr·clas 
00001ff0:·733d·2272·6f77·2d6f·6464·223e·3c74·643e··s="row-odd"><td> 
00002000:·3c61·2063·6c61·7373·3d22·7265·6665·7265··<a·class="refere 
00002010:·6e63·6520·696e·7465·726e·616c·2220·6872··nce·internal"·hr 
00002020:·6566·3d22·6765·6e65·7261·7465·642f·7374··ef="generated/st 
00002030:·6174·736d·6f64·656c·732e·656d·706c·696b··atsmodels.emplik 
00002040:·652e·6465·7363·7269·7074·6976·652e·4465··e.descriptive.De 
00002050:·7363·5374·6174·2e68·746d·6c23·7374·6174··scStat.html#stat 
00002060:·736d·6f64·656c·732e·656d·706c·696b·652e··smodels.emplike. 
00002070:·6465·7363·7269·7074·6976·652e·4465·7363··descriptive.Desc 
00002080:·5374·6174·2220·7469·746c·653d·2273·7461··Stat"·title="sta 
00002090:·7473·6d6f·6465·6c73·2e65·6d70·6c69·6b65··tsmodels.emplike 
000020a0:·2e64·6573·6372·6970·7469·7665·2e44·6573··.descriptive.Des 
000020b0:·6353·7461·7422·3e3c·636f·6465·2063·6c61··cStat"><code·cla 
000020c0:·7373·3d22·7872·6566·2070·7920·7079·2d6f··ss="xref·py·py-o 
000020d0:·626a·2064·6f63·7574·696c·7320·6c69·7465··bj·docutils·lite 
000020e0:·7261·6c20·6e6f·7472·616e·736c·6174·6522··ral·notranslate" 
000020f0:·3e3c·7370·616e·2063·6c61·7373·3d22·7072··><span·class="pr 
00002100:·6522·3e64·6573·6372·6970·7469·7665·2e44··e">descriptive.D 
00002110:·6573·6353·7461·743c·2f73·7061·6e3e·3c2f··escStat</span></ 
00002120:·636f·6465·3e3c·2f61·3e28·656e·646f·6729··code></a>(endog) 
00002130:·3c2f·7464·3e0a·3c74·643e·5265·7475·726e··</td>.<td>Return 
00002140:·7320·616e·2069·6e73·7461·6e63·6520·746f··s·an·instance·to 
00002150:·2063·6f6e·6475·6374·2069·6e66·6572·656e···conduct·inferen 
00002160:·6365·206f·6e20·6465·7363·7269·7074·6976··ce·on·descriptiv 
00002170:·6520·7374·6174·6973·7469·6373·2076·6961··e·statistics·via 
00002180:·2065·6d70·6972·6963·616c·206c·696b·656c···empirical·likel 
00002190:·6968·6f6f·642e·3c2f·7464·3e0a·3c2f·7472··ihood.</td>.</tr 
000021a0:·3e0a·3c74·7220·636c·6173·733d·2272·6f77··>.<tr·class="row 
000021b0:·2d65·7665·6e22·3e3c·7464·3e3c·6120·636c··-even"><td><a·cl 
000021c0:·6173·733d·2272·6566·6572·656e·6365·2069··ass="reference·i 
000021d0:·6e74·6572·6e61·6c22·2068·7265·663d·2267··nternal"·href="g 
000021e0:·656e·6572·6174·6564·2f73·7461·7473·6d6f··enerated/statsmo 
000021f0:·6465·6c73·2e65·6d70·6c69·6b65·2e64·6573··dels.emplike.des 
00002200:·6372·6970·7469·7665·2e44·6573·6353·7461··criptive.DescSta 
00002210:·7455·562e·6874·6d6c·2373·7461·7473·6d6f··tUV.html#statsmo 
00002220:·6465·6c73·2e65·6d70·6c69·6b65·2e64·6573··dels.emplike.des 
00002230:·6372·6970·7469·7665·2e44·6573·6353·7461··criptive.DescSta 
00002240:·7455·5622·2074·6974·6c65·3d22·7374·6174··tUV"·title="stat 
00002250:·736d·6f64·656c·732e·656d·706c·696b·652e··smodels.emplike. 
00002260:·6465·7363·7269·7074·6976·652e·4465·7363··descriptive.Desc 
00002270:·5374·6174·5556·223e·3c63·6f64·6520·636c··StatUV"><code·cl 
00002280:·6173·733d·2278·7265·6620·7079·2070·792d··ass="xref·py·py- 
00002290:·6f62·6a20·646f·6375·7469·6c73·206c·6974··obj·docutils·lit 
000022a0:·6572·616c·206e·6f74·7261·6e73·6c61·7465··eral·notranslate 
000022b0:·223e·3c73·7061·6e20·636c·6173·733d·2270··"><span·class="p 
000022c0:·7265·223e·6465·7363·7269·7074·6976·652e··re">descriptive. 
000022d0:·4465·7363·5374·6174·5556·3c2f·7370·616e··DescStatUV</span 
000022e0:·3e3c·2f63·6f64·653e·3c2f·613e·2865·6e64··></code></a>(end 
000022f0:·6f67·293c·2f74·643e·0a3c·7464·3e41·2063··og)</td>.<td>A·c 
00002300:·6c61·7373·2074·6f20·636f·6d70·7574·6520··lass·to·compute· 
00002310:·636f·6e66·6964·656e·6365·2069·6e74·6572··confidence·inter 
00002320:·7661·6c73·2061·6e64·2068·7970·6f74·6865··vals·and·hypothe 
00002330:·7369·7320·7465·7374·7320·696e·766f·6c76··sis·tests·involv 
Max diff block lines reached; 11151/36175 bytes (30.83%) of diff not shown.
3.54 KB
./usr/share/doc/python-statsmodels-doc/html/example_formulas.html
    
Offset 644, 22 lines modifiedOffset 644, 22 lines modified
00002830:·643a·2020·2020·2020·2020·2020·2020·2020··d:··············00002830:·643a·2020·2020·2020·2020·2020·2020·2020··d:··············
00002840:·2020·204c·6561·7374·2053·7175·6172·6573·····Least·Squares00002840:·2020·204c·6561·7374·2053·7175·6172·6573·····Least·Squares
00002850:·2020·2046·2d73·7461·7469·7374·6963·3a20·····F-statistic:·00002850:·2020·2046·2d73·7461·7469·7374·6963·3a20·····F-statistic:·
00002860:·2020·2020·2020·2020·2020·2020·2020·2020··················00002860:·2020·2020·2020·2020·2020·2020·2020·2020··················
00002870:·2020·2020·362e·3633·363c·2f73·7061·6e3e······6.636</span>00002870:·2020·2020·362e·3633·363c·2f73·7061·6e3e······6.636</span>
00002880:·0a3c·7370·616e·2063·6c61·7373·3d22·676f··.<span·class="go00002880:·0a3c·7370·616e·2063·6c61·7373·3d22·676f··.<span·class="go
00002890:·223e·4461·7465·3a20·2020·2020·2020·2020··">Date:·········00002890:·223e·4461·7465·3a20·2020·2020·2020·2020··">Date:·········
000028a0:·2020·2020·2020·2054·7565·2c20·3134·2044·········Tue,·14·D000028a0:·2020·2020·2020·2057·6564·2c20·3138·204a·········Wed,·18·J
000028b0:·6563·2032·3032·3120·2020·5072·6f62·2028··ec·2021···Prob·(000028b0:·616e·2032·3032·3320·2020·5072·6f62·2028··an·2023···Prob·(
000028c0:·462d·7374·6174·6973·7469·6329·3a20·2020··F-statistic):···000028c0:·462d·7374·6174·6973·7469·6329·3a20·2020··F-statistic):···
000028d0:·2020·2020·2020·2020·312e·3037·652d·3035··········1.07e-05000028d0:·2020·2020·2020·2020·312e·3037·652d·3035··········1.07e-05
000028e0:·3c2f·7370·616e·3e0a·3c73·7061·6e20·636c··</span>.<span·cl000028e0:·3c2f·7370·616e·3e0a·3c73·7061·6e20·636c··</span>.<span·cl
000028f0:·6173·733d·2267·6f22·3e54·696d·653a·2020··ass="go">Time:··000028f0:·6173·733d·2267·6f22·3e54·696d·653a·2020··ass="go">Time:··
00002900:·2020·2020·2020·2020·2020·2020·2020·2020··················00002900:·2020·2020·2020·2020·2020·2020·2020·2020··················
00002910:·2020·2020·2020·3139·3a34·323a·3030·2020········19:42:00··00002910:·2020·2020·2020·3035·3a30·383a·3536·2020········05:08:56··
00002920:·204c·6f67·2d4c·696b·656c·6968·6f6f·643a···Log-Likelihood:00002920:·204c·6f67·2d4c·696b·656c·6968·6f6f·643a···Log-Likelihood:
00002930:·2020·2020·2020·2020·2020·2020·2020·2020··················00002930:·2020·2020·2020·2020·2020·2020·2020·2020··················
00002940:·2d33·3735·2e33·303c·2f73·7061·6e3e·0a3c··-375.30</span>.<00002940:·2d33·3735·2e33·303c·2f73·7061·6e3e·0a3c··-375.30</span>.<
00002950:·7370·616e·2063·6c61·7373·3d22·676f·223e··span·class="go">00002950:·7370·616e·2063·6c61·7373·3d22·676f·223e··span·class="go">
00002960:·4e6f·2e20·4f62·7365·7276·6174·696f·6e73··No.·Observations00002960:·4e6f·2e20·4f62·7365·7276·6174·696f·6e73··No.·Observations
00002970:·3a20·2020·2020·2020·2020·2020·2020·2020··:···············00002970:·3a20·2020·2020·2020·2020·2020·2020·2020··:···············
00002980:·2020·2038·3520·2020·4149·433a·2020·2020·····85···AIC:····00002980:·2020·2038·3520·2020·4149·433a·2020·2020·····85···AIC:····
Offset 1942, 22 lines modifiedOffset 1942, 22 lines modified
00007950:·2020·2020·2020·2020·2020·2020·2020·2020··················00007950:·2020·2020·2020·2020·2020·2020·2020·2020··················
00007960:·4c65·6173·7420·5371·7561·7265·7320·2020··Least·Squares···00007960:·4c65·6173·7420·5371·7561·7265·7320·2020··Least·Squares···
00007970:·462d·7374·6174·6973·7469·633a·2020·2020··F-statistic:····00007970:·462d·7374·6174·6973·7469·633a·2020·2020··F-statistic:····
00007980:·2020·2020·2020·2020·2020·2020·2020·2020··················00007980:·2020·2020·2020·2020·2020·2020·2020·2020··················
00007990:·2031·322e·3036·3c2f·7370·616e·3e0a·3c73···12.06</span>.<s00007990:·2031·322e·3036·3c2f·7370·616e·3e0a·3c73···12.06</span>.<s
000079a0:·7061·6e20·636c·6173·733d·2267·6f22·3e44··pan·class="go">D000079a0:·7061·6e20·636c·6173·733d·2267·6f22·3e44··pan·class="go">D
000079b0:·6174·653a·2020·2020·2020·2020·2020·2020··ate:············000079b0:·6174·653a·2020·2020·2020·2020·2020·2020··ate:············
000079c0:·2020·2020·5475·652c·2031·3420·4465·6320······Tue,·14·Dec·000079c0:·2020·2020·5765·642c·2031·3820·4a61·6e20······Wed,·18·Jan·
000079d0:·3230·3231·2020·2050·726f·6220·2846·2d73··2021···Prob·(F-s000079d0:·3230·3233·2020·2050·726f·6220·2846·2d73··2023···Prob·(F-s
000079e0:·7461·7469·7374·6963·293a·2020·2020·2020··tatistic):······000079e0:·7461·7469·7374·6963·293a·2020·2020·2020··tatistic):······
000079f0:·2020·2020·2031·2e33·3265·2d30·363c·2f73·······1.32e-06</s000079f0:·2020·2020·2031·2e33·3265·2d30·363c·2f73·······1.32e-06</s
00007a00:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class00007a00:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class
00007a10:·3d22·676f·223e·5469·6d65·3a20·2020·2020··="go">Time:·····00007a10:·3d22·676f·223e·5469·6d65·3a20·2020·2020··="go">Time:·····
00007a20:·2020·2020·2020·2020·2020·2020·2020·2020··················00007a20:·2020·2020·2020·2020·2020·2020·2020·2020··················
00007a30:·2020·2031·393a·3432·3a30·3120·2020·4c6f·····19:42:01···Lo00007a30:·2020·2030·353a·3038·3a35·3620·2020·4c6f·····05:08:56···Lo
00007a40:·672d·4c69·6b65·6c69·686f·6f64·3a20·2020··g-Likelihood:···00007a40:·672d·4c69·6b65·6c69·686f·6f64·3a20·2020··g-Likelihood:···
00007a50:·2020·2020·2020·2020·2020·2020·202d·3337···············-3700007a50:·2020·2020·2020·2020·2020·2020·202d·3337···············-37
00007a60:·372e·3133·3c2f·7370·616e·3e0a·3c73·7061··7.13</span>.<spa00007a60:·372e·3133·3c2f·7370·616e·3e0a·3c73·7061··7.13</span>.<spa
00007a70:·6e20·636c·6173·733d·2267·6f22·3e4e·6f2e··n·class="go">No.00007a70:·6e20·636c·6173·733d·2267·6f22·3e4e·6f2e··n·class="go">No.
00007a80:·204f·6273·6572·7661·7469·6f6e·733a·2020···Observations:··00007a80:·204f·6273·6572·7661·7469·6f6e·733a·2020···Observations:··
00007a90:·2020·2020·2020·2020·2020·2020·2020·2020··················00007a90:·2020·2020·2020·2020·2020·2020·2020·2020··················
00007aa0:·3835·2020·2041·4943·3a20·2020·2020·2020··85···AIC:·······00007aa0:·3835·2020·2041·4943·3a20·2020·2020·2020··85···AIC:·······
1.53 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/chi2_fitting.html
    
Offset 13432, 16 lines modifiedOffset 13432, 16 lines modified
  
13432 <div·class="output_subarea·output_stream·output_stdout·output_text">13432 <div·class="output_subarea·output_stream·output_stdout·output_text">
13433 <pre>····························WLS·Regression·Results····························13433 <pre>····························WLS·Regression·Results····························
13434 ==============================================================================13434 ==============================================================================
13435 Dep.·Variable:······················y···R-squared:·······················0.40013435 Dep.·Variable:······················y···R-squared:·······················0.400
13436 Model:····························WLS···Adj.·R-squared:··················0.36713436 Model:····························WLS···Adj.·R-squared:··················0.367
13437 Method:·················Least·Squares···F-statistic:·····················193.513437 Method:·················Least·Squares···F-statistic:·····················193.5
13438 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········4.52e-1113438 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········4.52e-11
13439 Time:························19:41:20···Log-Likelihood:················-119.0613439 Time:························05:06:57···Log-Likelihood:················-119.06
13440 No.·Observations:··················20···AIC:·····························242.113440 No.·Observations:··················20···AIC:·····························242.1
13441 Df·Residuals:······················18···BIC:·····························244.113441 Df·Residuals:······················18···BIC:·····························244.1
13442 Df·Model:···························1·········································13442 Df·Model:···························1·········································
13443 Covariance·Type:··········fixed·scale·········································13443 Covariance·Type:··········fixed·scale·········································
13444 ==============================================================================13444 ==============================================================================
13445 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13445 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13446 ------------------------------------------------------------------------------13446 ------------------------------------------------------------------------------
3.14 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_example.html
    
Offset 13527, 16 lines modifiedOffset 13527, 16 lines modified
  
13527 <div·class="output_subarea·output_stream·output_stdout·output_text">13527 <div·class="output_subarea·output_stream·output_stdout·output_text">
13528 <pre>···························Logit·Regression·Results···························13528 <pre>···························Logit·Regression·Results···························
13529 ==============================================================================13529 ==============================================================================
13530 Dep.·Variable:·················affair···No.·Observations:·················636613530 Dep.·Variable:·················affair···No.·Observations:·················6366
13531 Model:··························Logit···Df·Residuals:·····················635713531 Model:··························Logit···Df·Residuals:·····················6357
13532 Method:···························MLE···Df·Model:····························813532 Method:···························MLE···Df·Model:····························8
13533 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.132713533 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.1327
13534 Time:························19:41:01···Log-Likelihood:················-3471.513534 Time:························05:06:28···Log-Likelihood:················-3471.5
13535 converged:·······················True···LL-Null:·······················-4002.513535 converged:·······················True···LL-Null:·······················-4002.5
13536 ········································LLR·p-value:················5.807e-22413536 ········································LLR·p-value:················5.807e-224
13537 ===================================================================================13537 ===================================================================================
13538 ······················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13538 ······················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13539 -----------------------------------------------------------------------------------13539 -----------------------------------------------------------------------------------
13540 Intercept···········3.7257······0.299·····12.470······0.000·······3.140·······4.31113540 Intercept···········3.7257······0.299·····12.470······0.000·······3.140·······4.311
13541 occupation··········0.1602······0.034······4.717······0.000·······0.094·······0.22713541 occupation··········0.1602······0.034······4.717······0.000·······0.094·······0.227
Offset 14422, 16 lines modifiedOffset 14422, 16 lines modified
14422 <pre>··················Generalized·Linear·Model·Regression·Results···················14422 <pre>··················Generalized·Linear·Model·Regression·Results···················
14423 ================================================================================14423 ================================================================================
14424 Dep.·Variable:·····[&#39;NABOVE&#39;,·&#39;NBELOW&#39;]···No.·Observations:··················30314424 Dep.·Variable:·····[&#39;NABOVE&#39;,·&#39;NBELOW&#39;]···No.·Observations:··················303
14425 Model:······························GLM···Df·Residuals:······················28214425 Model:······························GLM···Df·Residuals:······················282
14426 Model·Family:··················Binomial···Df·Model:···························2014426 Model·Family:··················Binomial···Df·Model:···························20
14427 Link·Function:····················logit···Scale:·····························1.014427 Link·Function:····················logit···Scale:·····························1.0
14428 Method:····························IRLS···Log-Likelihood:················-2998.614428 Method:····························IRLS···Log-Likelihood:················-2998.6
14429 Date:··················Tue,·14·Dec·2021···Deviance:·······················4078.814429 Date:··················Wed,·18·Jan·2023···Deviance:·······················4078.8
14430 Time:··························19:41:04···Pearson·chi2:·····················9.6014430 Time:··························05:06:31···Pearson·chi2:·····················9.60
14431 No.·Iterations:·······················5·········································14431 No.·Iterations:·······················5·········································
14432 ============================================================================================14432 ============================================================================================
14433 ·······························coef····std·err··········z······P&gt;|z|······[0.025······0.975]14433 ·······························coef····std·err··········z······P&gt;|z|······[0.025······0.975]
14434 --------------------------------------------------------------------------------------------14434 --------------------------------------------------------------------------------------------
14435 Intercept····················2.9589······1.547······1.913······0.056······-0.073·······5.99014435 Intercept····················2.9589······1.547······1.913······0.056······-0.073·······5.990
14436 LOWINC······················-0.0168······0.000····-38.749······0.000······-0.018······-0.01614436 LOWINC······················-0.0168······0.000····-38.749······0.000······-0.018······-0.016
14437 PERASIAN·····················0.0099······0.001·····16.505······0.000·······0.009·······0.01114437 PERASIAN·····················0.0099······0.001·····16.505······0.000·······0.009·······0.011
7.17 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/discrete_choice_overview.html
    
Offset 13487, 16 lines modifiedOffset 13487, 16 lines modified
  
13487 <div·class="output_subarea·output_stream·output_stdout·output_text">13487 <div·class="output_subarea·output_stream·output_stdout·output_text">
13488 <pre>···························Logit·Regression·Results···························13488 <pre>···························Logit·Regression·Results···························
13489 ==============================================================================13489 ==============================================================================
13490 Dep.·Variable:······················y···No.·Observations:···················3213490 Dep.·Variable:······················y···No.·Observations:···················32
13491 Model:··························Logit···Df·Residuals:·······················2813491 Model:··························Logit···Df·Residuals:·······················28
13492 Method:···························MLE···Df·Model:····························313492 Method:···························MLE···Df·Model:····························3
13493 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.374013493 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.3740
13494 Time:························19:41:19···Log-Likelihood:················-12.89013494 Time:························05:06:52···Log-Likelihood:················-12.890
13495 converged:·······················True···LL-Null:·······················-20.59213495 converged:·······················True···LL-Null:·······················-20.592
13496 ········································LLR·p-value:··················0.00150213496 ········································LLR·p-value:··················0.001502
13497 ==============================================================================13497 ==============================================================================
13498 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13498 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13499 ------------------------------------------------------------------------------13499 ------------------------------------------------------------------------------
13500 x1·············2.8261······1.263······2.238······0.025·······0.351·······5.30113500 x1·············2.8261······1.263······2.238······0.025·······0.351·······5.301
13501 x2·············0.0952······0.142······0.672······0.501······-0.182·······0.37313501 x2·············0.0952······0.142······0.672······0.501······-0.182·······0.373
Offset 13797, 16 lines modifiedOffset 13797, 16 lines modified
13797 ·········Current·function·value:·3.09160913797 ·········Current·function·value:·3.091609
13798 ·········Iterations·1213798 ·········Iterations·12
13799 ··························Poisson·Regression·Results··························13799 ··························Poisson·Regression·Results··························
13800 ==============================================================================13800 ==============================================================================
13801 Dep.·Variable:······················y···No.·Observations:················2019013801 Dep.·Variable:······················y···No.·Observations:················20190
13802 Model:························Poisson···Df·Residuals:····················2018013802 Model:························Poisson···Df·Residuals:····················20180
13803 Method:···························MLE···Df·Model:····························913803 Method:···························MLE···Df·Model:····························9
13804 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.0634313804 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.06343
13805 Time:························19:41:21···Log-Likelihood:················-62420.13805 Time:························05:06:55···Log-Likelihood:················-62420.
13806 converged:·······················True···LL-Null:·······················-66647.13806 converged:·······················True···LL-Null:·······················-66647.
13807 ········································LLR·p-value:·····················0.00013807 ········································LLR·p-value:·····················0.000
13808 ==============================================================================13808 ==============================================================================
13809 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13809 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13810 ------------------------------------------------------------------------------13810 ------------------------------------------------------------------------------
13811 x1············-0.0525······0.003····-18.216······0.000······-0.058······-0.04713811 x1············-0.0525······0.003····-18.216······0.000······-0.058······-0.047
13812 x2············-0.2471······0.011····-23.272······0.000······-0.268······-0.22613812 x2············-0.2471······0.011····-23.272······0.000······-0.268······-0.226
Offset 13872, 16 lines modifiedOffset 13872, 16 lines modified
  
13872 <div·class="output_subarea·output_stream·output_stdout·output_text">13872 <div·class="output_subarea·output_stream·output_stdout·output_text">
13873 <pre>·····················NegativeBinomial·Regression·Results······················13873 <pre>·····················NegativeBinomial·Regression·Results······················
13874 ==============================================================================13874 ==============================================================================
13875 Dep.·Variable:······················y···No.·Observations:················2019013875 Dep.·Variable:······················y···No.·Observations:················20190
13876 Model:···············NegativeBinomial···Df·Residuals:····················2018013876 Model:···············NegativeBinomial···Df·Residuals:····················20180
13877 Method:···························MLE···Df·Model:····························913877 Method:···························MLE···Df·Model:····························9
13878 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.0184513878 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.01845
13879 Time:························19:41:22···Log-Likelihood:················-43384.13879 Time:························05:06:59···Log-Likelihood:················-43384.
13880 converged:······················False···LL-Null:·······················-44199.13880 converged:······················False···LL-Null:·······················-44199.
13881 ········································LLR·p-value:·····················0.00013881 ········································LLR·p-value:·····················0.000
13882 ==============================================================================13882 ==============================================================================
13883 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13883 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13884 ------------------------------------------------------------------------------13884 ------------------------------------------------------------------------------
13885 x1············-0.0580······0.006·····-9.517······0.000······-0.070······-0.04613885 x1············-0.0580······0.006·····-9.517······0.000······-0.070······-0.046
13886 x2············-0.2678······0.023····-11.802······0.000······-0.312······-0.22313886 x2············-0.2678······0.023····-11.802······0.000······-0.312······-0.223
Offset 13935, 21 lines modifiedOffset 13935, 43 lines modified
  
13935 <div·class="output_subarea·output_stream·output_stdout·output_text">13935 <div·class="output_subarea·output_stream·output_stdout·output_text">
13936 <pre>Warning:·Maximum·number·of·iterations·has·been·exceeded.13936 <pre>Warning:·Maximum·number·of·iterations·has·been·exceeded.
13937 ·········Current·function·value:·1.54865013937 ·········Current·function·value:·1.548650
13938 ·········Iterations:·10013938 ·········Iterations:·100
13939 ·········Function·evaluations:·10613939 ·········Function·evaluations:·106
13940 ·········Gradient·evaluations:·10613940 ·········Gradient·evaluations:·106
 13941 </pre>
 13942 </div>
 13943 </div>
  
 13944 <div·class="output_area">
  
 13945 ····<div·class="prompt"></div>
  
  
 13946 <div·class="output_subarea·output_stream·output_stderr·output_text">
 13947 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals
 13948 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
 13949 </pre>
 13950 </div>
 13951 </div>
  
 13952 <div·class="output_area">
  
 13953 ····<div·class="prompt"></div>
  
  
 13954 <div·class="output_subarea·output_stream·output_stdout·output_text">
13941 ··························MNLogit·Regression·Results··························13955 <pre>··························MNLogit·Regression·Results··························
13942 ==============================================================================13956 ==============================================================================
13943 Dep.·Variable:······················y···No.·Observations:··················94413957 Dep.·Variable:······················y···No.·Observations:··················944
13944 Model:························MNLogit···Df·Residuals:······················90813958 Model:························MNLogit···Df·Residuals:······················908
13945 Method:···························MLE···Df·Model:···························3013959 Method:···························MLE···Df·Model:···························30
13946 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.164813960 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.1648
13947 Time:························19:41:22···Log-Likelihood:················-1461.913961 Time:························05:06:59···Log-Likelihood:················-1461.9
13948 converged:······················False···LL-Null:·······················-1750.313962 converged:······················False···LL-Null:·······················-1750.3
13949 ········································LLR·p-value:················1.827e-10213963 ········································LLR·p-value:················1.827e-102
13950 ==============================================================================13964 ==============================================================================
13951 ·······y=1·······coef····std·err··········z······P&gt;|z|······[0.025······0.975]13965 ·······y=1·······coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13952 ------------------------------------------------------------------------------13966 ------------------------------------------------------------------------------
13953 x1············-0.0116······0.034·····-0.338······0.735······-0.079·······0.05613967 x1············-0.0116······0.034·····-0.338······0.735······-0.079·······0.056
13954 x2·············0.2973······0.094······3.175······0.001·······0.114·······0.48113968 x2·············0.2973······0.094······3.175······0.001·······0.114·······0.481
Offset 14003, 26 lines modifiedOffset 14025, 14 lines modified
14003 x5·············0.1087······0.025······4.299······0.000·······0.059·······0.15814025 x5·············0.1087······0.025······4.299······0.000·······0.059·······0.158
14004 const········-12.0913······1.059····-11.415······0.000·····-14.167·····-10.01514026 const········-12.0913······1.059····-11.415······0.000·····-14.167·····-10.015
14005 ==============================================================================14027 ==============================================================================
14006 </pre>14028 </pre>
14007 </div>14029 </div>
14008 </div>14030 </div>
  
14009 <div·class="output_area"> 
  
14010 ····<div·class="prompt"></div> 
  
  
14011 <div·class="output_subarea·output_stream·output_stderr·output_text"> 
14012 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals 
14013 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning) 
14014 </pre> 
14015 </div> 
14016 </div> 
  
14017 </div>14031 </div>
14018 </div>14032 </div>
  
14019 </div>14033 </div>
14020 ····</div>14034 ····</div>
14021 ··</div>14035 ··</div>
14022 </body>14036 </body>
2.89 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/formulas.html
    
Offset 13540, 16 lines modifiedOffset 13540, 16 lines modified
  
13540 <div·class="output_subarea·output_stream·output_stdout·output_text">13540 <div·class="output_subarea·output_stream·output_stdout·output_text">
13541 <pre>····························OLS·Regression·Results····························13541 <pre>····························OLS·Regression·Results····························
13542 ==============================================================================13542 ==============================================================================
13543 Dep.·Variable:················Lottery···R-squared:·······················0.33813543 Dep.·Variable:················Lottery···R-squared:·······················0.338
13544 Model:····························OLS···Adj.·R-squared:··················0.28713544 Model:····························OLS···Adj.·R-squared:··················0.287
13545 Method:·················Least·Squares···F-statistic:·····················6.63613545 Method:·················Least·Squares···F-statistic:·····················6.636
13546 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.07e-0513546 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.07e-05
13547 Time:························19:41:16···Log-Likelihood:················-375.3013547 Time:························05:06:50···Log-Likelihood:················-375.30
13548 No.·Observations:··················85···AIC:·····························764.613548 No.·Observations:··················85···AIC:·····························764.6
13549 Df·Residuals:······················78···BIC:·····························781.713549 Df·Residuals:······················78···BIC:·····························781.7
13550 Df·Model:···························6·········································13550 Df·Model:···························6·········································
13551 Covariance·Type:············nonrobust·········································13551 Covariance·Type:············nonrobust·········································
13552 ===============================================================================13552 ===============================================================================
13553 ··················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13553 ··················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13554 -------------------------------------------------------------------------------13554 -------------------------------------------------------------------------------
Offset 13963, 16 lines modifiedOffset 13963, 16 lines modified
  
13963 <div·class="output_subarea·output_stream·output_stdout·output_text">13963 <div·class="output_subarea·output_stream·output_stdout·output_text">
13964 <pre>····························OLS·Regression·Results····························13964 <pre>····························OLS·Regression·Results····························
13965 ==============================================================================13965 ==============================================================================
13966 Dep.·Variable:················Lottery···R-squared:·······················0.30913966 Dep.·Variable:················Lottery···R-squared:·······················0.309
13967 Model:····························OLS···Adj.·R-squared:··················0.28313967 Model:····························OLS···Adj.·R-squared:··················0.283
13968 Method:·················Least·Squares···F-statistic:·····················12.0613968 Method:·················Least·Squares···F-statistic:·····················12.06
13969 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.32e-0613969 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.32e-06
13970 Time:························19:41:17···Log-Likelihood:················-377.1313970 Time:························05:06:50···Log-Likelihood:················-377.13
13971 No.·Observations:··················85···AIC:·····························762.313971 No.·Observations:··················85···AIC:·····························762.3
13972 Df·Residuals:······················81···BIC:·····························772.013972 Df·Residuals:······················81···BIC:·····························772.0
13973 Df·Model:···························3·········································13973 Df·Model:···························3·········································
13974 Covariance·Type:············nonrobust·········································13974 Covariance·Type:············nonrobust·········································
13975 ===================================================================================13975 ===================================================================================
13976 ······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13976 ······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13977 -----------------------------------------------------------------------------------13977 -----------------------------------------------------------------------------------
4.22 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/generic_mle.html
    
Offset 13406, 16 lines modifiedOffset 13406, 16 lines modified
13406 ·········Iterations:·29213406 ·········Iterations:·292
13407 ·········Function·evaluations:·49413407 ·········Function·evaluations:·494
13408 ·······························MyProbit·Results·······························13408 ·······························MyProbit·Results·······························
13409 ==============================================================================13409 ==============================================================================
13410 Dep.·Variable:··················GRADE···Log-Likelihood:················-12.81913410 Dep.·Variable:··················GRADE···Log-Likelihood:················-12.819
13411 Model:·······················MyProbit···AIC:·····························33.6413411 Model:·······················MyProbit···AIC:·····························33.64
13412 Method:············Maximum·Likelihood···BIC:·····························39.5013412 Method:············Maximum·Likelihood···BIC:·····························39.50
13413 Date:················Tue,·14·Dec·2021·········································13413 Date:················Wed,·18·Jan·2023·········································
13414 Time:························19:41:16·········································13414 Time:························05:06:47·········································
13415 No.·Observations:··················32·········································13415 No.·Observations:··················32·········································
13416 Df·Residuals:······················28·········································13416 Df·Residuals:······················28·········································
13417 Df·Model:···························3·········································13417 Df·Model:···························3·········································
13418 ==============================================================================13418 ==============================================================================
13419 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13419 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13420 ------------------------------------------------------------------------------13420 ------------------------------------------------------------------------------
13421 const·········-7.4523······2.542·····-2.931······0.003·····-12.435······-2.46913421 const·········-7.4523······2.542·····-2.931······0.003·····-12.435······-2.469
Offset 13970, 16 lines modifiedOffset 13970, 16 lines modified
  
13970 <div·class="output_subarea·output_stream·output_stdout·output_text">13970 <div·class="output_subarea·output_stream·output_stdout·output_text">
13971 <pre>·································NBin·Results·································13971 <pre>·································NBin·Results·································
13972 ==============================================================================13972 ==============================================================================
13973 Dep.·Variable:····················los···Log-Likelihood:················-4797.513973 Dep.·Variable:····················los···Log-Likelihood:················-4797.5
13974 Model:···························NBin···AIC:·····························9605.13974 Model:···························NBin···AIC:·····························9605.
13975 Method:············Maximum·Likelihood···BIC:·····························9632.13975 Method:············Maximum·Likelihood···BIC:·····························9632.
13976 Date:················Tue,·14·Dec·2021·········································13976 Date:················Wed,·18·Jan·2023·········································
13977 Time:························19:41:18·········································13977 Time:························05:06:52·········································
13978 No.·Observations:················1495·········································13978 No.·Observations:················1495·········································
13979 Df·Residuals:····················1490·········································13979 Df·Residuals:····················1490·········································
13980 Df·Model:···························4·········································13980 Df·Model:···························4·········································
13981 ==============================================================================13981 ==============================================================================
13982 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13982 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13983 ------------------------------------------------------------------------------13983 ------------------------------------------------------------------------------
13984 type2··········0.2213······0.051······4.373······0.000·······0.122·······0.32013984 type2··········0.2213······0.051······4.373······0.000·······0.122·······0.320
Offset 14036, 16 lines modifiedOffset 14036, 16 lines modified
  
14036 <div·class="output_subarea·output_stream·output_stdout·output_text">14036 <div·class="output_subarea·output_stream·output_stdout·output_text">
14037 <pre>·····················NegativeBinomial·Regression·Results······················14037 <pre>·····················NegativeBinomial·Regression·Results······················
14038 ==============================================================================14038 ==============================================================================
14039 Dep.·Variable:····················los···No.·Observations:·················149514039 Dep.·Variable:····················los···No.·Observations:·················1495
14040 Model:···············NegativeBinomial···Df·Residuals:·····················149014040 Model:···············NegativeBinomial···Df·Residuals:·····················1490
14041 Method:···························MLE···Df·Model:····························414041 Method:···························MLE···Df·Model:····························4
14042 Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.0121514042 Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.01215
14043 Time:························19:41:19···Log-Likelihood:················-4797.514043 Time:························05:06:52···Log-Likelihood:················-4797.5
14044 converged:·······················True···LL-Null:·······················-4856.514044 converged:·······················True···LL-Null:·······················-4856.5
14045 ········································LLR·p-value:·················1.404e-2414045 ········································LLR·p-value:·················1.404e-24
14046 ==============================================================================14046 ==============================================================================
14047 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]14047 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
14048 ------------------------------------------------------------------------------14048 ------------------------------------------------------------------------------
14049 type2··········0.2212······0.051······4.373······0.000·······0.122·······0.32014049 type2··········0.2212······0.051······4.373······0.000·······0.122·······0.320
14050 type3··········0.7062······0.076······9.276······0.000·······0.557·······0.85514050 type3··········0.7062······0.076······9.276······0.000·······0.557·······0.855
4.57 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm.html
    
Offset 13493, 16 lines modifiedOffset 13493, 16 lines modified
13493 <pre>·················Generalized·Linear·Model·Regression·Results··················13493 <pre>·················Generalized·Linear·Model·Regression·Results··················
13494 ==============================================================================13494 ==============================================================================
13495 Dep.·Variable:···········[&#39;y1&#39;,·&#39;y2&#39;]···No.·Observations:··················30313495 Dep.·Variable:···········[&#39;y1&#39;,·&#39;y2&#39;]···No.·Observations:··················303
13496 Model:····························GLM···Df·Residuals:······················28213496 Model:····························GLM···Df·Residuals:······················282
13497 Model·Family:················Binomial···Df·Model:···························2013497 Model·Family:················Binomial···Df·Model:···························20
13498 Link·Function:··················logit···Scale:·····························1.013498 Link·Function:··················logit···Scale:·····························1.0
13499 Method:··························IRLS···Log-Likelihood:················-2998.613499 Method:··························IRLS···Log-Likelihood:················-2998.6
13500 Date:················Tue,·14·Dec·2021···Deviance:·······················4078.813500 Date:················Wed,·18·Jan·2023···Deviance:·······················4078.8
13501 Time:························19:41:15···Pearson·chi2:·····················9.6013501 Time:························05:06:49···Pearson·chi2:·····················9.60
13502 No.·Iterations:·····················5·········································13502 No.·Iterations:·····················5·········································
13503 ==============================================================================13503 ==============================================================================
13504 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13504 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13505 ------------------------------------------------------------------------------13505 ------------------------------------------------------------------------------
13506 x1············-0.0168······0.000····-38.749······0.000······-0.018······-0.01613506 x1············-0.0168······0.000····-38.749······0.000······-0.018······-0.016
13507 x2·············0.0099······0.001·····16.505······0.000·······0.009·······0.01113507 x2·············0.0099······0.001·····16.505······0.000·······0.009·······0.011
13508 x3············-0.0187······0.001····-25.182······0.000······-0.020······-0.01713508 x3············-0.0187······0.001····-25.182······0.000······-0.020······-0.017
Offset 14081, 16 lines modifiedOffset 14081, 16 lines modified
14081 <pre>···················Generalized·Linear·Model·Regression·Results···················14081 <pre>···················Generalized·Linear·Model·Regression·Results···················
14082 =================================================================================14082 =================================================================================
14083 Dep.·Variable:······················y···No.·Observations:······················3214083 Dep.·Variable:······················y···No.·Observations:······················32
14084 Model:····························GLM···Df·Residuals:··························2414084 Model:····························GLM···Df·Residuals:··························24
14085 Model·Family:···················Gamma···Df·Model:·······························714085 Model·Family:···················Gamma···Df·Model:·······························7
14086 Link·Function:··········inverse_power···Scale:··············0.003584283173495690614086 Link·Function:··········inverse_power···Scale:··············0.0035842831734956906
14087 Method:··························IRLS···Log-Likelihood:···················-83.01714087 Method:··························IRLS···Log-Likelihood:···················-83.017
14088 Date:················Tue,·14·Dec·2021···Deviance:························0.08738914088 Date:················Wed,·18·Jan·2023···Deviance:························0.087389
14089 Time:························19:41:19···Pearson·chi2:······················0.086014089 Time:························05:06:53···Pearson·chi2:······················0.0860
14090 No.·Iterations:·····················4············································14090 No.·Iterations:·····················4············································
14091 ==============================================================================14091 ==============================================================================
14092 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]14092 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
14093 ------------------------------------------------------------------------------14093 ------------------------------------------------------------------------------
14094 x1··········4.962e-05···1.62e-05······3.060······0.002····1.78e-05····8.14e-0514094 x1··········4.962e-05···1.62e-05······3.060······0.002····1.78e-05····8.14e-05
14095 x2·············0.0020······0.001······3.824······0.000·······0.001·······0.00314095 x2·············0.0020······0.001······3.824······0.000·······0.001·······0.003
14096 x3·········-7.181e-05···2.71e-05·····-2.648······0.008······-0.000···-1.87e-0514096 x3·········-7.181e-05···2.71e-05·····-2.648······0.008······-0.000···-1.87e-05
Offset 14179, 16 lines modifiedOffset 14179, 16 lines modified
14179 <pre>···················Generalized·Linear·Model·Regression·Results····················14179 <pre>···················Generalized·Linear·Model·Regression·Results····················
14180 ==================================================================================14180 ==================================================================================
14181 Dep.·Variable:······················y···No.·Observations:······················10014181 Dep.·Variable:······················y···No.·Observations:······················100
14182 Model:····························GLM···Df·Residuals:···························9714182 Model:····························GLM···Df·Residuals:···························97
14183 Model·Family:················Gaussian···Df·Model:································214183 Model·Family:················Gaussian···Df·Model:································2
14184 Link·Function:····················log···Scale:··············1.0531142558806881e-0714184 Link·Function:····················log···Scale:··············1.0531142558806881e-07
14185 Method:··························IRLS···Log-Likelihood:·····················662.9214185 Method:··························IRLS···Log-Likelihood:·····················662.92
14186 Date:················Tue,·14·Dec·2021···Deviance:·······················1.0215e-0514186 Date:················Wed,·18·Jan·2023···Deviance:·······················1.0215e-05
14187 Time:························19:41:19···Pearson·chi2:·····················1.02e-0514187 Time:························05:06:53···Pearson·chi2:·····················1.02e-05
14188 No.·Iterations:·····················5·············································14188 No.·Iterations:·····················5·············································
14189 ==============================================================================14189 ==============================================================================
14190 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]14190 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
14191 ------------------------------------------------------------------------------14191 ------------------------------------------------------------------------------
14192 x1············-0.0300····5.6e-06··-5361.333······0.000······-0.030······-0.03014192 x1············-0.0300····5.6e-06··-5361.333······0.000······-0.030······-0.030
14193 x2·········-9.939e-05···1.05e-07···-951.097······0.000···-9.96e-05···-9.92e-0514193 x2·········-9.939e-05···1.05e-07···-951.097······0.000···-9.96e-05···-9.92e-05
14194 const··········1.0003···5.39e-05···1.86e+04······0.000·······1.000·······1.00014194 const··········1.0003···5.39e-05···1.86e+04······0.000·······1.000·······1.000
1.85 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/glm_formula.html
    
Offset 13303, 18 lines modifiedOffset 13303, 18 lines modified
13303 <tr>13303 <tr>
13304 ··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··13304 ··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··
13305 </tr>13305 </tr>
13306 <tr>13306 <tr>
13307 ··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>13307 ··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>
13308 </tr>13308 </tr>
13309 <tr>13309 <tr>
13310 ··<th>Date:</th>···········<td>Tue,·14·Dec·2021</td>·<th>··Deviance:··········</th>·<td>··380.66</td>13310 ··<th>Date:</th>···········<td>Wed,·18·Jan·2023</td>·<th>··Deviance:··········</th>·<td>··380.66</td>
13311 </tr>13311 </tr>
13312 <tr>13312 <tr>
13313 ··<th>Time:</th>···············<td>19:41:14</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·13313 ··<th>Time:</th>···············<td>05:06:47</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·
13314 </tr>13314 </tr>
13315 <tr>13315 <tr>
13316 ··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···13316 ··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···
13317 </tr>13317 </tr>
13318 </table>13318 </table>
13319 <table·class="simpletable">13319 <table·class="simpletable">
13320 <tr>13320 <tr>
Offset 13442, 18 lines modifiedOffset 13442, 18 lines modified
13442 <tr>13442 <tr>
13443 ··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··13443 ··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··
13444 </tr>13444 </tr>
13445 <tr>13445 <tr>
13446 ··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>13446 ··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>
13447 </tr>13447 </tr>
13448 <tr>13448 <tr>
13449 ··<th>Date:</th>···········<td>Tue,·14·Dec·2021</td>·<th>··Deviance:··········</th>·<td>··380.66</td>13449 ··<th>Date:</th>···········<td>Wed,·18·Jan·2023</td>·<th>··Deviance:··········</th>·<td>··380.66</td>
13450 </tr>13450 </tr>
13451 <tr>13451 <tr>
13452 ··<th>Time:</th>···············<td>19:41:14</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·13452 ··<th>Time:</th>···············<td>05:06:47</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·
13453 </tr>13453 </tr>
13454 <tr>13454 <tr>
13455 ··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···13455 ··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···
13456 </tr>13456 </tr>
13457 </table>13457 </table>
13458 <table·class="simpletable">13458 <table·class="simpletable">
13459 <tr>13459 <tr>
1.51 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/gls.html
    
Offset 13512, 16 lines modifiedOffset 13512, 16 lines modified
  
13512 <div·class="output_subarea·output_stream·output_stdout·output_text">13512 <div·class="output_subarea·output_stream·output_stdout·output_text">
13513 <pre>···························GLSAR·Regression·Results···························13513 <pre>···························GLSAR·Regression·Results···························
13514 ==============================================================================13514 ==============================================================================
13515 Dep.·Variable:······················y···R-squared:·······················0.99613515 Dep.·Variable:······················y···R-squared:·······················0.996
13516 Model:··························GLSAR···Adj.·R-squared:··················0.99213516 Model:··························GLSAR···Adj.·R-squared:··················0.992
13517 Method:·················Least·Squares···F-statistic:·····················295.213517 Method:·················Least·Squares···F-statistic:·····················295.2
13518 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········6.09e-0913518 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········6.09e-09
13519 Time:························19:41:13···Log-Likelihood:················-102.0413519 Time:························05:06:46···Log-Likelihood:················-102.04
13520 No.·Observations:··················15···AIC:·····························218.113520 No.·Observations:··················15···AIC:·····························218.1
13521 Df·Residuals:·······················8···BIC:·····························223.013521 Df·Residuals:·······················8···BIC:·····························223.0
13522 Df·Model:···························6·········································13522 Df·Model:···························6·········································
13523 Covariance·Type:············nonrobust·········································13523 Covariance·Type:············nonrobust·········································
13524 ==============================================================================13524 ==============================================================================
13525 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13525 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13526 ------------------------------------------------------------------------------13526 ------------------------------------------------------------------------------
14.7 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_autoregression.html
    
Offset 13369, 18 lines modifiedOffset 13369, 18 lines modified
13369 <tr>13369 <tr>
13370 ··<th>Dep.·Variable:</th>·············<td>y</td>··········<th>··No.·Observations:··</th>····<td>131</td>··13370 ··<th>Dep.·Variable:</th>·············<td>y</td>··········<th>··No.·Observations:··</th>····<td>131</td>··
13371 </tr>13371 </tr>
13372 <tr>13372 <tr>
13373 ··<th>Model:</th>···········<td>MarkovAutoregression</td>·<th>··Log·Likelihood·····</th>·<td>-181.263</td>13373 ··<th>Model:</th>···········<td>MarkovAutoregression</td>·<th>··Log·Likelihood·····</th>·<td>-181.263</td>
13374 </tr>13374 </tr>
13375 <tr>13375 <tr>
13376 ··<th>Date:</th>··············<td>Tue,·14·Dec·2021</td>···<th>··AIC················</th>··<td>380.527</td>13376 ··<th>Date:</th>··············<td>Wed,·18·Jan·2023</td>···<th>··AIC················</th>··<td>380.527</td>
13377 </tr>13377 </tr>
13378 <tr>13378 <tr>
13379 ··<th>Time:</th>··················<td>19:41:18</td>·······<th>··BIC················</th>··<td>406.404</td>13379 ··<th>Time:</th>··················<td>05:06:47</td>·······<th>··BIC················</th>··<td>406.404</td>
13380 </tr>13380 </tr>
13381 <tr>13381 <tr>
13382 ··<th>Sample:</th>···············<td>04-01-1952</td>······<th>··HQIC···············</th>··<td>391.042</td>13382 ··<th>Sample:</th>···············<td>04-01-1952</td>······<th>··HQIC···············</th>··<td>391.042</td>
13383 </tr>13383 </tr>
13384 <tr>13384 <tr>
13385 ··<th></th>·····················<td>-·10-01-1984</td>·····<th>·····················</th>·····<td>·</td>···13385 ··<th></th>·····················<td>-·10-01-1984</td>·····<th>·····················</th>·····<td>·</td>···
13386 </tr>13386 </tr>
Offset 13684, 15 lines modifiedOffset 13684, 15 lines modified
13684 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13684 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
13685 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>13685 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
13686 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(13686 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
13687 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)13687 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
13688 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·13688 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
13689 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused13689 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
13690 During·handling·of·the·above·exception,·another·exception·occurred:13690 During·handling·of·the·above·exception,·another·exception·occurred:
  
13691 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)13691 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
13692 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13692 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13693 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>13693 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
13694 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout13694 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 13704, 15 lines modifiedOffset 13704, 15 lines modified
13704 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>13704 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
13705 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>13705 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
13706 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13706 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13707 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>13707 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
13708 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·13708 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
13709 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))13709 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
13710 During·handling·of·the·above·exception,·another·exception·occurred:13710 During·handling·of·the·above·exception,·another·exception·occurred:
  
13711 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)13711 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
13712 <span·class="ansi-green-fg">&lt;ipython-input-6-9e237cd253ae&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>13712 <span·class="ansi-green-fg">&lt;ipython-input-6-9e237cd253ae&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
13713 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Get·the·dataset</span>13713 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Get·the·dataset</span>
13714 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>ew_excs·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content13714 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>ew_excs·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content
Offset 13751, 15 lines modifiedOffset 13751, 15 lines modified
13751 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13751 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13752 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·13752 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
13753 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13753 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13754 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>13754 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
13755 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·13755 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
13756 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13756 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
13757 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>13757 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
13758 </div>13758 </div>
13759 </div>13759 </div>
  
13760 </div>13760 </div>
13761 </div>13761 </div>
  
13762 </div>13762 </div>
Offset 13999, 15 lines modifiedOffset 13999, 15 lines modified
13999 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13999 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
14000 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>14000 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
14001 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(14001 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
14002 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)14002 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
14003 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·14003 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
14004 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused14004 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
14005 During·handling·of·the·above·exception,·another·exception·occurred:14005 During·handling·of·the·above·exception,·another·exception·occurred:
  
14006 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)14006 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
14007 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>14007 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
14008 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>14008 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
14009 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout14009 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 14019, 15 lines modifiedOffset 14019, 15 lines modified
14019 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>14019 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
14020 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>14020 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
14021 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>14021 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
14022 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>14022 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
14023 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·14023 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
14024 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))14024 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
14025 During·handling·of·the·above·exception,·another·exception·occurred:14025 During·handling·of·the·above·exception,·another·exception·occurred:
  
14026 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)14026 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
14027 <span·class="ansi-green-fg">&lt;ipython-input-9-e3772af85a7a&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>14027 <span·class="ansi-green-fg">&lt;ipython-input-9-e3772af85a7a&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
14028 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Get·the·dataset</span>14028 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Get·the·dataset</span>
14029 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>filardo·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content14029 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>filardo·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content
Offset 14066, 15 lines modifiedOffset 14066, 15 lines modified
14066 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>14066 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
14067 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·14067 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
14068 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>14068 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
14069 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>14069 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
14070 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·14070 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
14071 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>14071 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
14072 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>14072 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
14073 </div>14073 </div>
14074 </div>14074 </div>
  
14075 </div>14075 </div>
14076 </div>14076 </div>
  
14077 </div>14077 </div>
4.76 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/markov_regression.html
    
Offset 13340, 18 lines modifiedOffset 13340, 18 lines modified
13340 <tr>13340 <tr>
13341 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>226</td>··13341 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>226</td>··
13342 </tr>13342 </tr>
13343 <tr>13343 <tr>
13344 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-508.636</td>13344 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-508.636</td>
13345 </tr>13345 </tr>
13346 <tr>13346 <tr>
13347 ··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>·<td>1027.272</td>13347 ··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>·<td>1027.272</td>
13348 </tr>13348 </tr>
13349 <tr>13349 <tr>
13350 ··<th>Time:</th>················<td>19:40:53</td>·····<th>··BIC················</th>·<td>1044.375</td>13350 ··<th>Time:</th>················<td>05:06:28</td>·····<th>··BIC················</th>·<td>1044.375</td>
13351 </tr>13351 </tr>
13352 <tr>13352 <tr>
13353 ··<th>Sample:</th>·············<td>07-01-1954</td>····<th>··HQIC···············</th>·<td>1034.174</td>13353 ··<th>Sample:</th>·············<td>07-01-1954</td>····<th>··HQIC···············</th>·<td>1034.174</td>
13354 </tr>13354 </tr>
13355 <tr>13355 <tr>
13356 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···13356 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···
13357 </tr>13357 </tr>
Offset 13556, 18 lines modifiedOffset 13556, 18 lines modified
13556 <tr>13556 <tr>
13557 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>225</td>··13557 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>225</td>··
13558 </tr>13558 </tr>
13559 <tr>13559 <tr>
13560 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-264.711</td>13560 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-264.711</td>
13561 </tr>13561 </tr>
13562 <tr>13562 <tr>
13563 ··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>543.421</td>13563 ··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>543.421</td>
13564 </tr>13564 </tr>
13565 <tr>13565 <tr>
13566 ··<th>Time:</th>················<td>19:40:53</td>·····<th>··BIC················</th>··<td>567.334</td>13566 ··<th>Time:</th>················<td>05:06:29</td>·····<th>··BIC················</th>··<td>567.334</td>
13567 </tr>13567 </tr>
13568 <tr>13568 <tr>
13569 ··<th>Sample:</th>·············<td>10-01-1954</td>····<th>··HQIC···············</th>··<td>553.073</td>13569 ··<th>Sample:</th>·············<td>10-01-1954</td>····<th>··HQIC···············</th>··<td>553.073</td>
13570 </tr>13570 </tr>
13571 <tr>13571 <tr>
13572 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···13572 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···
13573 </tr>13573 </tr>
Offset 13782, 18 lines modifiedOffset 13782, 18 lines modified
13782 <tr>13782 <tr>
13783 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··13783 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··
13784 </tr>13784 </tr>
13785 <tr>13785 <tr>
13786 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-229.256</td>13786 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-229.256</td>
13787 </tr>13787 </tr>
13788 <tr>13788 <tr>
13789 ··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>480.512</td>13789 ··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>480.512</td>
13790 </tr>13790 </tr>
13791 <tr>13791 <tr>
13792 ··<th>Time:</th>················<td>19:41:03</td>·····<th>··BIC················</th>··<td>517.942</td>13792 ··<th>Time:</th>················<td>05:06:40</td>·····<th>··BIC················</th>··<td>517.942</td>
13793 </tr>13793 </tr>
13794 <tr>13794 <tr>
13795 ··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>495.624</td>13795 ··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>495.624</td>
13796 </tr>13796 </tr>
13797 <tr>13797 <tr>
13798 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···13798 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···
13799 </tr>13799 </tr>
Offset 13894, 18 lines modifiedOffset 13894, 18 lines modified
13894 <tr>13894 <tr>
13895 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··13895 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··
13896 </tr>13896 </tr>
13897 <tr>13897 <tr>
13898 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-180.806</td>13898 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-180.806</td>
13899 </tr>13899 </tr>
13900 <tr>13900 <tr>
13901 ··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>399.611</td>13901 ··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>399.611</td>
13902 </tr>13902 </tr>
13903 <tr>13903 <tr>
13904 ··<th>Time:</th>················<td>19:41:03</td>·····<th>··BIC················</th>··<td>464.262</td>13904 ··<th>Time:</th>················<td>05:06:40</td>·····<th>··BIC················</th>··<td>464.262</td>
13905 </tr>13905 </tr>
13906 <tr>13906 <tr>
13907 ··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>425.713</td>13907 ··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>425.713</td>
13908 </tr>13908 </tr>
13909 <tr>13909 <tr>
13910 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···13910 ··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···
13911 </tr>13911 </tr>
Offset 14150, 18 lines modifiedOffset 14150, 18 lines modified
14150 <tr>14150 <tr>
14151 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>520</td>··14151 ··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>520</td>··
14152 </tr>14152 </tr>
14153 <tr>14153 <tr>
14154 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-745.798</td>14154 ··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-745.798</td>
14155 </tr>14155 </tr>
14156 <tr>14156 <tr>
14157 ··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>·<td>1507.595</td>14157 ··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>·<td>1507.595</td>
14158 </tr>14158 </tr>
14159 <tr>14159 <tr>
14160 ··<th>Time:</th>················<td>19:41:06</td>·····<th>··BIC················</th>·<td>1541.626</td>14160 ··<th>Time:</th>················<td>05:06:46</td>·····<th>··BIC················</th>·<td>1541.626</td>
14161 </tr>14161 </tr>
14162 <tr>14162 <tr>
14163 ··<th>Sample:</th>·············<td>05-16-2004</td>····<th>··HQIC···············</th>·<td>1520.926</td>14163 ··<th>Sample:</th>·············<td>05-16-2004</td>····<th>··HQIC···············</th>·<td>1520.926</td>
14164 </tr>14164 </tr>
14165 <tr>14165 <tr>
14166 ··<th></th>···················<td>-·04-27-2014</td>···<th>·····················</th>·····<td>·</td>···14166 ··<th></th>···················<td>-·04-27-2014</td>···<th>·····················</th>·····<td>·</td>···
14167 </tr>14167 </tr>
2.47 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/mixed_lm_example.html
    
Offset 13521, 14 lines modifiedOffset 13521, 18 lines modified
13521 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)13521 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
13522 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals13522 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals
13523 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)13523 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
13524 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals13524 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals
13525 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)13525 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
13526 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals13526 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals
13527 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)13527 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
 13528 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals
 13529 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning)
 13530 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/regression/mixed_linear_model.py:2001:·ConvergenceWarning:·Gradient·optimization·failed.
 13531 ··warnings.warn(msg,·ConvergenceWarning)
13528 </pre>13532 </pre>
13529 </div>13533 </div>
13530 </div>13534 </div>
  
13531 <div·class="output_area">13535 <div·class="output_area">
  
13532 ····<div·class="prompt"></div>13536 ····<div·class="prompt"></div>
Offset 13553, 28 lines modifiedOffset 13557, 14 lines modified
13553 Time·RE·················0.483····0.046···························13557 Time·RE·················0.483····0.046···························
13554 =================================================================13558 =================================================================
  
13555 </pre>13559 </pre>
13556 </div>13560 </div>
13557 </div>13561 </div>
  
13558 <div·class="output_area"> 
  
13559 ····<div·class="prompt"></div> 
  
  
13560 <div·class="output_subarea·output_stream·output_stderr·output_text"> 
13561 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals 
13562 ··&#34;Check·mle_retvals&#34;,·ConvergenceWarning) 
13563 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/regression/mixed_linear_model.py:2001:·ConvergenceWarning:·Gradient·optimization·failed. 
13564 ··warnings.warn(msg,·ConvergenceWarning) 
13565 </pre> 
13566 </div> 
13567 </div> 
  
13568 </div>13562 </div>
13569 </div>13563 </div>
  
13570 </div>13564 </div>
13571 <div·class="cell·border-box-sizing·text_cell·rendered"><div·class="prompt·input_prompt">13565 <div·class="cell·border-box-sizing·text_cell·rendered"><div·class="prompt·input_prompt">
13572 </div><div·class="inner_cell">13566 </div><div·class="inner_cell">
13573 <div·class="text_cell_render·border-box-sizing·rendered_html">13567 <div·class="text_cell_render·border-box-sizing·rendered_html">
8.82 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/ols.html
    
Offset 13325, 16 lines modifiedOffset 13325, 16 lines modified
  
13325 <div·class="output_subarea·output_stream·output_stdout·output_text">13325 <div·class="output_subarea·output_stream·output_stdout·output_text">
13326 <pre>····························OLS·Regression·Results····························13326 <pre>····························OLS·Regression·Results····························
13327 ==============================================================================13327 ==============================================================================
13328 Dep.·Variable:······················y···R-squared:·······················1.00013328 Dep.·Variable:······················y···R-squared:·······················1.000
13329 Model:····························OLS···Adj.·R-squared:··················1.00013329 Model:····························OLS···Adj.·R-squared:··················1.000
13330 Method:·················Least·Squares···F-statistic:·················4.020e+0613330 Method:·················Least·Squares···F-statistic:·················4.020e+06
13331 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):··········2.83e-23913331 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):··········2.83e-239
13332 Time:························19:41:11···Log-Likelihood:················-146.5113332 Time:························05:06:40···Log-Likelihood:················-146.51
13333 No.·Observations:·················100···AIC:·····························299.013333 No.·Observations:·················100···AIC:·····························299.0
13334 Df·Residuals:······················97···BIC:·····························306.813334 Df·Residuals:······················97···BIC:·····························306.8
13335 Df·Model:···························2·········································13335 Df·Model:···························2·········································
13336 Covariance·Type:············nonrobust·········································13336 Covariance·Type:············nonrobust·········································
13337 ==============================================================================13337 ==============================================================================
13338 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13338 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13339 ------------------------------------------------------------------------------13339 ------------------------------------------------------------------------------
Offset 13459, 16 lines modifiedOffset 13459, 16 lines modified
  
13459 <div·class="output_subarea·output_stream·output_stdout·output_text">13459 <div·class="output_subarea·output_stream·output_stdout·output_text">
13460 <pre>····························OLS·Regression·Results····························13460 <pre>····························OLS·Regression·Results····························
13461 ==============================================================================13461 ==============================================================================
13462 Dep.·Variable:······················y···R-squared:·······················0.93313462 Dep.·Variable:······················y···R-squared:·······················0.933
13463 Model:····························OLS···Adj.·R-squared:··················0.92813463 Model:····························OLS···Adj.·R-squared:··················0.928
13464 Method:·················Least·Squares···F-statistic:·····················211.813464 Method:·················Least·Squares···F-statistic:·····················211.8
13465 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········6.30e-2713465 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········6.30e-27
13466 Time:························19:41:11···Log-Likelihood:················-34.43813466 Time:························05:06:41···Log-Likelihood:················-34.438
13467 No.·Observations:··················50···AIC:·····························76.8813467 No.·Observations:··················50···AIC:·····························76.88
13468 Df·Residuals:······················46···BIC:·····························84.5213468 Df·Residuals:······················46···BIC:·····························84.52
13469 Df·Model:···························3·········································13469 Df·Model:···························3·········································
13470 Covariance·Type:············nonrobust·········································13470 Covariance·Type:············nonrobust·········································
13471 ==============================================================================13471 ==============================================================================
13472 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13472 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13473 ------------------------------------------------------------------------------13473 ------------------------------------------------------------------------------
Offset 13718, 16 lines modifiedOffset 13718, 16 lines modified
  
13718 <div·class="output_subarea·output_stream·output_stdout·output_text">13718 <div·class="output_subarea·output_stream·output_stdout·output_text">
13719 <pre>····························OLS·Regression·Results····························13719 <pre>····························OLS·Regression·Results····························
13720 ==============================================================================13720 ==============================================================================
13721 Dep.·Variable:······················y···R-squared:·······················0.97813721 Dep.·Variable:······················y···R-squared:·······················0.978
13722 Model:····························OLS···Adj.·R-squared:··················0.97613722 Model:····························OLS···Adj.·R-squared:··················0.976
13723 Method:·················Least·Squares···F-statistic:·····················671.713723 Method:·················Least·Squares···F-statistic:·····················671.7
13724 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········5.69e-3813724 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········5.69e-38
13725 Time:························19:41:12···Log-Likelihood:················-64.64313725 Time:························05:06:43···Log-Likelihood:················-64.643
13726 No.·Observations:··················50···AIC:·····························137.313726 No.·Observations:··················50···AIC:·····························137.3
13727 Df·Residuals:······················46···BIC:·····························144.913727 Df·Residuals:······················46···BIC:·····························144.9
13728 Df·Model:···························3·········································13728 Df·Model:···························3·········································
13729 Covariance·Type:············nonrobust·········································13729 Covariance·Type:············nonrobust·········································
13730 ==============================================================================13730 ==============================================================================
13731 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13731 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13732 ------------------------------------------------------------------------------13732 ------------------------------------------------------------------------------
Offset 14030, 16 lines modifiedOffset 14030, 16 lines modified
  
14030 <div·class="output_subarea·output_stream·output_stdout·output_text">14030 <div·class="output_subarea·output_stream·output_stdout·output_text">
14031 <pre>····························OLS·Regression·Results····························14031 <pre>····························OLS·Regression·Results····························
14032 ==============================================================================14032 ==============================================================================
14033 Dep.·Variable:·················TOTEMP···R-squared:·······················0.99514033 Dep.·Variable:·················TOTEMP···R-squared:·······················0.995
14034 Model:····························OLS···Adj.·R-squared:··················0.99214034 Model:····························OLS···Adj.·R-squared:··················0.992
14035 Method:·················Least·Squares···F-statistic:·····················330.314035 Method:·················Least·Squares···F-statistic:·····················330.3
14036 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········4.98e-1014036 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········4.98e-10
14037 Time:························19:41:13···Log-Likelihood:················-109.6214037 Time:························05:06:45···Log-Likelihood:················-109.62
14038 No.·Observations:··················16···AIC:·····························233.214038 No.·Observations:··················16···AIC:·····························233.2
14039 Df·Residuals:·······················9···BIC:·····························238.614039 Df·Residuals:·······················9···BIC:·····························238.6
14040 Df·Model:···························6·········································14040 Df·Model:···························6·········································
14041 Covariance·Type:············nonrobust·········································14041 Covariance·Type:············nonrobust·········································
14042 ==============================================================================14042 ==============================================================================
14043 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]14043 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
14044 ------------------------------------------------------------------------------14044 ------------------------------------------------------------------------------
Offset 14292, 34 lines modifiedOffset 14292, 14 lines modified
  
  
14292 <div·class="output_area">14292 <div·class="output_area">
  
14293 ····<div·class="prompt"></div>14293 ····<div·class="prompt"></div>
  
  
14294 <div·class="output_subarea·output_stream·output_stderr·output_text"> 
14295 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:309:·RuntimeWarning:·invalid·value·encountered·in·sqrt 
14296 ··return··self.results.resid·/·sigma·/·np.sqrt(1·-·hii) 
14297 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·greater 
14298 ··return·(self.a·&lt;·x)·&amp;·(x·&lt;·self.b) 
14299 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·less 
14300 ··return·(self.a·&lt;·x)·&amp;·(x·&lt;·self.b) 
14301 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:1821:·RuntimeWarning:·invalid·value·encountered·in·less_equal 
14302 ··cond2·=·cond0·&amp;·(x·&lt;=·self.a) 
14303 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:323:·RuntimeWarning:·invalid·value·encountered·in·sqrt 
14304 ··dffits_·=·self.resid_studentized_internal·*·np.sqrt(hii·/·(1·-·hii)) 
14305 </pre> 
14306 </div> 
14307 </div> 
  
14308 <div·class="output_area"> 
  
14309 ····<div·class="prompt"></div> 
  
  
14310 <div·class="output_subarea·output_stream·output_stdout·output_text">14294 <div·class="output_subarea·output_stream·output_stdout·output_text">
14311 <pre>····dfb_const··dfb_GNPDEFL·······dfb_GNP·····dfb_UNEMP·····dfb_ARMED··\14295 <pre>····dfb_const··dfb_GNPDEFL·······dfb_GNP·····dfb_UNEMP·····dfb_ARMED··\
14312 0···-0.016406··-169.822675··1.673981e+06··54490.318088··51447.824036···14296 0···-0.016406··-169.822675··1.673981e+06··54490.318088··51447.824036···
14313 1···-0.020608··-187.251727··1.829990e+06··54495.312977··52659.808664···14297 1···-0.020608··-187.251727··1.829990e+06··54495.312977··52659.808664···
14314 2···-0.008382···-65.417834··1.587601e+06··52002.330476··49078.352378···14298 2···-0.008382···-65.417834··1.587601e+06··52002.330476··49078.352378···
14315 3····0.018093···288.503914··1.155359e+06··56211.331922··60350.723082···14299 3····0.018093···288.503914··1.155359e+06··56211.331922··60350.723082···
14316 4····1.871260··-171.109595··4.498197e+06··82532.785818··71034.429294···14300 4····1.871260··-171.109595··4.498197e+06··82532.785818··71034.429294···
Offset 14358, 15 lines modifiedOffset 14338, 25 lines modified
  
14358 <div·class="output_area">14338 <div·class="output_area">
  
14359 ····<div·class="prompt"></div>14339 ····<div·class="prompt"></div>
  
  
14360 <div·class="output_subarea·output_stream·output_stderr·output_text">14340 <div·class="output_subarea·output_stream·output_stderr·output_text">
14361 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:352:·RuntimeWarning:·invalid·value·encountered·in·sqrt14341 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:309:·RuntimeWarning:·invalid·value·encountered·in·sqrt
 14342 ··return··self.results.resid·/·sigma·/·np.sqrt(1·-·hii)
 14343 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·greater
 14344 ··return·(self.a·&lt;·x)·&amp;·(x·&lt;·self.b)
 14345 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·less
 14346 ··return·(self.a·&lt;·x)·&amp;·(x·&lt;·self.b)
 14347 /usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:1821:·RuntimeWarning:·invalid·value·encountered·in·less_equal
 14348 ··cond2·=·cond0·&amp;·(x·&lt;=·self.a)
 14349 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:323:·RuntimeWarning:·invalid·value·encountered·in·sqrt
 14350 ··dffits_·=·self.resid_studentized_internal·*·np.sqrt(hii·/·(1·-·hii))
 14351 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:352:·RuntimeWarning:·invalid·value·encountered·in·sqrt
14362 ··dffits_·=·self.resid_studentized_external·*·np.sqrt(hii·/·(1·-·hii))14352 ··dffits_·=·self.resid_studentized_external·*·np.sqrt(hii·/·(1·-·hii))
14363 </pre>14353 </pre>
14364 </div>14354 </div>
14365 </div>14355 </div>
  
14366 </div>14356 </div>
Max diff block lines reached; 0/8865 bytes (0.00%) of diff not shown.
955 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/plots_boxplots.html
    
Offset 13397, 15 lines modifiedOffset 13397, 15 lines modified
  
13397 ····<div·class="prompt"></div>13397 ····<div·class="prompt"></div>
  
  
  
  
13398 <div·class="output_png·output_subarea·">13398 <div·class="output_png·output_subarea·">
13399 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYVOWZ9u9TVWepvXpnE7EVEOLSoxglkmg07klQI0jHBUcn+YwExQ8miIlxHIzKBCKKZjKJOsGA7fJFJRGXEKNJDBFFbRWBpqF6765937urzvdHdxXV1bWc2utUvb/r8kqoOnX6qfd6zzlPPe/z3jfF8zwIBAKBQCAQCJWBpNwBEAgEAoFAIBCOQ5IzAoFAIBAIhAqCJGcEAoFAIBAIFQRJzggEAoFAIBAqCJKcEQgEAoFAIFQQJDkjEAgEAoFA[·...·truncated·by·diffoscope;·len:·106108,·SHA:·ea24da0d9deb8718689b9947b62c1fb75d3973692e70dff2dd45de0e9fb4122c·...·]13399 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmYXFW1/v+eqjPX3FU9ZCAkMQOJBKIEITghwpVJo14DtGESRbhgMJpoRC7iT65Cvje5BCLOoHADAVEgcgMoKiAyRAKEKUl30nN1d1XXPA/dXef3R3d1qqprODVP+/M8eaCrTp1atZ99zl5n7bXeRUmSBAKBQCAQCARCbaCotgEEAoFAIBAIhOMQ54xAIBAIBAKhhiDOGYFAIBAIBEINQZwzAoFAIBAIhBqCOGcEAoFAIBAINQRxzggEAoFAIBBq[·...·truncated·by·diffoscope;·len:·105220,·SHA:·aa77812c2f293bb300bc24063e87c10e44a8f82b1df00f804e4027ea2dc057a4·...·]
13400 "13400 "
13401 >13401 >
13402 </div>13402 </div>
  
13403 </div>13403 </div>
  
13404 </div>13404 </div>
Offset 13537, 15 lines modifiedOffset 13537, 15 lines modified
  
13537 ····<div·class="prompt"></div>13537 ····<div·class="prompt"></div>
  
  
  
  
13538 <div·class="output_png·output_subarea·">13538 <div·class="output_png·output_subarea·">
13539 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYXGWV/7+36q61V6/ZSRqySkLExCQIgijKogbUQNog4YczDIqBANEIEh0nAyFOMgQCgjPKCAYSwGERggwMEgfBBELoLGTv7vTe1bXvS3fV/f1RXZ2q6lpuddd2q97P8/BA3751+9TLe+977nm/5xxKFEUQCAQCgUAgEMoDRakNIBAIBAKBQCCchThnBAKBQCAQCGUEcc4IBAKBQCAQygjinBEIBAKBQCCUEcQ5IxAIBAKBQCgjiHNGIBAIBAKBUEYUz[·...·truncated·by·diffoscope;·len:·105855,·SHA:·872bd89faa6a3dc43f1c6807e736190515195883bba5e154aa20e385a12610b5·...·]13539 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYXFWZ/7+36u61dlcv2YCkIStby5awOSCibBJAlvQQRdERhAkECBNRGXWiLJoMgQCiMzJEE4MyIsEJwjAooj8EAemEkKU7qd67q7v2femqur8/uqtSXV3Lreqq6rpV5/M8Pia3bt2cOpx7z3vf8z3fl5IkCQQCgUAgEAiE6kA12w0gEAgEAoFAIByDBGcEAoFAIBAIVQQJzggEAoFAIBCqCBKcEQgEAoFAIFQRJDgjEAgEAoFAqCJIcEYgEAgEAoFQR[·...·truncated·by·diffoscope;·len:·106039,·SHA:·01a281bdde8c50ab547ccaa2d4eb7ef4b1458fdae1410034371fe294f722334b·...·]
13540 "13540 "
13541 >13541 >
13542 </div>13542 </div>
  
13543 </div>13543 </div>
  
13544 </div>13544 </div>
Offset 13572, 15 lines modifiedOffset 13572, 15 lines modified
  
13572 ····<div·class="prompt"></div>13572 ····<div·class="prompt"></div>
  
  
  
  
13573 <div·class="output_png·output_subarea·">13573 <div·class="output_png·output_subarea·">
13574 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xl4VOXZP/DvmbPOkgXCvhNkkVqMSwV3XHABK6IopFAQ3OrrD4oFi0ut9aVVaUNF0dZiVUAwgFZFBRfc3loVFGlU9iViRAghM5l9zpxZzu+PyYwzk1lDMovn/lyXV3Uy0CfPdeace57nfu6bUVUVhBBCCCGkMOjyPQBCCCGEEPIDCs4IIYQQQgoIBWeEEEIIIQWEgjNCCCGEkAJCwRkhhBBCSAGh4IwQQgghpIB0WnDGMMyzDMM0MQyzI+q1rgzD[·...·truncated·by·diffoscope;·len:·102834,·SHA:·44b94470edcd3b6ee76c0549188870a18840370f198762629260178e1e703a0e·...·]sAAAAASUVORK5CYII=13574 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYFOW1xt/q2nqbhU1AtmEQ2RRGg6LEPVGjGBFXRhCMRIMSFAMG9bokwQgkQxgFjTFigEBGJVGJAc31Rk00RuM2uLBKg4AwW/f0Vt3V1UvdP3q66X3BmV6o83seH52emvHM93xV36mzvIdRVRUEQRAEQRBEaaArtgEEQRAEQRDEUcg5IwiCIAiCKCHIOSMIgiAIgighyDkjCIIgCIIoIcg5IwiCIAiCKCHIOSMIgiAIgighesw5YxjmWYZh2hiG[·...·truncated·by·diffoscope;·len:·103354,·SHA:·03403b9a92a95d384e42fd1b2f2547999b53912462237688c3dccca2b785c9d2·...·]sAAAAASUVORK5CYII=
13575 "13575 "
13576 >13576 >
13577 </div>13577 </div>
  
13578 </div>13578 </div>
  
13579 </div>13579 </div>
Offset 13809, 15 lines modifiedOffset 13809, 15 lines modified
  
13809 ····<div·class="prompt"></div>13809 ····<div·class="prompt"></div>
  
  
  
  
13810 <div·class="output_png·output_subarea·">13810 <div·class="output_png·output_subarea·">
13811 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmcI2d95/95dJ8tdavvOXrssQdjHJvDGWPMADEQgxMC+SUcCVf8C2GNE7K72WTDskfYJGTJ9UtIgncCG8AOhIQkZCHcBMdkCMaDbeID29Nz9PR96W7dLen5/VGqnmp1lepQlVQlfd+v17ymWypVffvRU8/zre/JOOcgCIIgCIIg7IGr3wIQBEEQBEEQVyDljCAIgiAIwkaQckYQBEEQBGEjSDkjCIIgCIKwEaScEQRBEARB2AhSzgiCIAiCIGwEKWcEYSKMsQJj7GqL[·...·truncated·by·diffoscope;·len:·83867,·SHA:·f1dda702a20f14bd83c97f4aa158b0add3c2f37d484c63dc18990186ab6ddf63·...·]=13811 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmcI2d95/95dJ8tqdXqa46ewePBmLHN4YyxzZCsTZZgSCCbhJDlcPhBWOMlyW9zbAi/HGw2ZElINhsIXkMOYgIhkIT8QghgCI7BLI4HH8HYxjPjmZ6+D7XO1n09+0epeqrVVVJVqUqqkr7v12te01KVnvrq0VNV3/qejHMOgiAIgiAIwho4hi0AQRAEQRAEcQVSzgiCIAiCICwEKWcEQRAEQRAWgpQzgiAIgiAIC0HKGUEQBEEQhIUg5YwgCIIgCMJCkHJGEAbCGCsw[·...·truncated·by·diffoscope;·len:·84103,·SHA:·5f29708a2def778edffe2e6616350214bed35d12f446d66fd4944e4f2ad7dda2·...·]=
13812 "13812 "
13813 >13813 >
13814 </div>13814 </div>
  
13815 </div>13815 </div>
  
13816 </div>13816 </div>
Offset 13890, 15 lines modifiedOffset 13890, 15 lines modified
  
13890 ····<div·class="prompt"></div>13890 ····<div·class="prompt"></div>
  
  
  
  
13891 <div·class="output_png·output_subarea·">13891 <div·class="output_png·output_subarea·">
13892 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXl8W+WZ73+vVmuz5X1LnISQQFhCQlLWhmzsy9BSWgqEKQxQlumkXLhMp3A7cDslpStt7kwXoBsDLaEUSoEpFBKcpCQE4gTHJHHiXd5kyZYlS7Zl2dJ7/ziSkW1JPpKOdLQ838/HH9tnffTqPec851kZ5xwEQRAEQRBEZqCQWwCCIAiCIAjiU0g5IwiCIAiCyCBIOSMIgiAIgsggSDkjCIIgCILIIEg5IwiCIAiCyCBIOSMIgiAIgsggSDkjCAlhjHkYY6ek+BwbGG[·...·truncated·by·diffoscope;·len:·86946,·SHA:·9c78835088390def077df10da9b9e54b1fce3bdc99f2428b719db519cb6ebac3·...·]13892 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXl8W+WZ73+vVmvzvjtxEkICYU1IGrZmB8paWoaWsk2hQFmmQ7ntdDqF6cCdW1Laacs0d6adQul2oRBKoTR0hi3BSUpCIE5wQhIn3m3ZkmVblm3JlmVL7/3jSIpsS/KRdKSjIz3fz8cf22d99Oo95zznWRnnHARBEARBEER2oJJbAIIgCIIgCOI0pJwRBEEQBEFkEaScEQRBEARBZBGknBEEQRAEQWQRpJwRBEEQBEFkEaScEQRBEARBZBGknBGEhDDG3IyxM9J8jo[·...·truncated·by·diffoscope;·len:·87382,·SHA:·5401b63279087847982b11628eda723165b7601d6c5ebfa29c5e50766427f331·...·]
13893 "13893 "
13894 >13894 >
13895 </div>13895 </div>
  
13896 </div>13896 </div>
  
13897 </div>13897 </div>
43.4 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/predict.html
    
Offset 13297, 35 lines modifiedOffset 13297, 35 lines modified
  
13297 ····<div·class="prompt"></div>13297 ····<div·class="prompt"></div>
  
  
13298 <div·class="output_subarea·output_stream·output_stdout·output_text">13298 <div·class="output_subarea·output_stream·output_stdout·output_text">
13299 <pre>····························OLS·Regression·Results····························13299 <pre>····························OLS·Regression·Results····························
13300 ==============================================================================13300 ==============================================================================
13301 Dep.·Variable:······················y···R-squared:·······················0.98513301 Dep.·Variable:······················y···R-squared:·······················0.980
13302 Model:····························OLS···Adj.·R-squared:··················0.98413302 Model:····························OLS···Adj.·R-squared:··················0.978
13303 Method:·················Least·Squares···F-statistic:·····················1012.13303 Method:·················Least·Squares···F-statistic:·····················735.1
13304 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········5.47e-4213304 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········7.47e-39
13305 Time:························19:41:09···Log-Likelihood:·················2.701813305 Time:························05:06:33···Log-Likelihood:················-5.5899
13306 No.·Observations:··················50···AIC:·····························2.59613306 No.·Observations:··················50···AIC:·····························19.18
13307 Df·Residuals:······················46···BIC:·····························10.2413307 Df·Residuals:······················46···BIC:·····························26.83
13308 Df·Model:···························3·········································13308 Df·Model:···························3·········································
13309 Covariance·Type:············nonrobust·········································13309 Covariance·Type:············nonrobust·········································
13310 ==============================================================================13310 ==============================================================================
13311 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13311 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13312 ------------------------------------------------------------------------------13312 ------------------------------------------------------------------------------
13313 const··········4.9654······0.081·····60.954······0.000·······4.801·······5.12913313 const··········4.8549······0.096·····50.490······0.000·······4.661·······5.048
13314 x1·············0.5085······0.013·····40.471······0.000·······0.483·······0.53413314 x1·············0.5126······0.015·····34.568······0.000·······0.483·······0.542
13315 x2·············0.5666······0.049·····11.472······0.000·······0.467·······0.66613315 x2·············0.4654······0.058······7.983······0.000·······0.348·······0.583
13316 x3············-0.0206······0.001····-18.711······0.000······-0.023······-0.01813316 x3············-0.0209······0.001····-16.033······0.000······-0.023······-0.018
13317 ==============================================================================13317 ==============================================================================
13318 Omnibus:························4.975···Durbin-Watson:···················1.90713318 Omnibus:························1.868···Durbin-Watson:···················2.299
13319 Prob(Omnibus):··················0.083···Jarque-Bera·(JB):················3.87413319 Prob(Omnibus):··················0.393···Jarque-Bera·(JB):················1.376
13320 Skew:··························-0.630···Prob(JB):························0.14413320 Skew:···························0.406···Prob(JB):························0.503
13321 Kurtosis:·······················3.520···Cond.·No.·························221.13321 Kurtosis:·······················3.048···Cond.·No.·························221.
13322 ==============================================================================13322 ==============================================================================
  
13323 Warnings:13323 Warnings:
13324 [1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.13324 [1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.
13325 </pre>13325 </pre>
13326 </div>13326 </div>
13327 </div>13327 </div>
Offset 13360, 23 lines modifiedOffset 13360, 23 lines modified
  
13360 <div·class="output_area">13360 <div·class="output_area">
  
13361 ····<div·class="prompt"></div>13361 ····<div·class="prompt"></div>
  
  
13362 <div·class="output_subarea·output_stream·output_stdout·output_text">13362 <div·class="output_subarea·output_stream·output_stdout·output_text">
13363 <pre>[·4.44939603··4.96262191··5.43202266··5.82672081··6.12698241··6.32745926 
13364 ··6.4380676···6.4823589···6.49365043··6.50955132··6.56578347··6.69031259 
13365 ··6.89875345··7.19180447··7.55513294··7.96172987··8.37634745··8.76129022 
13366 ··9.08260827··9.31567517··9.44923397··9.48724673··9.44824354··9.36227807 
13367 ··9.26598986··9.19658455··9.18572108··9.2543102···9.40907894··9.64146535 
13368 ··9.92902521·10.23911953·10.53427708·10.77835079·10.94245661·11.00971907 
13369 ·10.9780439··10.86046206·10.68298886·10.48034966·10.29027463·10.14729976 
13370 ·10.0770927··10.09223568·10.19015821·10.35355947·10.55325075·10.7529511 
13371 ·10.91524815·11.00774488]13363 <pre>[·4.33295629··4.80865193··5.24704189··5.62276276··5.91960462··6.13317435
 13364 ··6.27161735··6.35427935··6.40852786··6.46525586··6.5538061···6.69715023
 13365 ··6.90811456··7.1872728···7.52285174··7.8926656···8.26776105··8.61717422
 13366 ··8.9130179···9.1350634···9.27406402··9.33327427··9.32791518··9.2826735
 13367 ··9.22764575··9.19339347··9.20592198··9.28240787··9.42837685··9.63679595
 13368 ··9.88922898·10.15886558·10.41492604·10.62771837·10.77351657·10.83845876
 13369 ·10.82082465·10.73131818·10.59130888·10.42932094·10.27634673·10.16075489
 13370 ·10.10362939·10.11530554·10.19367189·10.32451717·10.48386513·10.64191379
 13371 ·10.76793181·10.83530758]
13372 </pre>13372 </pre>
13373 </div>13373 </div>
13374 </div>13374 </div>
  
13375 </div>13375 </div>
13376 </div>13376 </div>
  
Offset 13410, 16 lines modifiedOffset 13410, 16 lines modified
  
13410 <div·class="output_area">13410 <div·class="output_area">
  
13411 ····<div·class="prompt"></div>13411 ····<div·class="prompt"></div>
  
  
13412 <div·class="output_subarea·output_stream·output_stdout·output_text">13412 <div·class="output_subarea·output_stream·output_stdout·output_text">
13413 <pre>[10.99473591·10.83313091·10.54514852·10.18142229··9.80860373··9.49304376 
13414 ··9.28454767··9.20418104··9.23911218··9.34575372]13413 <pre>[10.8123021··10.66527564·10.41247908·10.09550393··9.7690992···9.48776702
 13414 ··9.29241852··9.20035746··9.20104358··9.25867327]
13415 </pre>13415 </pre>
13416 </div>13416 </div>
13417 </div>13417 </div>
  
13418 </div>13418 </div>
13419 </div>13419 </div>
  
Offset 13457, 15 lines modifiedOffset 13457, 15 lines modified
  
13457 ····<div·class="prompt"></div>13457 ····<div·class="prompt"></div>
  
  
  
  
13458 <div·class="output_png·output_subarea·">13458 <div·class="output_png·output_subarea·">
13459 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzt3Xt8zfUfwPHXZzebucxlLpu73G8bc0vJnfBjSFG5RCFJVIrKrYQiKpFbIVEqjFQuuVSuNff7JdfNbY0xbOzy+f3x3djm7H62c3s/Hw+P2dn3fL/v7w7v8znvz01prRFCCGH7nCwdgBBCCPOQhC6EEHZCEroQQtgJSehCCGEnJKELIYSdkIQuhBB2QhK6EELYCUnoQghhJyShCyGEnXDJzYsVLVpUlytXLjcvKYQQNm/37t3/aa290zsuVxN6uXLlCA[·...·truncated·by·diffoscope;·len:·18245,·SHA:·89561ae574ad3e9fcc56eb610bee135c70f67ca1147afb07dade102be52dab57·...·]AAAAASUVORK5CYII=13459 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzt3XlYlFX7wPHvYREQRVzQFHLNzBUXXFLLXSss0bJyzcole82y9A3b1PdXSe6Zlnua5ZIbbuWSS5llhuJuprnjhiiKys75/fGAAQICM8MwM/fnuriEmWe5H0buOXOec+6jtNYIIYSwfU7WDkAIIYR5SEIXQgg7IQldCCHshCR0IYSwE5LQhRDCTkhCF0IIOyEJXQgh7IQkdCGEsBOS0IUQwk64FOTJypQpoytXrlyQpxRCCJu3Z8+eq1prn/ttV6AJvX[·...·truncated·by·diffoscope;·len:·18585,·SHA:·67ab3f85a3933182511730c4d9a91f28f01223b27af9191607ddc7725c9d5482·...·]AAAAASUVORK5CYII=
13460 "13460 "
13461 >13461 >
13462 </div>13462 </div>
  
13463 </div>13463 </div>
  
13464 </div>13464 </div>
Offset 13532, 18 lines modifiedOffset 13532, 18 lines modified
  
13532 ····<div·class="prompt·output_prompt">Out[8]:</div>13532 ····<div·class="prompt·output_prompt">Out[8]:</div>
  
  
  
  
13533 <div·class="output_text·output_subarea·output_execute_result">13533 <div·class="output_text·output_subarea·output_execute_result">
13534 <pre>Intercept···········4.96540313534 <pre>Intercept···········4.854862
13535 x1··················0.50845813535 x1··················0.512636
13536 np.sin(x1)··········0.56656813536 np.sin(x1)··········0.465392
13537 I((x1·-·5)·**·2)···-0.02064013537 I((x1·-·5)·**·2)···-0.020876
13538 dtype:·float64</pre>13538 dtype:·float64</pre>
13539 </div>13539 </div>
  
13540 </div>13540 </div>
  
13541 </div>13541 </div>
13542 </div>13542 </div>
Offset 13577, 24 lines modifiedOffset 13577, 24 lines modified
  
13577 ····<div·class="prompt·output_prompt">Out[9]:</div>13577 ····<div·class="prompt·output_prompt">Out[9]:</div>
  
  
  
  
Max diff block lines reached; 388/44306 bytes (0.88%) of diff not shown.
1.54 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/quantile_regression.html
    
Offset 13357, 16 lines modifiedOffset 13357, 16 lines modified
  
13357 <div·class="output_subarea·output_stream·output_stdout·output_text">13357 <div·class="output_subarea·output_stream·output_stdout·output_text">
13358 <pre>·························QuantReg·Regression·Results··························13358 <pre>·························QuantReg·Regression·Results··························
13359 ==============================================================================13359 ==============================================================================
13360 Dep.·Variable:················foodexp···Pseudo·R-squared:···············0.620613360 Dep.·Variable:················foodexp···Pseudo·R-squared:···············0.6206
13361 Model:·······················QuantReg···Bandwidth:·······················64.5113361 Model:·······················QuantReg···Bandwidth:·······················64.51
13362 Method:·················Least·Squares···Sparsity:························209.313362 Method:·················Least·Squares···Sparsity:························209.3
13363 Date:················Tue,·14·Dec·2021···No.·Observations:··················23513363 Date:················Wed,·18·Jan·2023···No.·Observations:··················235
13364 Time:························19:41:08···Df·Residuals:······················23313364 Time:························05:06:32···Df·Residuals:······················233
13365 ········································Df·Model:····························113365 ········································Df·Model:····························1
13366 ==============================================================================13366 ==============================================================================
13367 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13367 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13368 ------------------------------------------------------------------------------13368 ------------------------------------------------------------------------------
13369 Intercept·····81.4823·····14.634······5.568······0.000······52.649·····110.31513369 Intercept·····81.4823·····14.634······5.568······0.000······52.649·····110.315
13370 income·········0.5602······0.013·····42.516······0.000·······0.534·······0.58613370 income·········0.5602······0.013·····42.516······0.000·······0.534·······0.586
13371 ==============================================================================13371 ==============================================================================
1.47 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/recursive_ls.html
    
Offset 13352, 16 lines modifiedOffset 13352, 16 lines modified
  
  
13352 <div·class="output_subarea·output_stream·output_stdout·output_text">13352 <div·class="output_subarea·output_stream·output_stdout·output_text">
13353 <pre>···························Statespace·Model·Results···························13353 <pre>···························Statespace·Model·Results···························
13354 ==============================================================================13354 ==============================================================================
13355 Dep.·Variable:·······WORLDCONSUMPTION···No.·Observations:···················2513355 Dep.·Variable:·······WORLDCONSUMPTION···No.·Observations:···················25
13356 Model:····················RecursiveLS···Log·Likelihood················-153.73713356 Model:····················RecursiveLS···Log·Likelihood················-153.737
13357 Date:················Tue,·14·Dec·2021···AIC····························317.47413357 Date:················Wed,·18·Jan·2023···AIC····························317.474
13358 Time:························19:41:08···BIC····························323.56813358 Time:························05:06:33···BIC····························323.568
13359 Sample:····················01-01-1951···HQIC···························319.16413359 Sample:····················01-01-1951···HQIC···························319.164
13360 ·························-·01-01-1975·········································13360 ·························-·01-01-1975·········································
13361 Covariance·Type:············nonrobust·········································13361 Covariance·Type:············nonrobust·········································
13362 ==================================================================================13362 ==================================================================================
13363 ·····················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13363 ·····················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13364 ----------------------------------------------------------------------------------13364 ----------------------------------------------------------------------------------
13365 const··········-6513.9900···2367.718·····-2.751······0.006···-1.12e+04···-1873.34713365 const··········-6513.9900···2367.718·····-2.751······0.006···-1.12e+04···-1873.347
2.87 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_diagnostics.html
    
Offset 13256, 34 lines modifiedOffset 13256, 22 lines modified
  
  
13256 <div·class="output_area">13256 <div·class="output_area">
  
13257 ····<div·class="prompt"></div>13257 ····<div·class="prompt"></div>
  
  
13258 <div·class="output_subarea·output_stream·output_stderr·output_text"> 
13259 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/compat/pandas.py:56:·FutureWarning:·The·pandas.core.datetools·module·is·deprecated·and·will·be·removed·in·a·future·version.·Please·use·the·pandas.tseries·module·instead. 
13260 ··from·pandas.core·import·datetools 
13261 </pre> 
13262 </div> 
13263 </div> 
  
13264 <div·class="output_area"> 
  
13265 ····<div·class="prompt"></div> 
  
  
13266 <div·class="output_subarea·output_stream·output_stdout·output_text">13258 <div·class="output_subarea·output_stream·output_stdout·output_text">
13267 <pre>····························OLS·Regression·Results····························13259 <pre>····························OLS·Regression·Results····························
13268 ==============================================================================13260 ==============================================================================
13269 Dep.·Variable:················Lottery···R-squared:·······················0.34813261 Dep.·Variable:················Lottery···R-squared:·······················0.348
13270 Model:····························OLS···Adj.·R-squared:··················0.33313262 Model:····························OLS···Adj.·R-squared:··················0.333
13271 Method:·················Least·Squares···F-statistic:·····················22.2013263 Method:·················Least·Squares···F-statistic:·····················22.20
13272 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.90e-0813264 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.90e-08
13273 Time:························19:41:01···Log-Likelihood:················-379.8213265 Time:························05:06:26···Log-Likelihood:················-379.82
13274 No.·Observations:··················86···AIC:·····························765.613266 No.·Observations:··················86···AIC:·····························765.6
13275 Df·Residuals:······················83···BIC:·····························773.013267 Df·Residuals:······················83···BIC:·····························773.0
13276 Df·Model:···························2·········································13268 Df·Model:···························2·········································
13277 Covariance·Type:············nonrobust·········································13269 Covariance·Type:············nonrobust·········································
13278 ===================================================================================13270 ===================================================================================
13279 ······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13271 ······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13280 -----------------------------------------------------------------------------------13272 -----------------------------------------------------------------------------------
Offset 13299, 14 lines modifiedOffset 13287, 26 lines modified
  
13299 Warnings:13287 Warnings:
13300 [1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.13288 [1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.
13301 </pre>13289 </pre>
13302 </div>13290 </div>
13303 </div>13291 </div>
  
 13292 <div·class="output_area">
  
 13293 ····<div·class="prompt"></div>
  
  
 13294 <div·class="output_subarea·output_stream·output_stderr·output_text">
 13295 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/compat/pandas.py:56:·FutureWarning:·The·pandas.core.datetools·module·is·deprecated·and·will·be·removed·in·a·future·version.·Please·use·the·pandas.tseries·module·instead.
 13296 ··from·pandas.core·import·datetools
 13297 </pre>
 13298 </div>
 13299 </div>
  
13304 </div>13300 </div>
13305 </div>13301 </div>
  
13306 </div>13302 </div>
13307 <div·class="cell·border-box-sizing·text_cell·rendered"><div·class="prompt·input_prompt">13303 <div·class="cell·border-box-sizing·text_cell·rendered"><div·class="prompt·input_prompt">
13308 </div><div·class="inner_cell">13304 </div><div·class="inner_cell">
13309 <div·class="text_cell_render·border-box-sizing·rendered_html">13305 <div·class="text_cell_render·border-box-sizing·rendered_html">
5.68 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/regression_plots.html
    
Offset 13410, 16 lines modifiedOffset 13410, 16 lines modified
  
13410 <div·class="output_subarea·output_stream·output_stdout·output_text">13410 <div·class="output_subarea·output_stream·output_stdout·output_text">
13411 <pre>····························OLS·Regression·Results····························13411 <pre>····························OLS·Regression·Results····························
13412 ==============================================================================13412 ==============================================================================
13413 Dep.·Variable:···············prestige···R-squared:·······················0.82813413 Dep.·Variable:···············prestige···R-squared:·······················0.828
13414 Model:····························OLS···Adj.·R-squared:··················0.82013414 Model:····························OLS···Adj.·R-squared:··················0.820
13415 Method:·················Least·Squares···F-statistic:·····················101.213415 Method:·················Least·Squares···F-statistic:·····················101.2
13416 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.65e-1713416 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.65e-17
13417 Time:························19:41:08···Log-Likelihood:················-178.9813417 Time:························05:06:33···Log-Likelihood:················-178.98
13418 No.·Observations:··················45···AIC:·····························364.013418 No.·Observations:··················45···AIC:·····························364.0
13419 Df·Residuals:······················42···BIC:·····························369.413419 Df·Residuals:······················42···BIC:·····························369.4
13420 Df·Model:···························2·········································13420 Df·Model:···························2·········································
13421 Covariance·Type:············nonrobust·········································13421 Covariance·Type:············nonrobust·········································
13422 ==============================================================================13422 ==============================================================================
13423 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13423 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13424 ------------------------------------------------------------------------------13424 ------------------------------------------------------------------------------
Offset 13639, 16 lines modifiedOffset 13639, 16 lines modified
  
13639 <div·class="output_subarea·output_stream·output_stdout·output_text">13639 <div·class="output_subarea·output_stream·output_stdout·output_text">
13640 <pre>····························OLS·Regression·Results····························13640 <pre>····························OLS·Regression·Results····························
13641 ==============================================================================13641 ==============================================================================
13642 Dep.·Variable:···············prestige···R-squared:·······················0.87613642 Dep.·Variable:···············prestige···R-squared:·······················0.876
13643 Model:····························OLS···Adj.·R-squared:··················0.87013643 Model:····························OLS···Adj.·R-squared:··················0.870
13644 Method:·················Least·Squares···F-statistic:·····················138.113644 Method:·················Least·Squares···F-statistic:·····················138.1
13645 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········2.02e-1813645 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········2.02e-18
13646 Time:························19:41:12···Log-Likelihood:················-160.5913646 Time:························05:06:39···Log-Likelihood:················-160.59
13647 No.·Observations:··················42···AIC:·····························327.213647 No.·Observations:··················42···AIC:·····························327.2
13648 Df·Residuals:······················39···BIC:·····························332.413648 Df·Residuals:······················39···BIC:·····························332.4
13649 Df·Model:···························2·········································13649 Df·Model:···························2·········································
13650 Covariance·Type:············nonrobust·········································13650 Covariance·Type:············nonrobust·········································
13651 ==============================================================================13651 ==============================================================================
13652 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13652 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13653 ------------------------------------------------------------------------------13653 ------------------------------------------------------------------------------
Offset 14017, 16 lines modifiedOffset 14017, 16 lines modified
  
14017 <div·class="output_subarea·output_stream·output_stdout·output_text">14017 <div·class="output_subarea·output_stream·output_stdout·output_text">
14018 <pre>····························OLS·Regression·Results····························14018 <pre>····························OLS·Regression·Results····························
14019 ==============================================================================14019 ==============================================================================
14020 Dep.·Variable:·················murder···R-squared:·······················0.81314020 Dep.·Variable:·················murder···R-squared:·······················0.813
14021 Model:····························OLS···Adj.·R-squared:··················0.79714021 Model:····························OLS···Adj.·R-squared:··················0.797
14022 Method:·················Least·Squares···F-statistic:·····················50.0814022 Method:·················Least·Squares···F-statistic:·····················50.08
14023 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········3.42e-1614023 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········3.42e-16
14024 Time:························19:41:18···Log-Likelihood:················-95.05014024 Time:························05:06:51···Log-Likelihood:················-95.050
14025 No.·Observations:··················51···AIC:·····························200.114025 No.·Observations:··················51···AIC:·····························200.1
14026 Df·Residuals:······················46···BIC:·····························209.814026 Df·Residuals:······················46···BIC:·····························209.8
14027 Df·Model:···························4·········································14027 Df·Model:···························4·········································
14028 Covariance·Type:············nonrobust·········································14028 Covariance·Type:············nonrobust·········································
14029 ==============================================================================14029 ==============================================================================
14030 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]14030 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
14031 ------------------------------------------------------------------------------14031 ------------------------------------------------------------------------------
Offset 14283, 16 lines modifiedOffset 14283, 16 lines modified
14283 ==============================================================================14283 ==============================================================================
14284 Dep.·Variable:·················murder···No.·Observations:···················5114284 Dep.·Variable:·················murder···No.·Observations:···················51
14285 Model:····························RLM···Df·Residuals:·······················4614285 Model:····························RLM···Df·Residuals:·······················46
14286 Method:··························IRLS···Df·Model:····························414286 Method:··························IRLS···Df·Model:····························4
14287 Norm:···················TukeyBiweight·········································14287 Norm:···················TukeyBiweight·········································
14288 Scale·Est.:·······················mad·········································14288 Scale·Est.:·······················mad·········································
14289 Cov·Type:··························H1·········································14289 Cov·Type:··························H1·········································
14290 Date:················Tue,·14·Dec·2021·········································14290 Date:················Wed,·18·Jan·2023·········································
14291 Time:························19:41:23·········································14291 Time:························05:06:58·········································
14292 No.·Iterations:····················50·········································14292 No.·Iterations:····················50·········································
14293 ==============================================================================14293 ==============================================================================
14294 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]14294 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
14295 ------------------------------------------------------------------------------14295 ------------------------------------------------------------------------------
14296 Intercept·····-4.2986······9.494·····-0.453······0.651·····-22.907······14.31014296 Intercept·····-4.2986······9.494·····-0.453······0.651·····-22.907······14.310
14297 urban··········0.0029······0.012······0.241······0.809······-0.021·······0.02714297 urban··········0.0029······0.012······0.241······0.809······-0.021·······0.027
14298 poverty········0.2753······0.110······2.499······0.012·······0.059·······0.49114298 poverty········0.2753······0.110······2.499······0.012·······0.059·······0.491
176 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_0.html
    
Offset 13325, 16 lines modifiedOffset 13325, 16 lines modified
13325 ==============================================================================13325 ==============================================================================
13326 Dep.·Variable:······················y···No.·Observations:···················2113326 Dep.·Variable:······················y···No.·Observations:···················21
13327 Model:····························RLM···Df·Residuals:·······················1713327 Model:····························RLM···Df·Residuals:·······················17
13328 Method:··························IRLS···Df·Model:····························313328 Method:··························IRLS···Df·Model:····························3
13329 Norm:··························HuberT·········································13329 Norm:··························HuberT·········································
13330 Scale·Est.:·······················mad·········································13330 Scale·Est.:·······················mad·········································
13331 Cov·Type:··························H1·········································13331 Cov·Type:··························H1·········································
13332 Date:················Tue,·14·Dec·2021·········································13332 Date:················Wed,·18·Jan·2023·········································
13333 Time:························19:41:07·········································13333 Time:························05:06:33·········································
13334 No.·Iterations:····················19·········································13334 No.·Iterations:····················19·········································
13335 ==============================================================================13335 ==============================================================================
13336 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13336 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13337 ------------------------------------------------------------------------------13337 ------------------------------------------------------------------------------
13338 var_0········-41.0265······9.792·····-4.190······0.000·····-60.218·····-21.83513338 var_0········-41.0265······9.792·····-4.190······0.000·····-60.218·····-21.835
13339 var_1··········0.8294······0.111······7.472······0.000·······0.612·······1.04713339 var_1··········0.8294······0.111······7.472······0.000·······0.612·······1.047
13340 var_2··········0.9261······0.303······3.057······0.002·······0.332·······1.52013340 var_2··········0.9261······0.303······3.057······0.002·······0.332·······1.520
Offset 13493, 25 lines modifiedOffset 13493, 25 lines modified
  
13493 <div·class="output_area">13493 <div·class="output_area">
  
13494 ····<div·class="prompt"></div>13494 ····<div·class="prompt"></div>
  
  
13495 <div·class="output_subarea·output_stream·output_stdout·output_text">13495 <div·class="output_subarea·output_stream·output_stdout·output_text">
13496 <pre>[·5.06376654··0.51391876·-0.01189843] 
13497 [0.45966688·0.07096636·0.00627943] 
13498 [·4.76630587··5.02265139··5.27503243··5.52344897··5.76790102··6.00838858 
13499 ··6.24491165··6.47747023··6.70606432··6.93069391··7.15135902··7.36805964 
13500 ··7.58079577··7.78956741··7.99437455··8.19521721··8.39209538··8.58500905 
13501 ··8.77395824··8.95894293··9.13996314··9.31701885··9.49011008··9.65923681 
13502 ··9.82439905··9.98559681·10.14283007·10.29609884·10.44540312·10.59074291 
13503 ·10.73211821·10.86952902·11.00297535·11.13245718·11.25797451·11.37952736 
13504 ·11.49711572·11.61073959·11.72039897·11.82609386·11.92782426·12.02559016 
13505 ·12.11939158·12.20922851·12.29510094·12.37700889·12.45495234·12.52893131 
13506 ·12.59894578·12.66499577]13496 <pre>[·5.1293763···0.50857108·-0.01145318]
 13497 [0.46222016·0.07136056·0.00631431]
 13498 [·4.84304685··5.09546648··5.34406997··5.58885733··5.82982855··6.06698363
 13499 ··6.30032258··6.52984539··6.75555207··6.97744261··7.19551701··7.40977528
 13500 ··7.62021741··7.82684341··8.02965327··8.228647····8.42382459··8.61518604
 13501 ··8.80273136··8.98646054··9.16637358··9.34247049··9.51475127··9.68321591
 13502 ··9.84786441·10.00869678·10.16571301·10.3189131··10.46829706·10.61386488
 13503 ·10.75561657·10.89355212·11.02767153·11.15797481·11.28446196·11.40713296
 13504 ·11.52598784·11.64102657·11.75224917·11.85965564·11.96324596·12.06302016
 13505 ·12.15897821·12.25112013·12.33944592·12.42395557·12.50464908·12.58152646
 13506 ·12.6545877··12.7238328·]
13507 </pre>13507 </pre>
13508 </div>13508 </div>
13509 </div>13509 </div>
  
13510 </div>13510 </div>
13511 </div>13511 </div>
  
Offset 13544, 16 lines modifiedOffset 13544, 16 lines modified
  
13544 <div·class="output_area">13544 <div·class="output_area">
  
13545 ····<div·class="prompt"></div>13545 ····<div·class="prompt"></div>
  
  
13546 <div·class="output_subarea·output_stream·output_stdout·output_text">13546 <div·class="output_subarea·output_stream·output_stdout·output_text">
13547 <pre>[·4.99952188e+00··4.97529988e-01·-1.20871527e-03] 
13548 [0.14648735·0.02261567·0.00200114]13547 <pre>[·5.07156853e+00··4.90522075e-01·-4.87361369e-04]
 13548 [0.13738365·0.02121018·0.00187677]
13549 </pre>13549 </pre>
13550 </div>13550 </div>
13551 </div>13551 </div>
  
13552 </div>13552 </div>
13553 </div>13553 </div>
  
Offset 13595, 28 lines modifiedOffset 13595, 28 lines modified
  
13595 ····<div·class="prompt·output_prompt">Out[9]:</div>13595 ····<div·class="prompt·output_prompt">Out[9]:</div>
  
  
  
  
13596 <div·class="output_text·output_subarea·output_execute_result">13596 <div·class="output_text·output_subarea·output_execute_result">
13597 <pre>&lt;matplotlib.legend.Legend·at·0x7fcc959a2cf8&gt;</pre>13597 <pre>&lt;matplotlib.legend.Legend·at·0x7f471ff15128&gt;</pre>
13598 </div>13598 </div>
  
13599 </div>13599 </div>
  
13600 <div·class="output_area">13600 <div·class="output_area">
  
13601 ····<div·class="prompt"></div>13601 ····<div·class="prompt"></div>
  
  
  
  
13602 <div·class="output_png·output_subarea·">13602 <div·class="output_png·output_subarea·">
13603 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsMAAAHVCAYAAAAU6/ZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3XdclfX7x/HXDcpwIIpbUXDhwpG4F24rc+Uuy+qbVpYzNX99+7ZLc6Cm5cpMS61MSc0yZ2kiinviSmW4UEGRzbl/f1wBkqigwGFcz8fjPJD73OeczzGM9/nc1+f6GKZpopRSSimlVH5kY+0BKKWUUkopZS0ahpVSSimlVL6lYVgppZRSSuVbGoaVUkoppVS+pWFYKaWUUkrlWxqGlVJKKaVUvqVhWCmllFJK5VsahpVSSimlVL6lYVgppZRSSuVbBbLz[·...·truncated·by·diffoscope;·len:·50148,·SHA:·30ae35c941632134aaf7664df689ffa5a10228253f97d7f22fdc12c7269b8b7c·...·]13603 <img·src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsMAAAHVCAYAAAAU6/ZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xdc1fX3wPHXBwTBiSI5cKCm5EDFjaPInRM1c2RpWZYtB1pa/dp909ym5siRZo7UUNM090QNxa2kFg5ciCKi7Pv5/XECciPrMs7z8bgP8HM/9973x8W55573OYZpmiillFJKKZUb2Vh7AUoppZRSSlmLBsNKKaWUUirX0mBYKaWUUkrlWhoMK6WUUkqpXEuDYaWUUkoplWtpMKyUUkoppXItDYaVUkoppVSupcGwUkoppZTKtTQYVkoppZRSuVaezHyx[·...·truncated·by·diffoscope;·len:·50168,·SHA:·fe3f88a58697882963ab993dcb7e54dd10abb244b1a6c57fcc7dbc7b98e8f495·...·]
13604 "13604 "
13605 >13605 >
13606 </div>13606 </div>
  
13607 </div>13607 </div>
  
13608 </div>13608 </div>
Offset 13652, 16 lines modifiedOffset 13652, 16 lines modified
  
13652 <div·class="output_area">13652 <div·class="output_area">
  
13653 ····<div·class="prompt"></div>13653 ····<div·class="prompt"></div>
  
  
13654 <div·class="output_subarea·output_stream·output_stdout·output_text">13654 <div·class="output_subarea·output_stream·output_stdout·output_text">
13655 <pre>[5.54334598·0.39493449] 
13656 [0.39392892·0.03394251]13655 <pre>[5.59100949·0.3940393·]
 13656 [0.39493952·0.03402959]
13657 </pre>13657 </pre>
13658 </div>13658 </div>
13659 </div>13659 </div>
  
13660 </div>13660 </div>
13661 </div>13661 </div>
  
Offset 13694, 16 lines modifiedOffset 13694, 16 lines modified
  
13694 <div·class="output_area">13694 <div·class="output_area">
  
13695 ····<div·class="prompt"></div>13695 ····<div·class="prompt"></div>
  
  
13696 <div·class="output_subarea·output_stream·output_stdout·output_text">13696 <div·class="output_subarea·output_stream·output_stdout·output_text">
13697 <pre>[5.0387067··0.48724687] 
13698 [0.12284694·0.01058499]13697 <pre>[5.0880266··0.48613595]
Max diff block lines reached; 74212/180021 bytes (41.22%) of diff not shown.
2.97 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/robust_models_1.html
    
Offset 14764, 16 lines modifiedOffset 14764, 16 lines modified
  
14764 <div·class="output_subarea·output_stream·output_stdout·output_text">14764 <div·class="output_subarea·output_stream·output_stdout·output_text">
14765 <pre>····························OLS·Regression·Results····························14765 <pre>····························OLS·Regression·Results····························
14766 ==============================================================================14766 ==============================================================================
14767 Dep.·Variable:···············prestige···R-squared:·······················0.82814767 Dep.·Variable:···············prestige···R-squared:·······················0.828
14768 Model:····························OLS···Adj.·R-squared:··················0.82014768 Model:····························OLS···Adj.·R-squared:··················0.820
14769 Method:·················Least·Squares···F-statistic:·····················101.214769 Method:·················Least·Squares···F-statistic:·····················101.2
14770 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.65e-1714770 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.65e-17
14771 Time:························19:41:08···Log-Likelihood:················-178.9814771 Time:························05:06:33···Log-Likelihood:················-178.98
14772 No.·Observations:··················45···AIC:·····························364.014772 No.·Observations:··················45···AIC:·····························364.0
14773 Df·Residuals:······················42···BIC:·····························369.414773 Df·Residuals:······················42···BIC:·····························369.4
14774 Df·Model:···························2·········································14774 Df·Model:···························2·········································
14775 Covariance·Type:············nonrobust·········································14775 Covariance·Type:············nonrobust·········································
14776 ==============================================================================14776 ==============================================================================
14777 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]14777 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
14778 ------------------------------------------------------------------------------14778 ------------------------------------------------------------------------------
Offset 15168, 16 lines modifiedOffset 15168, 16 lines modified
15168 ==============================================================================15168 ==============================================================================
15169 Dep.·Variable:···············prestige···No.·Observations:···················4515169 Dep.·Variable:···············prestige···No.·Observations:···················45
15170 Model:····························RLM···Df·Residuals:·······················4215170 Model:····························RLM···Df·Residuals:·······················42
15171 Method:··························IRLS···Df·Model:····························215171 Method:··························IRLS···Df·Model:····························2
15172 Norm:··························HuberT·········································15172 Norm:··························HuberT·········································
15173 Scale·Est.:·······················mad·········································15173 Scale·Est.:·······················mad·········································
15174 Cov·Type:··························H1·········································15174 Cov·Type:··························H1·········································
15175 Date:················Tue,·14·Dec·2021·········································15175 Date:················Wed,·18·Jan·2023·········································
15176 Time:························19:41:09·········································15176 Time:························05:06:33·········································
15177 No.·Iterations:····················18·········································15177 No.·Iterations:····················18·········································
15178 ==============================================================================15178 ==============================================================================
15179 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]15179 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
15180 ------------------------------------------------------------------------------15180 ------------------------------------------------------------------------------
15181 Intercept·····-7.1107······3.879·····-1.833······0.067·····-14.713·······0.49215181 Intercept·····-7.1107······3.879·····-1.833······0.067·····-14.713·······0.492
15182 income·········0.7015······0.109······6.456······0.000·······0.489·······0.91415182 income·········0.7015······0.109······6.456······0.000·······0.489·······0.914
15183 education······0.4854······0.089······5.441······0.000·······0.311·······0.66015183 education······0.4854······0.089······5.441······0.000·······0.311·······0.660
6.72 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_local_linear_trend.html
    
Offset 13454, 15 lines modifiedOffset 13454, 15 lines modified
13454 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13454 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
13455 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>13455 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
13456 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(13456 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
13457 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)13457 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
13458 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·13458 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
13459 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused13459 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
13460 During·handling·of·the·above·exception,·another·exception·occurred:13460 During·handling·of·the·above·exception,·another·exception·occurred:
  
13461 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)13461 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
13462 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13462 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13463 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>13463 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
13464 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout13464 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 13474, 15 lines modifiedOffset 13474, 15 lines modified
13474 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>13474 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
13475 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>13475 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
13476 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13476 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13477 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>13477 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
13478 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·13478 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
13479 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))13479 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
13480 During·handling·of·the·above·exception,·another·exception·occurred:13480 During·handling·of·the·above·exception,·another·exception·occurred:
  
13481 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)13481 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
13482 <span·class="ansi-green-fg">&lt;ipython-input-3-adacc4910a58&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>13482 <span·class="ansi-green-fg">&lt;ipython-input-3-adacc4910a58&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
13483 <span·class="ansi-green-intense-fg·ansi-bold">······4</span>·13483 <span·class="ansi-green-intense-fg·ansi-bold">······4</span>·
13484 <span·class="ansi-green-intense-fg·ansi-bold">······5</span>·<span·class="ansi-red-fg">#·Download·the·dataset</span>13484 <span·class="ansi-green-intense-fg·ansi-bold">······5</span>·<span·class="ansi-red-fg">#·Download·the·dataset</span>
Offset 13521, 15 lines modifiedOffset 13521, 15 lines modified
13521 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13521 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13522 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·13522 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
13523 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13523 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13524 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>13524 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
13525 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·13525 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
13526 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13526 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
13527 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>13527 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
13528 </div>13528 </div>
13529 </div>13529 </div>
  
13530 </div>13530 </div>
13531 </div>13531 </div>
  
13532 </div>13532 </div>
6.63 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_internet.html
    
Offset 13360, 15 lines modifiedOffset 13360, 15 lines modified
13360 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13360 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
13361 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>13361 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
13362 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(13362 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
13363 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)13363 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
13364 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·13364 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
13365 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused13365 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
13366 During·handling·of·the·above·exception,·another·exception·occurred:13366 During·handling·of·the·above·exception,·another·exception·occurred:
  
13367 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)13367 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
13368 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13368 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13369 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>13369 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
13370 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout13370 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 13380, 15 lines modifiedOffset 13380, 15 lines modified
13380 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>13380 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
13381 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>13381 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
13382 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13382 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13383 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>13383 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
13384 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·13384 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
13385 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))13385 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
13386 During·handling·of·the·above·exception,·another·exception·occurred:13386 During·handling·of·the·above·exception,·another·exception·occurred:
  
13387 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)13387 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
13388 <span·class="ansi-green-fg">&lt;ipython-input-3-074aec8a1161&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>13388 <span·class="ansi-green-fg">&lt;ipython-input-3-074aec8a1161&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
13389 <span·class="ansi-green-intense-fg·ansi-bold">······4</span>·13389 <span·class="ansi-green-intense-fg·ansi-bold">······4</span>·
13390 <span·class="ansi-green-intense-fg·ansi-bold">······5</span>·<span·class="ansi-red-fg">#·Download·the·dataset</span>13390 <span·class="ansi-green-intense-fg·ansi-bold">······5</span>·<span·class="ansi-red-fg">#·Download·the·dataset</span>
Offset 13427, 15 lines modifiedOffset 13427, 15 lines modified
13427 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13427 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13428 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·13428 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
13429 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13429 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13430 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>13430 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
13431 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·13431 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
13432 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13432 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
13433 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>13433 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
13434 </div>13434 </div>
13435 </div>13435 </div>
  
13436 </div>13436 </div>
13437 </div>13437 </div>
  
13438 </div>13438 </div>
20.4 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/statespace_sarimax_stata.html
    
Offset 13395, 15 lines modifiedOffset 13395, 15 lines modified
13395 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13395 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
13396 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>13396 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
13397 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(13397 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
13398 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)13398 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
13399 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·13399 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
13400 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused13400 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
13401 During·handling·of·the·above·exception,·another·exception·occurred:13401 During·handling·of·the·above·exception,·another·exception·occurred:
  
13402 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)13402 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
13403 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13403 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13404 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>13404 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
13405 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout13405 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 13415, 15 lines modifiedOffset 13415, 15 lines modified
13415 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>13415 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
13416 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>13416 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
13417 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13417 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13418 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>13418 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
13419 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·13419 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
13420 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))13420 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
13421 During·handling·of·the·above·exception,·another·exception·occurred:13421 During·handling·of·the·above·exception,·another·exception·occurred:
  
13422 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)13422 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
13423 <span·class="ansi-green-fg">&lt;ipython-input-3-d7a18dd7d756&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>13423 <span·class="ansi-green-fg">&lt;ipython-input-3-d7a18dd7d756&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
13424 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>13424 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>
13425 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>wpi1·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/wpi1.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content13425 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>wpi1·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/wpi1.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content
Offset 13462, 15 lines modifiedOffset 13462, 15 lines modified
13462 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13462 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13463 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·13463 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
13464 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13464 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13465 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>13465 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
13466 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·13466 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
13467 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13467 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
13468 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>13468 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
13469 </div>13469 </div>
13470 </div>13470 </div>
  
13471 </div>13471 </div>
13472 </div>13472 </div>
  
13473 </div>13473 </div>
Offset 13885, 15 lines modifiedOffset 13885, 15 lines modified
13885 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>13885 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
13886 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>13886 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
13887 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(13887 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
13888 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)13888 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
13889 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·13889 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
13890 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused13890 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f156b934b00&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
13891 During·handling·of·the·above·exception,·another·exception·occurred:13891 During·handling·of·the·above·exception,·another·exception·occurred:
  
13892 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)13892 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
13893 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13893 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13894 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>13894 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
13895 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout13895 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 13905, 15 lines modifiedOffset 13905, 15 lines modified
13905 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>13905 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
13906 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>13906 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
13907 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13907 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13908 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>13908 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
13909 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·13909 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
13910 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))13910 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f156b934b00&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
13911 During·handling·of·the·above·exception,·another·exception·occurred:13911 During·handling·of·the·above·exception,·another·exception·occurred:
  
13912 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)13912 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
13913 <span·class="ansi-green-fg">&lt;ipython-input-8-ed689d52402c&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>13913 <span·class="ansi-green-fg">&lt;ipython-input-8-ed689d52402c&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
13914 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>13914 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>
13915 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>air2·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/air2.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content13915 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>air2·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/air2.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content
Offset 13952, 15 lines modifiedOffset 13952, 15 lines modified
13952 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>13952 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
13953 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·13953 <span·class="ansi-green-intense-fg·ansi-bold">····508</span>·
13954 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13954 <span·class="ansi-green-intense-fg·ansi-bold">····509</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_ProxyError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
13955 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>13955 <span·class="ansi-green-fg">--&gt;·510</span><span·class="ansi-red-fg">·················</span><span·class="ansi-green-fg">raise</span>·ProxyError<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">,</span>·request<span·class="ansi-blue-fg">=</span>request<span·class="ansi-blue-fg">)</span>
13956 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·13956 <span·class="ansi-green-intense-fg·ansi-bold">····511</span>·
13957 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>13957 <span·class="ansi-green-intense-fg·ansi-bold">····512</span>·············<span·class="ansi-green-fg">if</span>·isinstance<span·class="ansi-blue-fg">(</span>e<span·class="ansi-blue-fg">.</span>reason<span·class="ansi-blue-fg">,</span>·_SSLError<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
  
13958 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>13958 <span·class="ansi-red-fg">ProxyError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f156b934b00&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))</pre>
13959 </div>13959 </div>
13960 </div>13960 </div>
  
13961 </div>13961 </div>
13962 </div>13962 </div>
  
13963 </div>13963 </div>
Offset 14093, 15 lines modifiedOffset 14093, 15 lines modified
14093 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>14093 <span·class="ansi-green-intense-fg·ansi-bold">····182</span>·········self<span·class="ansi-blue-fg">.</span>_prepare_conn<span·class="ansi-blue-fg">(</span>conn<span·class="ansi-blue-fg">)</span>
  
14094 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>14094 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/connection.py</span>·in·<span·class="ansi-cyan-fg">_new_conn</span><span·class="ansi-blue-fg">(self)</span>
14095 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(14095 <span·class="ansi-green-intense-fg·ansi-bold">····167</span>·············raise·NewConnectionError(
14096 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)14096 <span·class="ansi-green-fg">--&gt;·168</span><span·class="ansi-red-fg">·················self,·&#34;Failed·to·establish·a·new·connection:·%s&#34;·%·e)
14097 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·14097 </span><span·class="ansi-green-intense-fg·ansi-bold">····169</span>·
  
14098 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae1e126d8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused14098 <span·class="ansi-red-fg">NewConnectionError</span>:·&lt;urllib3.connection.HTTPConnection·object·at·0x7f156b8e62e8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused
  
14099 During·handling·of·the·above·exception,·another·exception·occurred:14099 During·handling·of·the·above·exception,·another·exception·occurred:
  
14100 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)14100 <span·class="ansi-red-fg">MaxRetryError</span>·····························Traceback·(most·recent·call·last)
14101 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>14101 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/requests/adapters.py</span>·in·<span·class="ansi-cyan-fg">send</span><span·class="ansi-blue-fg">(self,·request,·stream,·timeout,·verify,·cert,·proxies)</span>
14102 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>14102 <span·class="ansi-green-intense-fg·ansi-bold">····448</span>·····················retries<span·class="ansi-blue-fg">=</span>self<span·class="ansi-blue-fg">.</span>max_retries<span·class="ansi-blue-fg">,</span>
14103 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout14103 <span·class="ansi-green-fg">--&gt;·449</span><span·class="ansi-red-fg">·····················</span>timeout<span·class="ansi-blue-fg">=</span>timeout
Offset 14113, 15 lines modifiedOffset 14113, 15 lines modified
14113 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>14113 </span><span·class="ansi-green-intense-fg·ansi-bold">····639</span>·············retries<span·class="ansi-blue-fg">.</span>sleep<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span>
  
14114 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>14114 <span·class="ansi-green-fg">/usr/lib/python3/dist-packages/urllib3/util/retry.py</span>·in·<span·class="ansi-cyan-fg">increment</span><span·class="ansi-blue-fg">(self,·method,·url,·response,·error,·_pool,·_stacktrace)</span>
14115 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>14115 <span·class="ansi-green-intense-fg·ansi-bold">····397</span>·········<span·class="ansi-green-fg">if</span>·new_retry<span·class="ansi-blue-fg">.</span>is_exhausted<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">:</span>
14116 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>14116 <span·class="ansi-green-fg">--&gt;·398</span><span·class="ansi-red-fg">·············</span><span·class="ansi-green-fg">raise</span>·MaxRetryError<span·class="ansi-blue-fg">(</span>_pool<span·class="ansi-blue-fg">,</span>·url<span·class="ansi-blue-fg">,</span>·error·<span·class="ansi-green-fg">or</span>·ResponseError<span·class="ansi-blue-fg">(</span>cause<span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">)</span>
14117 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·14117 <span·class="ansi-green-intense-fg·ansi-bold">····399</span>·
  
14118 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f5ae1e126d8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))14118 <span·class="ansi-red-fg">MaxRetryError</span>:·HTTPConnectionPool(host=&#39;127.0.0.1&#39;,·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError(&#39;Cannot·connect·to·proxy.&#39;,·NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection·object·at·0x7f156b8e62e8&gt;:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused&#39;)))
  
14119 During·handling·of·the·above·exception,·another·exception·occurred:14119 During·handling·of·the·above·exception,·another·exception·occurred:
  
14120 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)14120 <span·class="ansi-red-fg">ProxyError</span>································Traceback·(most·recent·call·last)
14121 <span·class="ansi-green-fg">&lt;ipython-input-9-1caba5d05731&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>14121 <span·class="ansi-green-fg">&lt;ipython-input-9-1caba5d05731&gt;</span>·in·<span·class="ansi-cyan-fg">&lt;module&gt;</span><span·class="ansi-blue-fg">()</span>
14122 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>14122 <span·class="ansi-green-intense-fg·ansi-bold">······1</span>·<span·class="ansi-red-fg">#·Dataset</span>
14123 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>friedman2·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/friedman2.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content14123 <span·class="ansi-green-fg">----&gt;·2</span><span·class="ansi-red-fg">·</span>friedman2·<span·class="ansi-blue-fg">=</span>·requests<span·class="ansi-blue-fg">.</span>get<span·class="ansi-blue-fg">(</span><span·class="ansi-blue-fg">&#39;http://www.stata-press.com/data/r12/friedman2.dta&#39;</span><span·class="ansi-blue-fg">)</span><span·class="ansi-blue-fg">.</span>content
Max diff block lines reached; 2155/20685 bytes (10.42%) of diff not shown.
4.91 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_0.html
    
Offset 14412, 14 lines modifiedOffset 14412, 28 lines modified
  
  
14412 <div·class="output_area">14412 <div·class="output_area">
  
14413 ····<div·class="prompt"></div>14413 ····<div·class="prompt"></div>
  
  
 14414 <div·class="output_subarea·output_stream·output_stderr·output_text">
 14415 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.
 14416 ··if·issubdtype(paramsdtype,·float):
 14417 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.
 14418 ··elif·issubdtype(paramsdtype,·complex):
 14419 </pre>
 14420 </div>
 14421 </div>
  
 14422 <div·class="output_area">
  
 14423 ····<div·class="prompt"></div>
  
  
14414 <div·class="output_subarea·output_stream·output_stdout·output_text">14424 <div·class="output_subarea·output_stream·output_stdout·output_text">
14415 <pre>············AC···········Q······Prob(&gt;Q)14425 <pre>············AC···········Q······Prob(&gt;Q)
14416 lag·····································14426 lag·····································
14417 1.0···0.254921···32.687678··1.082211e-0814427 1.0···0.254921···32.687678··1.082211e-08
14418 2.0··-0.172416···47.670747··4.450704e-1114428 2.0··-0.172416···47.670747··4.450704e-11
14419 3.0··-0.420945··137.159393··1.548466e-2914429 3.0··-0.420945··137.159393··1.548466e-29
14420 4.0··-0.046875··138.271302··6.617701e-2914430 4.0··-0.046875··138.271302··6.617701e-29
Offset 14465, 19 lines modifiedOffset 14479, 15 lines modified
  
14465 <div·class="output_area">14479 <div·class="output_area">
  
14466 ····<div·class="prompt"></div>14480 ····<div·class="prompt"></div>
  
  
14467 <div·class="output_subarea·output_stream·output_stderr·output_text">14481 <div·class="output_subarea·output_stream·output_stderr·output_text">
14468 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`. 
14469 ··if·issubdtype(paramsdtype,·float): 
14470 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`. 
14471 ··elif·issubdtype(paramsdtype,·complex): 
14472 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.14482 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.
14473 ··if·issubdtype(paramsdtype,·float):14483 ··if·issubdtype(paramsdtype,·float):
14474 </pre>14484 </pre>
14475 </div>14485 </div>
14476 </div>14486 </div>
  
14477 </div>14487 </div>
14478 </div>14488 </div>
Offset 14508, 14 lines modifiedOffset 14518, 16 lines modified
  
14508 ····<div·class="prompt"></div>14518 ····<div·class="prompt"></div>
  
  
14509 <div·class="output_subarea·output_stream·output_stderr·output_text">14519 <div·class="output_subarea·output_stream·output_stderr·output_text">
14510 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.14520 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.
14511 ··if·issubdtype(paramsdtype,·float):14521 ··if·issubdtype(paramsdtype,·float):
 14522 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.
 14523 ··elif·issubdtype(paramsdtype,·complex):
14512 </pre>14524 </pre>
14513 </div>14525 </div>
14514 </div>14526 </div>
  
14515 <div·class="output_area">14527 <div·class="output_area">
  
14516 ····<div·class="prompt"></div>14528 ····<div·class="prompt"></div>
Offset 14570, 17 lines modifiedOffset 14582, 15 lines modified
  
14570 <div·class="output_area">14582 <div·class="output_area">
  
14571 ····<div·class="prompt"></div>14583 ····<div·class="prompt"></div>
  
  
14572 <div·class="output_subarea·output_stream·output_stderr·output_text">14584 <div·class="output_subarea·output_stream·output_stderr·output_text">
14573 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`. 
14574 ··elif·issubdtype(paramsdtype,·complex): 
14575 /build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.14585 <pre>/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.
14576 ··if·issubdtype(paramsdtype,·float):14586 ··if·issubdtype(paramsdtype,·float):
14577 </pre>14587 </pre>
14578 </div>14588 </div>
14579 </div>14589 </div>
  
14580 </div>14590 </div>
14581 </div>14591 </div>
1.53 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/tsa_arma_1.html
    
Offset 13358, 16 lines modifiedOffset 13358, 16 lines modified
  
13358 <div·class="output_subarea·output_stream·output_stdout·output_text">13358 <div·class="output_subarea·output_stream·output_stdout·output_text">
13359 <pre>······························ARMA·Model·Results······························13359 <pre>······························ARMA·Model·Results······························
13360 ==============================================================================13360 ==============================================================================
13361 Dep.·Variable:······················y···No.·Observations:··················25013361 Dep.·Variable:······················y···No.·Observations:··················250
13362 Model:·····················ARMA(2,·2)···Log·Likelihood················-353.44513362 Model:·····················ARMA(2,·2)···Log·Likelihood················-353.445
13363 Method:·······················css-mle···S.D.·of·innovations··············0.99013363 Method:·······················css-mle···S.D.·of·innovations··············0.990
13364 Date:················Tue,·14·Dec·2021···AIC····························716.89113364 Date:················Wed,·18·Jan·2023···AIC····························716.891
13365 Time:························19:41:01···BIC····························734.49813365 Time:························05:06:27···BIC····························734.498
13366 Sample:····················01-31-1980···HQIC···························723.97713366 Sample:····················01-31-1980···HQIC···························723.977
13367 ·························-·10-31-2000·········································13367 ·························-·10-31-2000·········································
13368 ==============================================================================13368 ==============================================================================
13369 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]13369 ·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]
13370 ------------------------------------------------------------------------------13370 ------------------------------------------------------------------------------
13371 ar.L1.y········0.7904······0.134······5.878······0.000·······0.527·······1.05413371 ar.L1.y········0.7904······0.134······5.878······0.000·······0.527·······1.054
13372 ar.L2.y·······-0.2314······0.113·····-2.044······0.042······-0.453······-0.00913372 ar.L2.y·······-0.2314······0.113·····-2.044······0.042······-0.453······-0.009
2.87 KB
./usr/share/doc/python-statsmodels-doc/html/examples/notebooks/generated/wls.html
    
Offset 13315, 16 lines modifiedOffset 13315, 16 lines modified
  
13315 <div·class="output_subarea·output_stream·output_stdout·output_text">13315 <div·class="output_subarea·output_stream·output_stdout·output_text">
13316 <pre>····························WLS·Regression·Results····························13316 <pre>····························WLS·Regression·Results····························
13317 ==============================================================================13317 ==============================================================================
13318 Dep.·Variable:······················y···R-squared:·······················0.91013318 Dep.·Variable:······················y···R-squared:·······················0.910
13319 Model:····························WLS···Adj.·R-squared:··················0.90913319 Model:····························WLS···Adj.·R-squared:··················0.909
13320 Method:·················Least·Squares···F-statistic:·····················487.913320 Method:·················Least·Squares···F-statistic:·····················487.9
13321 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.52e-2713321 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.52e-27
13322 Time:························19:41:01···Log-Likelihood:················-57.04813322 Time:························05:06:27···Log-Likelihood:················-57.048
13323 No.·Observations:··················50···AIC:·····························118.113323 No.·Observations:··················50···AIC:·····························118.1
13324 Df·Residuals:······················48···BIC:·····························121.913324 Df·Residuals:······················48···BIC:·····························121.9
13325 Df·Model:···························1·········································13325 Df·Model:···························1·········································
13326 Covariance·Type:············nonrobust·········································13326 Covariance·Type:············nonrobust·········································
13327 ==============================================================================13327 ==============================================================================
13328 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13328 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13329 ------------------------------------------------------------------------------13329 ------------------------------------------------------------------------------
Offset 13573, 16 lines modifiedOffset 13573, 16 lines modified
  
13573 <div·class="output_subarea·output_stream·output_stdout·output_text">13573 <div·class="output_subarea·output_stream·output_stdout·output_text">
13574 <pre>····························WLS·Regression·Results····························13574 <pre>····························WLS·Regression·Results····························
13575 ==============================================================================13575 ==============================================================================
13576 Dep.·Variable:······················y···R-squared:·······················0.91413576 Dep.·Variable:······················y···R-squared:·······················0.914
13577 Model:····························WLS···Adj.·R-squared:··················0.91213577 Model:····························WLS···Adj.·R-squared:··················0.912
13578 Method:·················Least·Squares···F-statistic:·····················507.113578 Method:·················Least·Squares···F-statistic:·····················507.1
13579 Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········3.65e-2713579 Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········3.65e-27
13580 Time:························19:41:02···Log-Likelihood:················-55.77713580 Time:························05:06:28···Log-Likelihood:················-55.777
13581 No.·Observations:··················50···AIC:·····························115.613581 No.·Observations:··················50···AIC:·····························115.6
13582 Df·Residuals:······················48···BIC:·····························119.413582 Df·Residuals:······················48···BIC:·····························119.4
13583 Df·Model:···························1·········································13583 Df·Model:···························1·········································
13584 Covariance·Type:············nonrobust·········································13584 Covariance·Type:············nonrobust·········································
13585 ==============================================================================13585 ==============================================================================
13586 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]13586 ·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]
13587 ------------------------------------------------------------------------------13587 ------------------------------------------------------------------------------
2.81 KB
./usr/share/doc/python-statsmodels-doc/html/gee.html
    
Offset 105, 16 lines modifiedOffset 105, 16 lines modified
105 <span·class="go">===================================================================================</span>105 <span·class="go">===================================================================================</span>
106 <span·class="go">Dep.·Variable:···························y···No.·Observations:··················236</span>106 <span·class="go">Dep.·Variable:···························y···No.·Observations:··················236</span>
107 <span·class="go">Model:·································GEE···No.·clusters:·······················59</span>107 <span·class="go">Model:·································GEE···No.·clusters:·······················59</span>
108 <span·class="go">Method:························Generalized···Min.·cluster·size:···················4</span>108 <span·class="go">Method:························Generalized···Min.·cluster·size:···················4</span>
109 <span·class="go">······················Estimating·Equations···Max.·cluster·size:···················4</span>109 <span·class="go">······················Estimating·Equations···Max.·cluster·size:···················4</span>
110 <span·class="go">Family:····························Poisson···Mean·cluster·size:·················4.0</span>110 <span·class="go">Family:····························Poisson···Mean·cluster·size:·················4.0</span>
111 <span·class="go">Dependence·structure:·········Exchangeable···Num.·iterations:····················51</span>111 <span·class="go">Dependence·structure:·········Exchangeable···Num.·iterations:····················51</span>
112 <span·class="go">Date:·····················Tue,·14·Dec·2021···Scale:···························1.000</span>112 <span·class="go">Date:·····················Wed,·18·Jan·2023···Scale:···························1.000</span>
113 <span·class="go">Covariance·type:····················robust···Time:·························19:42:01</span>113 <span·class="go">Covariance·type:····················robust···Time:·························05:08:57</span>
114 <span·class="go">====================================================================================</span>114 <span·class="go">====================================================================================</span>
115 <span·class="go">·······················coef····std·err··········z······P&gt;|z|······[0.025······0.975]</span>115 <span·class="go">·······················coef····std·err··········z······P&gt;|z|······[0.025······0.975]</span>
116 <span·class="gt">------------------------------------------------------------------------------------</span>116 <span·class="gt">------------------------------------------------------------------------------------</span>
117 <span·class="n">Intercept</span>············<span·class="mf">0.5730</span>······<span·class="mf">0.361</span>······<span·class="mf">1.589</span>······<span·class="mf">0.112</span>······<span·class="o">-</span><span·class="mf">0.134</span>·······<span·class="mf">1.280</span>117 <span·class="n">Intercept</span>············<span·class="mf">0.5730</span>······<span·class="mf">0.361</span>······<span·class="mf">1.589</span>······<span·class="mf">0.112</span>······<span·class="o">-</span><span·class="mf">0.134</span>·······<span·class="mf">1.280</span>
118 <span·class="n">trt</span><span·class="p">[</span><span·class="n">T</span><span·class="o">.</span><span·class="n">progabide</span><span·class="p">]</span>····<span·class="o">-</span><span·class="mf">0.1519</span>······<span·class="mf">0.171</span>·····<span·class="o">-</span><span·class="mf">0.888</span>······<span·class="mf">0.375</span>······<span·class="o">-</span><span·class="mf">0.487</span>·······<span·class="mf">0.183</span>118 <span·class="n">trt</span><span·class="p">[</span><span·class="n">T</span><span·class="o">.</span><span·class="n">progabide</span><span·class="p">]</span>····<span·class="o">-</span><span·class="mf">0.1519</span>······<span·class="mf">0.171</span>·····<span·class="o">-</span><span·class="mf">0.888</span>······<span·class="mf">0.375</span>······<span·class="o">-</span><span·class="mf">0.487</span>·······<span·class="mf">0.183</span>
119 <span·class="n">age</span>··················<span·class="mf">0.0223</span>······<span·class="mf">0.011</span>······<span·class="mf">1.960</span>······<span·class="mf">0.050</span>····<span·class="mf">2.11e-06</span>·······<span·class="mf">0.045</span>119 <span·class="n">age</span>··················<span·class="mf">0.0223</span>······<span·class="mf">0.011</span>······<span·class="mf">1.960</span>······<span·class="mf">0.050</span>····<span·class="mf">2.11e-06</span>·······<span·class="mf">0.045</span>
120 <span·class="n">base</span>·················<span·class="mf">0.0226</span>······<span·class="mf">0.001</span>·····<span·class="mf">18.451</span>······<span·class="mf">0.000</span>·······<span·class="mf">0.020</span>·······<span·class="mf">0.025</span>120 <span·class="n">base</span>·················<span·class="mf">0.0226</span>······<span·class="mf">0.001</span>·····<span·class="mf">18.451</span>······<span·class="mf">0.000</span>·······<span·class="mf">0.020</span>·······<span·class="mf">0.025</span>
2.47 KB
./usr/share/doc/python-statsmodels-doc/html/glm.html
    
Offset 95, 16 lines modifiedOffset 95, 16 lines modified
95 <span·class="go">···················Generalized·Linear·Model·Regression·Results···················</span>95 <span·class="go">···················Generalized·Linear·Model·Regression·Results···················</span>
96 <span·class="go">=================================================================================</span>96 <span·class="go">=================================================================================</span>
97 <span·class="go">Dep.·Variable:······················y···No.·Observations:······················32</span>97 <span·class="go">Dep.·Variable:······················y···No.·Observations:······················32</span>
98 <span·class="go">Model:····························GLM···Df·Residuals:··························24</span>98 <span·class="go">Model:····························GLM···Df·Residuals:··························24</span>
99 <span·class="go">Model·Family:···················Gamma···Df·Model:·······························7</span>99 <span·class="go">Model·Family:···················Gamma···Df·Model:·······························7</span>
100 <span·class="go">Link·Function:··········inverse_power···Scale:··············0.0035842831734931545</span>100 <span·class="go">Link·Function:··········inverse_power···Scale:··············0.0035842831734931545</span>
101 <span·class="go">Method:··························IRLS···Log-Likelihood:···················-83.017</span>101 <span·class="go">Method:··························IRLS···Log-Likelihood:···················-83.017</span>
102 <span·class="go">Date:················Tue,·14·Dec·2021···Deviance:························0.087389</span>102 <span·class="go">Date:················Wed,·18·Jan·2023···Deviance:························0.087389</span>
103 <span·class="go">Time:························19:46:52···Pearson·chi2:······················0.0860</span>103 <span·class="go">Time:························05:12:58···Pearson·chi2:······················0.0860</span>
104 <span·class="go">No.·Iterations:·····················4············································</span>104 <span·class="go">No.·Iterations:·····················4············································</span>
105 <span·class="go">==============================================================================</span>105 <span·class="go">==============================================================================</span>
106 <span·class="go">·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]</span>106 <span·class="go">·················coef····std·err··········z······P&gt;|z|······[0.025······0.975]</span>
107 <span·class="gt">------------------------------------------------------------------------------</span>107 <span·class="gt">------------------------------------------------------------------------------</span>
108 <span·class="n">const</span>·········<span·class="o">-</span><span·class="mf">0.0178</span>······<span·class="mf">0.011</span>·····<span·class="o">-</span><span·class="mf">1.548</span>······<span·class="mf">0.122</span>······<span·class="o">-</span><span·class="mf">0.040</span>·······<span·class="mf">0.005</span>108 <span·class="n">const</span>·········<span·class="o">-</span><span·class="mf">0.0178</span>······<span·class="mf">0.011</span>·····<span·class="o">-</span><span·class="mf">1.548</span>······<span·class="mf">0.122</span>······<span·class="o">-</span><span·class="mf">0.040</span>·······<span·class="mf">0.005</span>
109 <span·class="n">x1</span>··········<span·class="mf">4.962e-05</span>···<span·class="mf">1.62e-05</span>······<span·class="mf">3.060</span>······<span·class="mf">0.002</span>····<span·class="mf">1.78e-05</span>····<span·class="mf">8.14e-05</span>109 <span·class="n">x1</span>··········<span·class="mf">4.962e-05</span>···<span·class="mf">1.62e-05</span>······<span·class="mf">3.060</span>······<span·class="mf">0.002</span>····<span·class="mf">1.78e-05</span>····<span·class="mf">8.14e-05</span>
110 <span·class="n">x2</span>·············<span·class="mf">0.0020</span>······<span·class="mf">0.001</span>······<span·class="mf">3.824</span>······<span·class="mf">0.000</span>·······<span·class="mf">0.001</span>·······<span·class="mf">0.003</span>110 <span·class="n">x2</span>·············<span·class="mf">0.0020</span>······<span·class="mf">0.001</span>······<span·class="mf">3.824</span>······<span·class="mf">0.000</span>·······<span·class="mf">0.001</span>·······<span·class="mf">0.003</span>
3.89 KB
./usr/share/doc/python-statsmodels-doc/html/index.html
    
Offset 99, 16 lines modifiedOffset 99, 16 lines modified
99 <span·class="go">#·Inspect·the·results</span>99 <span·class="go">#·Inspect·the·results</span>
100 <span·class="gp">In·[6]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">results</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>100 <span·class="gp">In·[6]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">results</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>
101 <span·class="go">····························OLS·Regression·Results····························</span>101 <span·class="go">····························OLS·Regression·Results····························</span>
102 <span·class="go">==============================================================================</span>102 <span·class="go">==============================================================================</span>
103 <span·class="go">Dep.·Variable:················Lottery···R-squared:·······················0.348</span>103 <span·class="go">Dep.·Variable:················Lottery···R-squared:·······················0.348</span>
104 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.333</span>104 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.333</span>
105 <span·class="go">Method:·················Least·Squares···F-statistic:·····················22.20</span>105 <span·class="go">Method:·················Least·Squares···F-statistic:·····················22.20</span>
106 <span·class="go">Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.90e-08</span>106 <span·class="go">Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.90e-08</span>
107 <span·class="go">Time:························19:46:54···Log-Likelihood:················-379.82</span>107 <span·class="go">Time:························05:12:59···Log-Likelihood:················-379.82</span>
108 <span·class="go">No.·Observations:··················86···AIC:·····························765.6</span>108 <span·class="go">No.·Observations:··················86···AIC:·····························765.6</span>
109 <span·class="go">Df·Residuals:······················83···BIC:·····························773.0</span>109 <span·class="go">Df·Residuals:······················83···BIC:·····························773.0</span>
110 <span·class="go">Df·Model:···························2·········································</span>110 <span·class="go">Df·Model:···························2·········································</span>
111 <span·class="go">Covariance·Type:············nonrobust·········································</span>111 <span·class="go">Covariance·Type:············nonrobust·········································</span>
112 <span·class="go">===================================================================================</span>112 <span·class="go">===================================================================================</span>
113 <span·class="go">······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>113 <span·class="go">······················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>
114 <span·class="gt">-----------------------------------------------------------------------------------</span>114 <span·class="gt">-----------------------------------------------------------------------------------</span>
Offset 150, 16 lines modifiedOffset 150, 16 lines modified
150 <span·class="go">#·Inspect·the·results</span>150 <span·class="go">#·Inspect·the·results</span>
151 <span·class="gp">In·[16]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">results</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>151 <span·class="gp">In·[16]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">results</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>
152 <span·class="go">····························OLS·Regression·Results····························</span>152 <span·class="go">····························OLS·Regression·Results····························</span>
153 <span·class="go">==============================================================================</span>153 <span·class="go">==============================================================================</span>
154 <span·class="go">Dep.·Variable:······················y···R-squared:·······················0.260</span>154 <span·class="go">Dep.·Variable:······················y···R-squared:·······················0.260</span>
155 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.245</span>155 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.245</span>
156 <span·class="go">Method:·················Least·Squares···F-statistic:·····················17.06</span>156 <span·class="go">Method:·················Least·Squares···F-statistic:·····················17.06</span>
157 <span·class="go">Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········4.49e-07</span>157 <span·class="go">Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········4.49e-07</span>
158 <span·class="go">Time:························19:46:54···Log-Likelihood:················-23.039</span>158 <span·class="go">Time:························05:12:59···Log-Likelihood:················-23.039</span>
159 <span·class="go">No.·Observations:·················100···AIC:·····························52.08</span>159 <span·class="go">No.·Observations:·················100···AIC:·····························52.08</span>
160 <span·class="go">Df·Residuals:······················97···BIC:·····························59.89</span>160 <span·class="go">Df·Residuals:······················97···BIC:·····························59.89</span>
161 <span·class="go">Df·Model:···························2·········································</span>161 <span·class="go">Df·Model:···························2·········································</span>
162 <span·class="go">Covariance·Type:············nonrobust·········································</span>162 <span·class="go">Covariance·Type:············nonrobust·········································</span>
163 <span·class="go">==============================================================================</span>163 <span·class="go">==============================================================================</span>
164 <span·class="go">·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>164 <span·class="go">·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>
165 <span·class="gt">------------------------------------------------------------------------------</span>165 <span·class="gt">------------------------------------------------------------------------------</span>
1.95 KB
./usr/share/doc/python-statsmodels-doc/html/regression.html
    
Offset 98, 16 lines modifiedOffset 98, 16 lines modified
  
98 <span·class="gp">In·[7]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">res</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>98 <span·class="gp">In·[7]:·</span><span·class="k">print</span><span·class="p">(</span><span·class="n">res</span><span·class="o">.</span><span·class="n">summary</span><span·class="p">())</span>
99 <span·class="go">····························OLS·Regression·Results····························</span>99 <span·class="go">····························OLS·Regression·Results····························</span>
100 <span·class="go">==============================================================================</span>100 <span·class="go">==============================================================================</span>
101 <span·class="go">Dep.·Variable:······················y···R-squared:·······················0.416</span>101 <span·class="go">Dep.·Variable:······················y···R-squared:·······················0.416</span>
102 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.353</span>102 <span·class="go">Model:····························OLS···Adj.·R-squared:··················0.353</span>
103 <span·class="go">Method:·················Least·Squares···F-statistic:·····················6.646</span>103 <span·class="go">Method:·················Least·Squares···F-statistic:·····················6.646</span>
104 <span·class="go">Date:················Tue,·14·Dec·2021···Prob·(F-statistic):············0.00157</span>104 <span·class="go">Date:················Wed,·18·Jan·2023···Prob·(F-statistic):············0.00157</span>
105 <span·class="go">Time:························19:46:55···Log-Likelihood:················-12.978</span>105 <span·class="go">Time:························05:13:00···Log-Likelihood:················-12.978</span>
106 <span·class="go">No.·Observations:··················32···AIC:·····························33.96</span>106 <span·class="go">No.·Observations:··················32···AIC:·····························33.96</span>
107 <span·class="go">Df·Residuals:······················28···BIC:·····························39.82</span>107 <span·class="go">Df·Residuals:······················28···BIC:·····························39.82</span>
108 <span·class="go">Df·Model:···························3·········································</span>108 <span·class="go">Df·Model:···························3·········································</span>
109 <span·class="go">Covariance·Type:············nonrobust·········································</span>109 <span·class="go">Covariance·Type:············nonrobust·········································</span>
110 <span·class="go">==============================================================================</span>110 <span·class="go">==============================================================================</span>
111 <span·class="go">·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>111 <span·class="go">·················coef····std·err··········t······P&gt;|t|······[0.025······0.975]</span>
112 <span·class="gt">------------------------------------------------------------------------------</span>112 <span·class="gt">------------------------------------------------------------------------------</span>
5.4 KB
./usr/share/doc/python-statsmodels-doc/html/searchindex.js
5.29 KB
js-beautify {}
    
Offset 5378, 15 lines modifiedOffset 5378, 15 lines modified
5378 ········ddof:·[1049,·1050,·1731,·1780,·1879,·1897,·2117,·2121,·2136,·2193,·2195,·2243,·2249,·2250,·2252,·2255,·2257,·2258,·2265,·2274,·2286,·2287,·2288,·2305,·2306],5378 ········ddof:·[1049,·1050,·1731,·1780,·1879,·1897,·2117,·2121,·2136,·2193,·2195,·2243,·2249,·2250,·2252,·2255,·2257,·2258,·2265,·2274,·2286,·2287,·2288,·2305,·2306],
5379 ········ddof_scal:·766,5379 ········ddof_scal:·766,
5380 ········ddot:·[1980,·2876],5380 ········ddot:·[1980,·2876],
5381 ········deal:·3108,5381 ········deal:·3108,
5382 ········death:·[18,·147,·500,·511,·548,·549],5382 ········death:·[18,·147,·500,·511,·548,·549],
5383 ········debian:·[3104,·3108],5383 ········debian:·[3104,·3108],
5384 ········debug:·[2118,·2206,·2208,·3085],5384 ········debug:·[2118,·2206,·2208,·3085],
5385 ········dec:·[17,·145,·150,·153,·880,·881,·3088,·3093,·3102,·3118],5385 ········dec:·[17,·880,·881],
5386 ········dec_below:·970,5386 ········dec_below:·970,
5387 ········decemb:·[9,·20],5387 ········decemb:·[9,·20],
5388 ········dechert:·3110,5388 ········dechert:·3110,
5389 ········decid:·[139,·149,·818],5389 ········decid:·[139,·149,·818],
5390 ········decim:·[3,·935,·2226,·3103],5390 ········decim:·[3,·935,·2226,·3103],
5391 ········decimal_tvalu:·141,5391 ········decimal_tvalu:·141,
5392 ········decis:·[149,·1939,·2159],5392 ········decis:·[149,·1939,·2159],
Offset 6974, 15 lines modifiedOffset 6974, 15 lines modified
6974 ········ix_depth:·880,6974 ········ix_depth:·880,
6975 ········ix_outli:·880,6975 ········ix_outli:·880,
6976 ········jac:·[60,·84,·94,·157,·171,·201,·215,·242,·256,·282,·294,·299,·330,·343,·347,·361,·390,·406,·435,·452,·464,·469,·526,·841,·1268,·1397,·1496,·1748,·1800,·2336,·2378,·2422,·2566,·2678,·2761,·2838,·2920,·3103,·3104],6976 ········jac:·[60,·84,·94,·157,·171,·201,·215,·242,·256,·282,·294,·299,·330,·343,·347,·361,·390,·406,·435,·452,·464,·469,·526,·841,·1268,·1397,·1496,·1748,·1800,·2336,·2378,·2422,·2566,·2678,·2761,·2838,·2920,·3103,·3104],
6977 ········jac_error:·1895,6977 ········jac_error:·1895,
6978 ········jac_func:·1895,6978 ········jac_func:·1895,
6979 ········jacobian:·[38,·45,·52,·62,·63,·77,·120,·121,·126,·288,·294,·336,·343,·442,·448,·458,·464,·986,·995,·1003,·1011,·1019,·1027,·1035,·1043,·1270,·1271,·1290,·1389,·1895,·2307,·2308,·2557,·2670,·2750,·2830,·2912],6979 ········jacobian:·[38,·45,·52,·62,·63,·77,·120,·121,·126,·288,·294,·336,·343,·442,·448,·458,·464,·986,·995,·1003,·1011,·1019,·1027,·1035,·1043,·1270,·1271,·1290,·1389,·1895,·2307,·2308,·2557,·2670,·2750,·2830,·2912],
6980 ········jame:·[1362,·2717,·2722,·2801,·3110],6980 ········jame:·[1362,·2717,·2722,·2801,·3110],
6981 ········jan:·[1362,·1374,·1375,·2542,·2543,·2655,·2656,·2717,·2722,·2735,·2736,·2801,·2814,·2815,·2897,·2898,·3107,·3108,·3109,·3110],6981 ········jan:·[145,·150,·153,·1362,·1374,·1375,·2542,·2543,·2655,·2656,·2717,·2722,·2735,·2736,·2801,·2814,·2815,·2897,·2898,·3088,·3093,·3102,·3107,·3108,·3109,·3110,·3118],
6982 ········januari:·24,6982 ········januari:·24,
6983 ········japan:·1947,6983 ········japan:·1947,
6984 ········jarqu:·[150,·1434,·2238,·2598,·2709,·2795,·2870,·2951,·3082,·3093,·3102,·3110,·3114],6984 ········jarqu:·[150,·1434,·2238,·2598,·2709,·2795,·2870,·2951,·3082,·3093,·3102,·3110,·3114],
6985 ········jarque_bera:·[144,·1434,·2598,·2709,·2795,·2870,·2951,·3093],6985 ········jarque_bera:·[144,·1434,·2598,·2709,·2795,·2870,·2951,·3093],
6986 ········jarquebera:·[1434,·2598,·2709,·2795,·2870,·2951],6986 ········jarquebera:·[1434,·2598,·2709,·2795,·2870,·2951],
6987 ········jasc:·[3107,·3108],6987 ········jasc:·[3107,·3108],
6988 ········jbpv:·2238,6988 ········jbpv:·2238,
Offset 10152, 15 lines modifiedOffset 10152, 14 lines modified
10152 ········ttest_mean:·2255,10152 ········ttest_mean:·2255,
10153 ········ttestindpow:·[2207,·3093,·3107],10153 ········ttestindpow:·[2207,·3093,·3107],
10154 ········ttestpow:·[2208,·3093,·3107],10154 ········ttestpow:·[2208,·3093,·3107],
10155 ········ttme:·21,10155 ········ttme:·21,
10156 ········ttost_ind:·3093,10156 ········ttost_ind:·3093,
10157 ········ttost_pair:·3093,10157 ········ttost_pair:·3093,
10158 ········tuce:·25,10158 ········tuce:·25,
10159 ········tue:·[145,·150,·153,·3088,·3093,·3102,·3118], 
10160 ········tukei:·[1475,·1476,·1477,·1478,·1479,·1938,·1939,·1946,·1947,·1955,·2136,·3107,·3112],10159 ········tukei:·[1475,·1476,·1477,·1478,·1479,·1938,·1939,·1946,·1947,·1955,·2136,·3107,·3112],
10161 ········tukeybiweight:·1481,10160 ········tukeybiweight:·1481,
10162 ········tukeyhsd:·[1947,·1952,·2156,·3103,·3104,·3115],10161 ········tukeyhsd:·[1947,·1952,·2156,·3103,·3104,·3115],
10163 ········tukeyhsdresult:·[1938,·2156,·3093],10162 ········tukeyhsdresult:·[1938,·2156,·3093],
10164 ········tune:·[793,·857,·1440,·1445,·1450,·1460,·1465,·1470,·1475,·1483,·1518,·1519,·2104],10163 ········tune:·[793,·857,·1440,·1445,·1450,·1460,·1465,·1470,·1475,·1483,·1518,·1519,·2104],
10165 ········tupl:·[65,·79,·81,·84,·96,·106,·108,·157,·158,·173,·194,·196,·201,·202,·217,·235,·237,·242,·243,·258,·275,·277,·282,·283,·301,·323,·325,·330,·331,·347,·348,·363,·383,·385,·390,·391,·408,·428,·430,·435,·436,·437,·452,·453,·471,·493,·495,·528,·543,·545,·556,·558,·561,·562,·563,·564,·566,·567,·568,·569,·570,·573,·579,·585,·591,·600,·606,·763,·772,·784,·814,·816,·822,·844,·870,·872,·876,·877,·882,·892,·894,·901,·918,·919,·940,·978,·1136,·1143,·1146,·1173,·1176,·1201,·1226,·1229,·1273,·1294,·1329,·1356,·1359,·1407,·1420,·1421,·1422,·1423,·1432,·1437,·1498,·1512,·1514,·1527,·1528,·1542,·1550,·1551,·1565,·1573,·1574,·1588,·1596,·1597,·1611,·1625,·1626,·1640,·1648,·1649,·1663,·1677,·1678,·1692,·1700,·1701,·1715,·1730,·1731,·1750,·1764,·1766,·1779,·1780,·1802,·1819,·1821,·1845,·1871,·1874,·1878,·1879,·1896,·1897,·1947,·1956,·1962,·1965,·1966,·2001,·2050,·2133,·2140,·2141,·2216,·2223,·2233,·2251,·2254,·2272,·2277,·2283,·2284,·2285,·2288,·2307,·2308,·2309,·2310,·2311,·2312,·2338,·2355,·2357,·2380,·2399,·2401,·2424,·2443,·2445,·2454,·2459,·2574,·2587,·2588,·2596,·2601,·2604,·2638,·2686,·2699,·2707,·2712,·2715,·2717,·2769,·2773,·2785,·2793,·2798,·2801,·2846,·2850,·2859,·2860,·2868,·2873,·2880,·2928,·2941,·2949,·2954,·2964,·2965,·2975,·3055,·3081,·3085,·3086,·3103],10164 ········tupl:·[65,·79,·81,·84,·96,·106,·108,·157,·158,·173,·194,·196,·201,·202,·217,·235,·237,·242,·243,·258,·275,·277,·282,·283,·301,·323,·325,·330,·331,·347,·348,·363,·383,·385,·390,·391,·408,·428,·430,·435,·436,·437,·452,·453,·471,·493,·495,·528,·543,·545,·556,·558,·561,·562,·563,·564,·566,·567,·568,·569,·570,·573,·579,·585,·591,·600,·606,·763,·772,·784,·814,·816,·822,·844,·870,·872,·876,·877,·882,·892,·894,·901,·918,·919,·940,·978,·1136,·1143,·1146,·1173,·1176,·1201,·1226,·1229,·1273,·1294,·1329,·1356,·1359,·1407,·1420,·1421,·1422,·1423,·1432,·1437,·1498,·1512,·1514,·1527,·1528,·1542,·1550,·1551,·1565,·1573,·1574,·1588,·1596,·1597,·1611,·1625,·1626,·1640,·1648,·1649,·1663,·1677,·1678,·1692,·1700,·1701,·1715,·1730,·1731,·1750,·1764,·1766,·1779,·1780,·1802,·1819,·1821,·1845,·1871,·1874,·1878,·1879,·1896,·1897,·1947,·1956,·1962,·1965,·1966,·2001,·2050,·2133,·2140,·2141,·2216,·2223,·2233,·2251,·2254,·2272,·2277,·2283,·2284,·2285,·2288,·2307,·2308,·2309,·2310,·2311,·2312,·2338,·2355,·2357,·2380,·2399,·2401,·2424,·2443,·2445,·2454,·2459,·2574,·2587,·2588,·2596,·2601,·2604,·2638,·2686,·2699,·2707,·2712,·2715,·2717,·2769,·2773,·2785,·2793,·2798,·2801,·2846,·2850,·2859,·2860,·2868,·2873,·2880,·2928,·2941,·2949,·2954,·2964,·2965,·2975,·3055,·3081,·3085,·3086,·3103],
10166 ········tupleize_col:·3,10165 ········tupleize_col:·3,
Offset 10514, 15 lines modifiedOffset 10513, 15 lines modified
10514 ········weakli:·3108,10513 ········weakli:·3108,
10515 ········wealth:·[150,·3087],10514 ········wealth:·[150,·3087],
10516 ········weather:·13,10515 ········weather:·13,
10517 ········web:·[7,·25,·2147,·3103],10516 ········web:·[7,·25,·2147,·3103],
10518 ········webpag:·3104,10517 ········webpag:·3104,
10519 ········websit:·[37,·139,·3103],10518 ········websit:·[37,·139,·3103],
10520 ········webus:·[3093,·3104],10519 ········webus:·[3093,·3104],
10521 ········wed:·3114,10520 ········wed:·[145,·150,·153,·3088,·3093,·3102,·3114,·3118],
10522 ········week:·[5,·9],10521 ········week:·[5,·9],
10523 ········weekli:·[31,·3093,·3104,·3108],10522 ········weekli:·[31,·3093,·3104,·3108],
10524 ········wei:·153,10523 ········wei:·153,
10525 ········weidemann:·3110,10524 ········weidemann:·3110,
10526 ········weight:·[82,·109,·144,·147,·158,·197,·202,·238,·243,·278,·283,·326,·331,·348,·386,·391,·431,·437,·453,·496,·510,·521,·546,·547,·548,·558,·559,·562,·566,·567,·568,·569,·570,·571,·594,·595,·611,·614,·621,·623,·626,·630,·632,·639,·641,·648,·650,·653,·657,·659,·666,·668,·675,·677,·763,·792,·817,·818,·823,·827,·834,·846,·856,·873,·878,·1044,·1047,·1048,·1057,·1086,·1087,·1110,·1112,·1143,·1150,·1177,·1179,·1204,·1230,·1232,·1242,·1246,·1295,·1297,·1332,·1360,·1438,·1483,·1491,·1515,·1729,·1730,·1731,·1732,·1734,·1736,·1738,·1741,·1746,·1747,·1767,·1779,·1780,·1781,·1783,·1787,·1789,·1793,·1798,·1799,·1822,·1848,·1875,·1878,·1879,·1880,·1882,·1886,·1888,·1892,·1896,·1897,·1898,·1900,·1904,·1906,·1907,·1908,·1912,·2038,·2063,·2094,·2131,·2134,·2138,·2227,·2232,·2233,·2245,·2255,·2256,·2257,·2258,·2259,·2260,·2261,·2262,·2263,·2266,·2267,·2269,·2270,·2275,·2276,·2283,·2284,·2285,·2358,·2402,·2446,·2474,·2476,·2501,·2521,·2602,·2713,·2799,·2874,·2955,·3088,·3089,·3093,·3097,·3098,·3100,·3102,·3103,·3104,·3107,·3108,·3109,·3110,·3111],10525 ········weight:·[82,·109,·144,·147,·158,·197,·202,·238,·243,·278,·283,·326,·331,·348,·386,·391,·431,·437,·453,·496,·510,·521,·546,·547,·548,·558,·559,·562,·566,·567,·568,·569,·570,·571,·594,·595,·611,·614,·621,·623,·626,·630,·632,·639,·641,·648,·650,·653,·657,·659,·666,·668,·675,·677,·763,·792,·817,·818,·823,·827,·834,·846,·856,·873,·878,·1044,·1047,·1048,·1057,·1086,·1087,·1110,·1112,·1143,·1150,·1177,·1179,·1204,·1230,·1232,·1242,·1246,·1295,·1297,·1332,·1360,·1438,·1483,·1491,·1515,·1729,·1730,·1731,·1732,·1734,·1736,·1738,·1741,·1746,·1747,·1767,·1779,·1780,·1781,·1783,·1787,·1789,·1793,·1798,·1799,·1822,·1848,·1875,·1878,·1879,·1880,·1882,·1886,·1888,·1892,·1896,·1897,·1898,·1900,·1904,·1906,·1907,·1908,·1912,·2038,·2063,·2094,·2131,·2134,·2138,·2227,·2232,·2233,·2245,·2255,·2256,·2257,·2258,·2259,·2260,·2261,·2262,·2263,·2266,·2267,·2269,·2270,·2275,·2276,·2283,·2284,·2285,·2358,·2402,·2446,·2474,·2476,·2501,·2521,·2602,·2713,·2799,·2874,·2955,·3088,·3089,·3093,·3097,·3098,·3100,·3102,·3103,·3104,·3107,·3108,·3109,·3110,·3111],
10527 ········weight_method:·[1731,·1780,·1879,·1897],10526 ········weight_method:·[1731,·1780,·1879,·1897],
10528 ········weight_typ:·147,10527 ········weight_typ:·147,
1.68 KB
./usr/share/doc/python-statsmodels-doc/html/vector_ar.html
    
Offset 658, 20 lines modifiedOffset 658, 20 lines modified
00002910:·2020·2020·2020·2020·2020·2020·2020·2020··················00002910:·2020·2020·2020·2020·2020·2020·2020·2020··················
00002920:·2020·2020·5641·523c·2f73·7061·6e3e·0a3c······VAR</span>.<00002920:·2020·2020·5641·523c·2f73·7061·6e3e·0a3c······VAR</span>.<
00002930:·7370·616e·2063·6c61·7373·3d22·676f·223e··span·class="go">00002930:·7370·616e·2063·6c61·7373·3d22·676f·223e··span·class="go">
00002940:·4d65·7468·6f64·3a20·2020·2020·2020·2020··Method:·········00002940:·4d65·7468·6f64·3a20·2020·2020·2020·2020··Method:·········
00002950:·2020·2020·2020·2020·2020·2020·2020·204f·················O00002950:·2020·2020·2020·2020·2020·2020·2020·204f·················O
00002960:·4c53·3c2f·7370·616e·3e0a·3c73·7061·6e20··LS</span>.<span·00002960:·4c53·3c2f·7370·616e·3e0a·3c73·7061·6e20··LS</span>.<span·
00002970:·636c·6173·733d·2267·6f22·3e44·6174·653a··class="go">Date:00002970:·636c·6173·733d·2267·6f22·3e44·6174·653a··class="go">Date:
00002980:·2020·2020·2020·2020·2020·2054·7565·2c20·············Tue,·00002980:·2020·2020·2020·2020·2020·2057·6564·2c20·············Wed,·
00002990:·3134·2c20·4465·632c·2032·3032·313c·2f73··14,·Dec,·2021</s00002990:·3138·2c20·4a61·6e2c·2032·3032·333c·2f73··18,·Jan,·2023</s
000029a0:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class000029a0:·7061·6e3e·0a3c·7370·616e·2063·6c61·7373··pan>.<span·class
000029b0:·3d22·676f·223e·5469·6d65·3a20·2020·2020··="go">Time:·····000029b0:·3d22·676f·223e·5469·6d65·3a20·2020·2020··="go">Time:·····
000029c0:·2020·2020·2020·2020·2020·2020·2020·2020··················000029c0:·2020·2020·2020·2020·2020·2020·2020·2020··················
000029d0:·3139·3a34·373a·3035·3c2f·7370·616e·3e0a··19:47:05</span>.000029d0:·3035·3a31·333a·3038·3c2f·7370·616e·3e0a··05:13:08</span>.
000029e0:·3c73·7061·6e20·636c·6173·733d·2267·7422··<span·class="gt"000029e0:·3c73·7061·6e20·636c·6173·733d·2267·7422··<span·class="gt"
000029f0:·3e2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··>---------------000029f0:·3e2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··>---------------
00002a00:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------00002a00:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------
00002a10:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------00002a10:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------
00002a20:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------00002a20:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··----------------
00002a30:·2d2d·2d2d·2d3c·2f73·7061·6e3e·0a3c·7370··-----</span>.<sp00002a30:·2d2d·2d2d·2d3c·2f73·7061·6e3e·0a3c·7370··-----</span>.<sp
00002a40:·616e·2063·6c61·7373·3d22·6e22·3e4e·6f3c··an·class="n">No<00002a40:·616e·2063·6c61·7373·3d22·6e22·3e4e·6f3c··an·class="n">No<
1.38 MB
python-statsmodels_0.8.0-9_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2019-03-02·14:59:35.000000·debian-binary1 -rw-r--r--···0········0········0········4·2019-03-02·14:59:35.000000·debian-binary
2 -rw-r--r--···0········0········0····22480·2019-03-02·14:59:35.000000·control.tar.xz2 -rw-r--r--···0········0········0····22484·2019-03-02·14:59:35.000000·control.tar.xz
3 -rw-r--r--···0········0········0··7157872·2019-03-02·14:59:35.000000·data.tar.xz3 -rw-r--r--···0········0········0··7157868·2019-03-02·14:59:35.000000·data.tar.xz
799 B
control.tar.xz
771 B
control.tar
701 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·python-statsmodels1 Package:·python-statsmodels
2 Source:·statsmodels2 Source:·statsmodels
3 Version:·0.8.0-93 Version:·0.8.0-9
4 Architecture:·all4 Architecture:·all
5 Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org>5 Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org>
6 Installed-Size:·197036 Installed-Size:·19705
7 Depends:·python-numpy,·python:any·(<<·2.8),·python:any·(>=·2.7~),·python-scipy,·python-statsmodels-lib·(>=·0.8.0-9),·python-patsy,·python-pandas7 Depends:·python-numpy,·python:any·(<<·2.8),·python:any·(>=·2.7~),·python-scipy,·python-statsmodels-lib·(>=·0.8.0-9),·python-patsy,·python-pandas
8 Recommends:·python-matplotlib,·python-joblib,·python-cvxopt8 Recommends:·python-matplotlib,·python-joblib,·python-cvxopt
9 Suggests:·python-statsmodels-doc9 Suggests:·python-statsmodels-doc
10 Breaks:·python-scikits-statsmodels,·python-scikits.statsmodels·(<<·0.4)10 Breaks:·python-scikits-statsmodels,·python-scikits.statsmodels·(<<·0.4)
11 Replaces:·python-scikits-statsmodels,·python-scikits.statsmodels·(<<·0.4)11 Replaces:·python-scikits-statsmodels,·python-scikits.statsmodels·(<<·0.4)
12 Provides:·python2.7-statsmodels12 Provides:·python2.7-statsmodels
13 Section:·python13 Section:·python
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
1.38 MB
data.tar.xz
1.38 MB
data.tar
11.0 KB
file list
    
Offset 943, 48 lines modifiedOffset 943, 48 lines modified
943 -rw-r--r--···0·root·········(0)·root·········(0)······284·2019-02-13·21:33:00.000000·./usr/share/doc/python-statsmodels/TODO.Debian943 -rw-r--r--···0·root·········(0)·root·········(0)······284·2019-02-13·21:33:00.000000·./usr/share/doc/python-statsmodels/TODO.Debian
944 -rw-r--r--···0·root·········(0)·root·········(0)·····6320·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/changelog.Debian.gz944 -rw-r--r--···0·root·········(0)·root·········(0)·····6320·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/changelog.Debian.gz
945 -rw-r--r--···0·root·········(0)·root·········(0)······177·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/changelog.gz945 -rw-r--r--···0·root·········(0)·root·········(0)······177·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/changelog.gz
946 -rw-r--r--···0·root·········(0)·root·········(0)····12398·2019-02-24·13:46:16.000000·./usr/share/doc/python-statsmodels/copyright946 -rw-r--r--···0·root·········(0)·root·········(0)····12398·2019-02-24·13:46:16.000000·./usr/share/doc/python-statsmodels/copyright
947 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/947 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/
948 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/948 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/
949 -rw-r--r--···0·root·········(0)·root·········(0)····13831·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/categorical_interaction_plot.ipynb.gz949 -rw-r--r--···0·root·········(0)·root·········(0)····13831·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/categorical_interaction_plot.ipynb.gz
950 -rw-r--r--···0·root·········(0)·root·········(0)·····3443·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/chi2_fitting.ipynb.gz950 -rw-r--r--···0·root·········(0)·root·········(0)·····3444·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/chi2_fitting.ipynb.gz
951 -rw-r--r--···0·root·········(0)·root·········(0)·····7522·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/contrasts.ipynb.gz951 -rw-r--r--···0·root·········(0)·root·········(0)·····7522·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/contrasts.ipynb.gz
952 -rw-r--r--···0·root·········(0)·root·········(0)···144638·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_example.ipynb.gz952 -rw-r--r--···0·root·········(0)·root·········(0)···144640·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_example.ipynb.gz
953 -rw-r--r--···0·root·········(0)·root·········(0)·····4672·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_overview.ipynb.gz953 -rw-r--r--···0·root·········(0)·root·········(0)·····4685·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_overview.ipynb.gz
954 -rw-r--r--···0·root·········(0)·root·········(0)·····4587·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/formulas.ipynb.gz954 -rw-r--r--···0·root·········(0)·root·········(0)·····4583·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/formulas.ipynb.gz
955 -rw-r--r--···0·root·········(0)·root·········(0)·····6002·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/generic_mle.ipynb.gz955 -rw-r--r--···0·root·········(0)·root·········(0)·····6004·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/generic_mle.ipynb.gz
956 -rw-r--r--···0·root·········(0)·root·········(0)····56075·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/glm.ipynb.gz956 -rw-r--r--···0·root·········(0)·root·········(0)····56073·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/glm.ipynb.gz
957 -rw-r--r--···0·root·········(0)·root·········(0)·····3255·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/glm_formula.ipynb.gz957 -rw-r--r--···0·root·········(0)·root·········(0)·····3256·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/glm_formula.ipynb.gz
958 -rw-r--r--···0·root·········(0)·root·········(0)·····3319·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/gls.ipynb.gz958 -rw-r--r--···0·root·········(0)·root·········(0)·····3318·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/gls.ipynb.gz
959 -rw-r--r--···0·root·········(0)·root·········(0)····21643·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/interactions_anova.ipynb.gz959 -rw-r--r--···0·root·········(0)·root·········(0)····21643·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/interactions_anova.ipynb.gz
960 -rw-r--r--···0·root·········(0)·root·········(0)····86773·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/kernel_density.ipynb.gz960 -rw-r--r--···0·root·········(0)·root·········(0)····86773·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/kernel_density.ipynb.gz
961 -rw-r--r--···0·root·········(0)·root·········(0)····85181·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/markov_autoregression.ipynb.gz961 -rw-r--r--···0·root·········(0)·root·········(0)····85181·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/markov_autoregression.ipynb.gz
962 -rw-r--r--···0·root·········(0)·root·········(0)···256567·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/markov_regression.ipynb.gz962 -rw-r--r--···0·root·········(0)·root·········(0)···256578·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/markov_regression.ipynb.gz
963 -rw-r--r--···0·root·········(0)·root·········(0)····57741·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/mixed_lm_example.ipynb.gz963 -rw-r--r--···0·root·········(0)·root·········(0)····57733·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/mixed_lm_example.ipynb.gz
964 -rw-r--r--···0·root·········(0)·root·········(0)····63469·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/ols.ipynb.gz964 -rw-r--r--···0·root·········(0)·root·········(0)····63461·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/ols.ipynb.gz
965 -rw-r--r--···0·root·········(0)·root·········(0)···180927·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/pca_fertility_factors.ipynb.gz965 -rw-r--r--···0·root·········(0)·root·········(0)···180927·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/pca_fertility_factors.ipynb.gz
966 -rw-r--r--···0·root·········(0)·root·········(0)···757601·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/plots_boxplots.ipynb.gz966 -rw-r--r--···0·root·········(0)·root·········(0)···757835·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/plots_boxplots.ipynb.gz
967 -rw-r--r--···0·root·········(0)·root·········(0)····17287·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/predict.ipynb.gz967 -rw-r--r--···0·root·········(0)·root·········(0)····17546·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/predict.ipynb.gz
968 -rw-r--r--···0·root·········(0)·root·········(0)····88903·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/quantile_regression.ipynb.gz968 -rw-r--r--···0·root·········(0)·root·········(0)····88906·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/quantile_regression.ipynb.gz
969 -rw-r--r--···0·root·········(0)·root·········(0)···138062·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/recursive_ls.ipynb.gz969 -rw-r--r--···0·root·········(0)·root·········(0)···138062·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/recursive_ls.ipynb.gz
970 -rw-r--r--···0·root·········(0)·root·········(0)····19283·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/regression_diagnostics.ipynb.gz970 -rw-r--r--···0·root·········(0)·root·········(0)····19280·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/regression_diagnostics.ipynb.gz
971 -rw-r--r--···0·root·········(0)·root·········(0)···545785·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/regression_plots.ipynb.gz971 -rw-r--r--···0·root·········(0)·root·········(0)···545789·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/regression_plots.ipynb.gz
972 -rw-r--r--···0·root·········(0)·root·········(0)····70305·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/robust_models_0.ipynb.gz972 -rw-r--r--···0·root·········(0)·root·········(0)····69732·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/robust_models_0.ipynb.gz
973 -rw-r--r--···0·root·········(0)·root·········(0)···401660·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/robust_models_1.ipynb.gz973 -rw-r--r--···0·root·········(0)·root·········(0)···401666·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/robust_models_1.ipynb.gz
974 -rw-r--r--···0·root·········(0)·root·········(0)···179810·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_arma_0.ipynb.gz974 -rw-r--r--···0·root·········(0)·root·········(0)···179810·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_arma_0.ipynb.gz
975 -rw-r--r--···0·root·········(0)·root·········(0)····10880·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_cycles.ipynb.gz975 -rw-r--r--···0·root·········(0)·root·········(0)····10880·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_cycles.ipynb.gz
976 -rw-r--r--···0·root·········(0)·root·········(0)····15649·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_dfm_coincident.ipynb.gz976 -rw-r--r--···0·root·········(0)·root·········(0)····15649·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_dfm_coincident.ipynb.gz
977 -rw-r--r--···0·root·········(0)·root·········(0)····10444·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_local_linear_trend.ipynb.gz977 -rw-r--r--···0·root·········(0)·root·········(0)····10443·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_local_linear_trend.ipynb.gz
978 -rw-r--r--···0·root·········(0)·root·········(0)·····5708·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_internet.ipynb.gz978 -rw-r--r--···0·root·········(0)·root·········(0)·····5708·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_internet.ipynb.gz
979 -rw-r--r--···0·root·········(0)·root·········(0)····29809·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_stata.ipynb.gz979 -rw-r--r--···0·root·········(0)·root·········(0)····29810·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_stata.ipynb.gz
980 -rw-r--r--···0·root·········(0)·root·········(0)·····6479·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_structural_harvey_jaeger.ipynb.gz980 -rw-r--r--···0·root·········(0)·root·········(0)·····6479·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_structural_harvey_jaeger.ipynb.gz
981 -rw-r--r--···0·root·········(0)·root·········(0)·····4512·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_varmax.ipynb.gz981 -rw-r--r--···0·root·········(0)·root·········(0)·····4512·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/statespace_varmax.ipynb.gz
982 -rw-r--r--···0·root·········(0)·root·········(0)···291625·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_0.ipynb.gz982 -rw-r--r--···0·root·········(0)·root·········(0)···291615·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_0.ipynb.gz
983 -rw-r--r--···0·root·········(0)·root·········(0)····32970·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_1.ipynb.gz983 -rw-r--r--···0·root·········(0)·root·········(0)····32972·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_1.ipynb.gz
984 -rw-r--r--···0·root·········(0)·root·········(0)·····1439·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_dates.ipynb.gz984 -rw-r--r--···0·root·········(0)·root·········(0)·····1439·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_dates.ipynb.gz
985 -rw-r--r--···0·root·········(0)·root·········(0)···177786·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_filters.ipynb.gz985 -rw-r--r--···0·root·········(0)·root·········(0)···177786·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/tsa_filters.ipynb.gz
986 -rw-r--r--···0·root·········(0)·root·········(0)····39844·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/wls.ipynb.gz986 -rw-r--r--···0·root·········(0)·root·········(0)····39844·2019-03-02·14:59:35.000000·./usr/share/doc/python-statsmodels/examples/executed/wls.ipynb.gz
987 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/987 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/
988 -rw-r--r--···0·root·········(0)·root·········(0)·····1605·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/arima.py988 -rw-r--r--···0·root·········(0)·root·········(0)·····1605·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/arima.py
989 -rw-r--r--···0·root·········(0)·root·········(0)······864·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/arma2.py989 -rw-r--r--···0·root·········(0)·root·········(0)······864·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/arma2.py
990 -rw-r--r--···0·root·········(0)·root·········(0)·····1262·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/dates.py990 -rw-r--r--···0·root·········(0)·root·········(0)·····1262·2017-02-08·15:47:08.000000·./usr/share/doc/python-statsmodels/examples/incomplete/dates.py
1.67 KB
./usr/share/doc/python-statsmodels/examples/executed/chi2_fitting.ipynb.gz
1.52 KB
chi2_fitting.ipynb
    
Offset 204, 16 lines modifiedOffset 204, 16 lines modified
204 ·····"output_type":·"stream",204 ·····"output_type":·"stream",
205 ·····"text":·[205 ·····"text":·[
206 ······"····························WLS·Regression·Results····························\n",206 ······"····························WLS·Regression·Results····························\n",
207 ······"==============================================================================\n",207 ······"==============================================================================\n",
208 ······"Dep.·Variable:······················y···R-squared:·······················0.400\n",208 ······"Dep.·Variable:······················y···R-squared:·······················0.400\n",
209 ······"Model:····························WLS···Adj.·R-squared:··················0.367\n",209 ······"Model:····························WLS···Adj.·R-squared:··················0.367\n",
210 ······"Method:·················Least·Squares···F-statistic:·····················193.5\n",210 ······"Method:·················Least·Squares···F-statistic:·····················193.5\n",
211 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········4.52e-11\n",211 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········4.52e-11\n",
212 ······"Time:························19:41:20···Log-Likelihood:················-119.06\n",212 ······"Time:························05:06:57···Log-Likelihood:················-119.06\n",
213 ······"No.·Observations:··················20···AIC:·····························242.1\n",213 ······"No.·Observations:··················20···AIC:·····························242.1\n",
214 ······"Df·Residuals:······················18···BIC:·····························244.1\n",214 ······"Df·Residuals:······················18···BIC:·····························244.1\n",
215 ······"Df·Model:···························1·········································\n",215 ······"Df·Model:···························1·········································\n",
216 ······"Covariance·Type:··········fixed·scale·········································\n",216 ······"Covariance·Type:··········fixed·scale·········································\n",
217 ······"==============================================================================\n",217 ······"==============================================================================\n",
218 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",218 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
219 ······"------------------------------------------------------------------------------\n",219 ······"------------------------------------------------------------------------------\n",
3.46 KB
./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_example.ipynb.gz
3.3 KB
discrete_choice_example.ipynb
    
Offset 243, 16 lines modifiedOffset 243, 16 lines modified
243 ·····"output_type":·"stream",243 ·····"output_type":·"stream",
244 ·····"text":·[244 ·····"text":·[
245 ······"···························Logit·Regression·Results···························\n",245 ······"···························Logit·Regression·Results···························\n",
246 ······"==============================================================================\n",246 ······"==============================================================================\n",
247 ······"Dep.·Variable:·················affair···No.·Observations:·················6366\n",247 ······"Dep.·Variable:·················affair···No.·Observations:·················6366\n",
248 ······"Model:··························Logit···Df·Residuals:·····················6357\n",248 ······"Model:··························Logit···Df·Residuals:·····················6357\n",
249 ······"Method:···························MLE···Df·Model:····························8\n",249 ······"Method:···························MLE···Df·Model:····························8\n",
250 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.1327\n",250 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.1327\n",
251 ······"Time:························19:41:01···Log-Likelihood:················-3471.5\n",251 ······"Time:························05:06:28···Log-Likelihood:················-3471.5\n",
252 ······"converged:·······················True···LL-Null:·······················-4002.5\n",252 ······"converged:·······················True···LL-Null:·······················-4002.5\n",
253 ······"········································LLR·p-value:················5.807e-224\n",253 ······"········································LLR·p-value:················5.807e-224\n",
254 ······"===================================================================================\n",254 ······"===================================================================================\n",
255 ······"······················coef····std·err··········z······P>|z|······[0.025······0.975]\n",255 ······"······················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
256 ······"-----------------------------------------------------------------------------------\n",256 ······"-----------------------------------------------------------------------------------\n",
257 ······"Intercept···········3.7257······0.299·····12.470······0.000·······3.140·······4.311\n",257 ······"Intercept···········3.7257······0.299·····12.470······0.000·······3.140·······4.311\n",
258 ······"occupation··········0.1602······0.034······4.717······0.000·······0.094·······0.227\n",258 ······"occupation··········0.1602······0.034······4.717······0.000·······0.094·······0.227\n",
Offset 899, 16 lines modifiedOffset 899, 16 lines modified
899 ······"··················Generalized·Linear·Model·Regression·Results···················\n",899 ······"··················Generalized·Linear·Model·Regression·Results···················\n",
900 ······"================================================================================\n",900 ······"================================================================================\n",
901 ······"Dep.·Variable:·····['NABOVE',·'NBELOW']···No.·Observations:··················303\n",901 ······"Dep.·Variable:·····['NABOVE',·'NBELOW']···No.·Observations:··················303\n",
902 ······"Model:······························GLM···Df·Residuals:······················282\n",902 ······"Model:······························GLM···Df·Residuals:······················282\n",
903 ······"Model·Family:··················Binomial···Df·Model:···························20\n",903 ······"Model·Family:··················Binomial···Df·Model:···························20\n",
904 ······"Link·Function:····················logit···Scale:·····························1.0\n",904 ······"Link·Function:····················logit···Scale:·····························1.0\n",
905 ······"Method:····························IRLS···Log-Likelihood:················-2998.6\n",905 ······"Method:····························IRLS···Log-Likelihood:················-2998.6\n",
906 ······"Date:··················Tue,·14·Dec·2021···Deviance:·······················4078.8\n",906 ······"Date:··················Wed,·18·Jan·2023···Deviance:·······················4078.8\n",
907 ······"Time:··························19:41:04···Pearson·chi2:·····················9.60\n",907 ······"Time:··························05:06:31···Pearson·chi2:·····················9.60\n",
908 ······"No.·Iterations:·······················5·········································\n",908 ······"No.·Iterations:·······················5·········································\n",
909 ······"============================================================================================\n",909 ······"============================================================================================\n",
910 ······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",910 ······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",
911 ······"--------------------------------------------------------------------------------------------\n",911 ······"--------------------------------------------------------------------------------------------\n",
912 ······"Intercept····················2.9589······1.547······1.913······0.056······-0.073·······5.990\n",912 ······"Intercept····················2.9589······1.547······1.913······0.056······-0.073·······5.990\n",
913 ······"LOWINC······················-0.0168······0.000····-38.749······0.000······-0.018······-0.016\n",913 ······"LOWINC······················-0.0168······0.000····-38.749······0.000······-0.018······-0.016\n",
914 ······"PERASIAN·····················0.0099······0.001·····16.505······0.000·······0.009·······0.011\n",914 ······"PERASIAN·····················0.0099······0.001·····16.505······0.000·······0.009·······0.011\n",
9.34 KB
./usr/share/doc/python-statsmodels/examples/executed/discrete_choice_overview.ipynb.gz
196 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·258701 gzip·compressed·data,·max·compression,·from·Unix,·original·size·26131
8.98 KB
discrete_choice_overview.ipynb
    
Offset 204, 16 lines modifiedOffset 204, 16 lines modified
204 ·····"output_type":·"stream",204 ·····"output_type":·"stream",
205 ·····"text":·[205 ·····"text":·[
206 ······"···························Logit·Regression·Results···························\n",206 ······"···························Logit·Regression·Results···························\n",
207 ······"==============================================================================\n",207 ······"==============================================================================\n",
208 ······"Dep.·Variable:······················y···No.·Observations:···················32\n",208 ······"Dep.·Variable:······················y···No.·Observations:···················32\n",
209 ······"Model:··························Logit···Df·Residuals:·······················28\n",209 ······"Model:··························Logit···Df·Residuals:·······················28\n",
210 ······"Method:···························MLE···Df·Model:····························3\n",210 ······"Method:···························MLE···Df·Model:····························3\n",
211 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.3740\n",211 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.3740\n",
212 ······"Time:························19:41:19···Log-Likelihood:················-12.890\n",212 ······"Time:························05:06:52···Log-Likelihood:················-12.890\n",
213 ······"converged:·······················True···LL-Null:·······················-20.592\n",213 ······"converged:·······················True···LL-Null:·······················-20.592\n",
214 ······"········································LLR·p-value:··················0.001502\n",214 ······"········································LLR·p-value:··················0.001502\n",
215 ······"==============================================================================\n",215 ······"==============================================================================\n",
216 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",216 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
217 ······"------------------------------------------------------------------------------\n",217 ······"------------------------------------------------------------------------------\n",
218 ······"x1·············2.8261······1.263······2.238······0.025·······0.351·······5.301\n",218 ······"x1·············2.8261······1.263······2.238······0.025·······0.351·······5.301\n",
219 ······"x2·············0.0952······0.142······0.672······0.501······-0.182·······0.373\n",219 ······"x2·············0.0952······0.142······0.672······0.501······-0.182·······0.373\n",
Offset 245, 15 lines modifiedOffset 245, 21 lines modified
245 ·····"name":·"stdout",245 ·····"name":·"stdout",
246 ·····"output_type":·"stream",246 ·····"output_type":·"stream",
247 ·····"text":·[247 ·····"text":·[
248 ······"Optimization·terminated·successfully.\n",248 ······"Optimization·terminated·successfully.\n",
249 ······"·········Current·function·value:·0.400588\n",249 ······"·········Current·function·value:·0.400588\n",
250 ······"·········Iterations·6\n",250 ······"·········Iterations·6\n",
251 ······"Parameters:··[·1.62581004··0.05172895··1.42633234·-7.45231965]\n",251 ······"Parameters:··[·1.62581004··0.05172895··1.42633234·-7.45231965]\n",
252 ······"Marginal·effects:·\n",252 ······"Marginal·effects:·\n"
 253 ·····]
 254 ····},
 255 ····{
 256 ·····"name":·"stdout",
 257 ·····"output_type":·"stream",
 258 ·····"text":·[
253 ······"·······Probit·Marginal·Effects·······\n",259 ······"·······Probit·Marginal·Effects·······\n",
254 ······"=====================================\n",260 ······"=====================================\n",
255 ······"Dep.·Variable:······················y\n",261 ······"Dep.·Variable:······················y\n",
256 ······"Method:··························dydx\n",262 ······"Method:··························dydx\n",
257 ······"At:···························overall\n",263 ······"At:···························overall\n",
258 ······"==============================================================================\n",264 ······"==============================================================================\n",
259 ······"················dy/dx····std·err··········z······P>|z|······[0.025······0.975]\n",265 ······"················dy/dx····std·err··········z······P>|z|······[0.025······0.975]\n",
Offset 431, 22 lines modifiedOffset 437, 28 lines modified
431 ···"outputs":·[437 ···"outputs":·[
432 ····{438 ····{
433 ·····"name":·"stdout",439 ·····"name":·"stdout",
434 ·····"output_type":·"stream",440 ·····"output_type":·"stream",
435 ·····"text":·[441 ·····"text":·[
436 ······"Optimization·terminated·successfully.\n",442 ······"Optimization·terminated·successfully.\n",
437 ······"·········Current·function·value:·3.091609\n",443 ······"·········Current·function·value:·3.091609\n",
438 ······"·········Iterations·12\n",444 ······"·········Iterations·12\n"
 445 ·····]
 446 ····},
 447 ····{
 448 ·····"name":·"stdout",
 449 ·····"output_type":·"stream",
 450 ·····"text":·[
439 ······"··························Poisson·Regression·Results··························\n",451 ······"··························Poisson·Regression·Results··························\n",
440 ······"==============================================================================\n",452 ······"==============================================================================\n",
441 ······"Dep.·Variable:······················y···No.·Observations:················20190\n",453 ······"Dep.·Variable:······················y···No.·Observations:················20190\n",
442 ······"Model:························Poisson···Df·Residuals:····················20180\n",454 ······"Model:························Poisson···Df·Residuals:····················20180\n",
443 ······"Method:···························MLE···Df·Model:····························9\n",455 ······"Method:···························MLE···Df·Model:····························9\n",
444 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.06343\n",456 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.06343\n",
445 ······"Time:························19:41:21···Log-Likelihood:················-62420.\n",457 ······"Time:························05:06:55···Log-Likelihood:················-62420.\n",
446 ······"converged:·······················True···LL-Null:·······················-66647.\n",458 ······"converged:·······················True···LL-Null:·······················-66647.\n",
447 ······"········································LLR·p-value:·····················0.000\n",459 ······"········································LLR·p-value:·····················0.000\n",
448 ······"==============================================================================\n",460 ······"==============================================================================\n",
449 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",461 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
450 ······"------------------------------------------------------------------------------\n",462 ······"------------------------------------------------------------------------------\n",
451 ······"x1············-0.0525······0.003····-18.216······0.000······-0.058······-0.047\n",463 ······"x1············-0.0525······0.003····-18.216······0.000······-0.058······-0.047\n",
452 ······"x2············-0.2471······0.011····-23.272······0.000······-0.268······-0.226\n",464 ······"x2············-0.2471······0.011····-23.272······0.000······-0.268······-0.226\n",
Offset 497, 16 lines modifiedOffset 509, 16 lines modified
497 ·····"output_type":·"stream",509 ·····"output_type":·"stream",
498 ·····"text":·[510 ·····"text":·[
499 ······"·····················NegativeBinomial·Regression·Results······················\n",511 ······"·····················NegativeBinomial·Regression·Results······················\n",
500 ······"==============================================================================\n",512 ······"==============================================================================\n",
501 ······"Dep.·Variable:······················y···No.·Observations:················20190\n",513 ······"Dep.·Variable:······················y···No.·Observations:················20190\n",
502 ······"Model:···············NegativeBinomial···Df·Residuals:····················20180\n",514 ······"Model:···············NegativeBinomial···Df·Residuals:····················20180\n",
503 ······"Method:···························MLE···Df·Model:····························9\n",515 ······"Method:···························MLE···Df·Model:····························9\n",
504 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.01845\n",516 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.01845\n",
505 ······"Time:························19:41:22···Log-Likelihood:················-43384.\n",517 ······"Time:························05:06:59···Log-Likelihood:················-43384.\n",
506 ······"converged:······················False···LL-Null:·······················-44199.\n",518 ······"converged:······················False···LL-Null:·······················-44199.\n",
507 ······"········································LLR·p-value:·····················0.000\n",519 ······"········································LLR·p-value:·····················0.000\n",
508 ······"==============================================================================\n",520 ······"==============================================================================\n",
509 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",521 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
510 ······"------------------------------------------------------------------------------\n",522 ······"------------------------------------------------------------------------------\n",
511 ······"x1············-0.0580······0.006·····-9.517······0.000······-0.070······-0.046\n",523 ······"x1············-0.0580······0.006·····-9.517······0.000······-0.070······-0.046\n",
512 ······"x2············-0.2678······0.023····-11.802······0.000······-0.312······-0.223\n",524 ······"x2············-0.2678······0.023····-11.802······0.000······-0.312······-0.223\n",
Offset 549, 22 lines modifiedOffset 561, 36 lines modified
549 ·····"name":·"stdout",561 ·····"name":·"stdout",
550 ·····"output_type":·"stream",562 ·····"output_type":·"stream",
551 ·····"text":·[563 ·····"text":·[
552 ······"Warning:·Maximum·number·of·iterations·has·been·exceeded.\n",564 ······"Warning:·Maximum·number·of·iterations·has·been·exceeded.\n",
553 ······"·········Current·function·value:·1.548650\n",565 ······"·········Current·function·value:·1.548650\n",
554 ······"·········Iterations:·100\n",566 ······"·········Iterations:·100\n",
555 ······"·········Function·evaluations:·106\n",567 ······"·········Function·evaluations:·106\n",
556 ······"·········Gradient·evaluations:·106\n",568 ······"·········Gradient·evaluations:·106\n"
 569 ·····]
 570 ····},
 571 ····{
 572 ·····"name":·"stderr",
 573 ·····"output_type":·"stream",
 574 ·····"text":·[
 575 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals\n",
 576 ······"··\"Check·mle_retvals\",·ConvergenceWarning)\n"
 577 ·····]
 578 ····},
 579 ····{
 580 ·····"name":·"stdout",
 581 ·····"output_type":·"stream",
 582 ·····"text":·[
557 ······"··························MNLogit·Regression·Results··························\n",583 ······"··························MNLogit·Regression·Results··························\n",
558 ······"==============================================================================\n",584 ······"==============================================================================\n",
559 ······"Dep.·Variable:······················y···No.·Observations:··················944\n",585 ······"Dep.·Variable:······················y···No.·Observations:··················944\n",
560 ······"Model:························MNLogit···Df·Residuals:······················908\n",586 ······"Model:························MNLogit···Df·Residuals:······················908\n",
561 ······"Method:···························MLE···Df·Model:···························30\n",587 ······"Method:···························MLE···Df·Model:···························30\n",
562 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:··················0.1648\n",588 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:··················0.1648\n",
563 ······"Time:························19:41:22···Log-Likelihood:················-1461.9\n",589 ······"Time:························05:06:59···Log-Likelihood:················-1461.9\n",
564 ······"converged:······················False···LL-Null:·······················-1750.3\n",590 ······"converged:······················False···LL-Null:·······················-1750.3\n",
565 ······"········································LLR·p-value:················1.827e-102\n",591 ······"········································LLR·p-value:················1.827e-102\n",
566 ······"==============================================================================\n",592 ······"==============================================================================\n",
567 ······"·······y=1·······coef····std·err··········z······P>|z|······[0.025······0.975]\n",593 ······"·······y=1·······coef····std·err··········z······P>|z|······[0.025······0.975]\n",
568 ······"------------------------------------------------------------------------------\n",594 ······"------------------------------------------------------------------------------\n",
569 ······"x1············-0.0116······0.034·····-0.338······0.735······-0.079·······0.056\n",595 ······"x1············-0.0116······0.034·····-0.338······0.735······-0.079·······0.056\n",
570 ······"x2·············0.2973······0.094······3.175······0.001·······0.114·······0.481\n",596 ······"x2·············0.2973······0.094······3.175······0.001·······0.114·······0.481\n",
Offset 615, 22 lines modifiedOffset 641, 14 lines modified
615 ······"x2·············2.0686······0.143·····14.433······0.000·······1.788·······2.349\n",641 ······"x2·············2.0686······0.143·····14.433······0.000·······1.788·······2.349\n",
616 ······"x3············-0.0095······0.008·····-1.164······0.244······-0.025·······0.006\n",642 ······"x3············-0.0095······0.008·····-1.164······0.244······-0.025·······0.006\n",
617 ······"x4·············0.3216······0.091······3.532······0.000·······0.143·······0.500\n",643 ······"x4·············0.3216······0.091······3.532······0.000·······0.143·······0.500\n",
618 ······"x5·············0.1087······0.025······4.299······0.000·······0.059·······0.158\n",644 ······"x5·············0.1087······0.025······4.299······0.000·······0.059·······0.158\n",
619 ······"const········-12.0913······1.059····-11.415······0.000·····-14.167·····-10.015\n",645 ······"const········-12.0913······1.059····-11.415······0.000·····-14.167·····-10.015\n",
Max diff block lines reached; 498/9139 bytes (5.45%) of diff not shown.
3.16 KB
./usr/share/doc/python-statsmodels/examples/executed/formulas.ipynb.gz
3.02 KB
formulas.ipynb
    
Offset 285, 16 lines modifiedOffset 285, 16 lines modified
285 ·····"output_type":·"stream",285 ·····"output_type":·"stream",
286 ·····"text":·[286 ·····"text":·[
287 ······"····························OLS·Regression·Results····························\n",287 ······"····························OLS·Regression·Results····························\n",
288 ······"==============================================================================\n",288 ······"==============================================================================\n",
289 ······"Dep.·Variable:················Lottery···R-squared:·······················0.338\n",289 ······"Dep.·Variable:················Lottery···R-squared:·······················0.338\n",
290 ······"Model:····························OLS···Adj.·R-squared:··················0.287\n",290 ······"Model:····························OLS···Adj.·R-squared:··················0.287\n",
291 ······"Method:·················Least·Squares···F-statistic:·····················6.636\n",291 ······"Method:·················Least·Squares···F-statistic:·····················6.636\n",
292 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.07e-05\n",292 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.07e-05\n",
293 ······"Time:························19:41:16···Log-Likelihood:················-375.30\n",293 ······"Time:························05:06:50···Log-Likelihood:················-375.30\n",
294 ······"No.·Observations:··················85···AIC:·····························764.6\n",294 ······"No.·Observations:··················85···AIC:·····························764.6\n",
295 ······"Df·Residuals:······················78···BIC:·····························781.7\n",295 ······"Df·Residuals:······················78···BIC:·····························781.7\n",
296 ······"Df·Model:···························6·········································\n",296 ······"Df·Model:···························6·········································\n",
297 ······"Covariance·Type:············nonrobust·········································\n",297 ······"Covariance·Type:············nonrobust·········································\n",
298 ······"===============================================================================\n",298 ······"===============================================================================\n",
299 ······"··················coef····std·err··········t······P>|t|······[0.025······0.975]\n",299 ······"··················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
300 ······"-------------------------------------------------------------------------------\n",300 ······"-------------------------------------------------------------------------------\n",
Offset 619, 16 lines modifiedOffset 619, 16 lines modified
619 ·····"output_type":·"stream",619 ·····"output_type":·"stream",
620 ·····"text":·[620 ·····"text":·[
621 ······"····························OLS·Regression·Results····························\n",621 ······"····························OLS·Regression·Results····························\n",
622 ······"==============================================================================\n",622 ······"==============================================================================\n",
623 ······"Dep.·Variable:················Lottery···R-squared:·······················0.309\n",623 ······"Dep.·Variable:················Lottery···R-squared:·······················0.309\n",
624 ······"Model:····························OLS···Adj.·R-squared:··················0.283\n",624 ······"Model:····························OLS···Adj.·R-squared:··················0.283\n",
625 ······"Method:·················Least·Squares···F-statistic:·····················12.06\n",625 ······"Method:·················Least·Squares···F-statistic:·····················12.06\n",
626 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.32e-06\n",626 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.32e-06\n",
627 ······"Time:························19:41:17···Log-Likelihood:················-377.13\n",627 ······"Time:························05:06:50···Log-Likelihood:················-377.13\n",
628 ······"No.·Observations:··················85···AIC:·····························762.3\n",628 ······"No.·Observations:··················85···AIC:·····························762.3\n",
629 ······"Df·Residuals:······················81···BIC:·····························772.0\n",629 ······"Df·Residuals:······················81···BIC:·····························772.0\n",
630 ······"Df·Model:···························3·········································\n",630 ······"Df·Model:···························3·········································\n",
631 ······"Covariance·Type:············nonrobust·········································\n",631 ······"Covariance·Type:············nonrobust·········································\n",
632 ······"===================================================================================\n",632 ······"===================================================================================\n",
633 ······"······················coef····std·err··········t······P>|t|······[0.025······0.975]\n",633 ······"······················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
634 ······"-----------------------------------------------------------------------------------\n",634 ······"-----------------------------------------------------------------------------------\n",
4.68 KB
./usr/share/doc/python-statsmodels/examples/executed/generic_mle.ipynb.gz
4.54 KB
generic_mle.ipynb
    
Offset 163, 16 lines modifiedOffset 163, 16 lines modified
163 ······"·········Iterations:·292\n",163 ······"·········Iterations:·292\n",
164 ······"·········Function·evaluations:·494\n",164 ······"·········Function·evaluations:·494\n",
165 ······"·······························MyProbit·Results·······························\n",165 ······"·······························MyProbit·Results·······························\n",
166 ······"==============================================================================\n",166 ······"==============================================================================\n",
167 ······"Dep.·Variable:··················GRADE···Log-Likelihood:················-12.819\n",167 ······"Dep.·Variable:··················GRADE···Log-Likelihood:················-12.819\n",
168 ······"Model:·······················MyProbit···AIC:·····························33.64\n",168 ······"Model:·······················MyProbit···AIC:·····························33.64\n",
169 ······"Method:············Maximum·Likelihood···BIC:·····························39.50\n",169 ······"Method:············Maximum·Likelihood···BIC:·····························39.50\n",
170 ······"Date:················Tue,·14·Dec·2021·········································\n",170 ······"Date:················Wed,·18·Jan·2023·········································\n",
171 ······"Time:························19:41:16·········································\n",171 ······"Time:························05:06:47·········································\n",
172 ······"No.·Observations:··················32·········································\n",172 ······"No.·Observations:··················32·········································\n",
173 ······"Df·Residuals:······················28·········································\n",173 ······"Df·Residuals:······················28·········································\n",
174 ······"Df·Model:···························3·········································\n",174 ······"Df·Model:···························3·········································\n",
175 ······"==============================================================================\n",175 ······"==============================================================================\n",
176 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",176 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
177 ······"------------------------------------------------------------------------------\n",177 ······"------------------------------------------------------------------------------\n",
178 ······"const·········-7.4523······2.542·····-2.931······0.003·····-12.435······-2.469\n",178 ······"const·········-7.4523······2.542·····-2.931······0.003·····-12.435······-2.469\n",
Offset 647, 16 lines modifiedOffset 647, 16 lines modified
647 ·····"output_type":·"stream",647 ·····"output_type":·"stream",
648 ·····"text":·[648 ·····"text":·[
649 ······"·································NBin·Results·································\n",649 ······"·································NBin·Results·································\n",
650 ······"==============================================================================\n",650 ······"==============================================================================\n",
651 ······"Dep.·Variable:····················los···Log-Likelihood:················-4797.5\n",651 ······"Dep.·Variable:····················los···Log-Likelihood:················-4797.5\n",
652 ······"Model:···························NBin···AIC:·····························9605.\n",652 ······"Model:···························NBin···AIC:·····························9605.\n",
653 ······"Method:············Maximum·Likelihood···BIC:·····························9632.\n",653 ······"Method:············Maximum·Likelihood···BIC:·····························9632.\n",
654 ······"Date:················Tue,·14·Dec·2021·········································\n",654 ······"Date:················Wed,·18·Jan·2023·········································\n",
655 ······"Time:························19:41:18·········································\n",655 ······"Time:························05:06:52·········································\n",
656 ······"No.·Observations:················1495·········································\n",656 ······"No.·Observations:················1495·········································\n",
657 ······"Df·Residuals:····················1490·········································\n",657 ······"Df·Residuals:····················1490·········································\n",
658 ······"Df·Model:···························4·········································\n",658 ······"Df·Model:···························4·········································\n",
659 ······"==============================================================================\n",659 ······"==============================================================================\n",
660 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",660 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
661 ······"------------------------------------------------------------------------------\n",661 ······"------------------------------------------------------------------------------\n",
662 ······"type2··········0.2213······0.051······4.373······0.000·······0.122·······0.320\n",662 ······"type2··········0.2213······0.051······4.373······0.000·······0.122·······0.320\n",
Offset 699, 16 lines modifiedOffset 699, 16 lines modified
699 ·····"output_type":·"stream",699 ·····"output_type":·"stream",
700 ·····"text":·[700 ·····"text":·[
701 ······"·····················NegativeBinomial·Regression·Results······················\n",701 ······"·····················NegativeBinomial·Regression·Results······················\n",
702 ······"==============================================================================\n",702 ······"==============================================================================\n",
703 ······"Dep.·Variable:····················los···No.·Observations:·················1495\n",703 ······"Dep.·Variable:····················los···No.·Observations:·················1495\n",
704 ······"Model:···············NegativeBinomial···Df·Residuals:·····················1490\n",704 ······"Model:···············NegativeBinomial···Df·Residuals:·····················1490\n",
705 ······"Method:···························MLE···Df·Model:····························4\n",705 ······"Method:···························MLE···Df·Model:····························4\n",
706 ······"Date:················Tue,·14·Dec·2021···Pseudo·R-squ.:·················0.01215\n",706 ······"Date:················Wed,·18·Jan·2023···Pseudo·R-squ.:·················0.01215\n",
707 ······"Time:························19:41:19···Log-Likelihood:················-4797.5\n",707 ······"Time:························05:06:52···Log-Likelihood:················-4797.5\n",
708 ······"converged:·······················True···LL-Null:·······················-4856.5\n",708 ······"converged:·······················True···LL-Null:·······················-4856.5\n",
709 ······"········································LLR·p-value:·················1.404e-24\n",709 ······"········································LLR·p-value:·················1.404e-24\n",
710 ······"==============================================================================\n",710 ······"==============================================================================\n",
711 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",711 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
712 ······"------------------------------------------------------------------------------\n",712 ······"------------------------------------------------------------------------------\n",
713 ······"type2··········0.2212······0.051······4.373······0.000·······0.122·······0.320\n",713 ······"type2··········0.2212······0.051······4.373······0.000·······0.122·······0.320\n",
714 ······"type3··········0.7062······0.076······9.276······0.000·······0.557·······0.855\n",714 ······"type3··········0.7062······0.076······9.276······0.000·······0.557·······0.855\n",
5.09 KB
./usr/share/doc/python-statsmodels/examples/executed/glm.ipynb.gz
4.96 KB
glm.ipynb
    
Offset 222, 16 lines modifiedOffset 222, 16 lines modified
222 ······"·················Generalized·Linear·Model·Regression·Results··················\n",222 ······"·················Generalized·Linear·Model·Regression·Results··················\n",
223 ······"==============================================================================\n",223 ······"==============================================================================\n",
224 ······"Dep.·Variable:···········['y1',·'y2']···No.·Observations:··················303\n",224 ······"Dep.·Variable:···········['y1',·'y2']···No.·Observations:··················303\n",
225 ······"Model:····························GLM···Df·Residuals:······················282\n",225 ······"Model:····························GLM···Df·Residuals:······················282\n",
226 ······"Model·Family:················Binomial···Df·Model:···························20\n",226 ······"Model·Family:················Binomial···Df·Model:···························20\n",
227 ······"Link·Function:··················logit···Scale:·····························1.0\n",227 ······"Link·Function:··················logit···Scale:·····························1.0\n",
228 ······"Method:··························IRLS···Log-Likelihood:················-2998.6\n",228 ······"Method:··························IRLS···Log-Likelihood:················-2998.6\n",
229 ······"Date:················Tue,·14·Dec·2021···Deviance:·······················4078.8\n",229 ······"Date:················Wed,·18·Jan·2023···Deviance:·······················4078.8\n",
230 ······"Time:························19:41:15···Pearson·chi2:·····················9.60\n",230 ······"Time:························05:06:49···Pearson·chi2:·····················9.60\n",
231 ······"No.·Iterations:·····················5·········································\n",231 ······"No.·Iterations:·····················5·········································\n",
232 ······"==============================================================================\n",232 ······"==============================================================================\n",
233 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",233 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
234 ······"------------------------------------------------------------------------------\n",234 ······"------------------------------------------------------------------------------\n",
235 ······"x1············-0.0168······0.000····-38.749······0.000······-0.018······-0.016\n",235 ······"x1············-0.0168······0.000····-38.749······0.000······-0.018······-0.016\n",
236 ······"x2·············0.0099······0.001·····16.505······0.000·······0.009·······0.011\n",236 ······"x2·············0.0099······0.001·····16.505······0.000·······0.009·······0.011\n",
237 ······"x3············-0.0187······0.001····-25.182······0.000······-0.020······-0.017\n",237 ······"x3············-0.0187······0.001····-25.182······0.000······-0.020······-0.017\n",
Offset 676, 16 lines modifiedOffset 676, 16 lines modified
676 ······"···················Generalized·Linear·Model·Regression·Results···················\n",676 ······"···················Generalized·Linear·Model·Regression·Results···················\n",
677 ······"=================================================================================\n",677 ······"=================================================================================\n",
678 ······"Dep.·Variable:······················y···No.·Observations:······················32\n",678 ······"Dep.·Variable:······················y···No.·Observations:······················32\n",
679 ······"Model:····························GLM···Df·Residuals:··························24\n",679 ······"Model:····························GLM···Df·Residuals:··························24\n",
680 ······"Model·Family:···················Gamma···Df·Model:·······························7\n",680 ······"Model·Family:···················Gamma···Df·Model:·······························7\n",
681 ······"Link·Function:··········inverse_power···Scale:··············0.0035842831734956906\n",681 ······"Link·Function:··········inverse_power···Scale:··············0.0035842831734956906\n",
682 ······"Method:··························IRLS···Log-Likelihood:···················-83.017\n",682 ······"Method:··························IRLS···Log-Likelihood:···················-83.017\n",
683 ······"Date:················Tue,·14·Dec·2021···Deviance:························0.087389\n",683 ······"Date:················Wed,·18·Jan·2023···Deviance:························0.087389\n",
684 ······"Time:························19:41:19···Pearson·chi2:······················0.0860\n",684 ······"Time:························05:06:53···Pearson·chi2:······················0.0860\n",
685 ······"No.·Iterations:·····················4············································\n",685 ······"No.·Iterations:·····················4············································\n",
686 ······"==============================================================================\n",686 ······"==============================================================================\n",
687 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",687 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
688 ······"------------------------------------------------------------------------------\n",688 ······"------------------------------------------------------------------------------\n",
689 ······"x1··········4.962e-05···1.62e-05······3.060······0.002····1.78e-05····8.14e-05\n",689 ······"x1··········4.962e-05···1.62e-05······3.060······0.002····1.78e-05····8.14e-05\n",
690 ······"x2·············0.0020······0.001······3.824······0.000·······0.001·······0.003\n",690 ······"x2·············0.0020······0.001······3.824······0.000·······0.001·······0.003\n",
691 ······"x3·········-7.181e-05···2.71e-05·····-2.648······0.008······-0.000···-1.87e-05\n",691 ······"x3·········-7.181e-05···2.71e-05·····-2.648······0.008······-0.000···-1.87e-05\n",
Offset 758, 16 lines modifiedOffset 758, 16 lines modified
758 ······"···················Generalized·Linear·Model·Regression·Results····················\n",758 ······"···················Generalized·Linear·Model·Regression·Results····················\n",
759 ······"==================================================================================\n",759 ······"==================================================================================\n",
760 ······"Dep.·Variable:······················y···No.·Observations:······················100\n",760 ······"Dep.·Variable:······················y···No.·Observations:······················100\n",
761 ······"Model:····························GLM···Df·Residuals:···························97\n",761 ······"Model:····························GLM···Df·Residuals:···························97\n",
762 ······"Model·Family:················Gaussian···Df·Model:································2\n",762 ······"Model·Family:················Gaussian···Df·Model:································2\n",
763 ······"Link·Function:····················log···Scale:··············1.0531142558806881e-07\n",763 ······"Link·Function:····················log···Scale:··············1.0531142558806881e-07\n",
764 ······"Method:··························IRLS···Log-Likelihood:·····················662.92\n",764 ······"Method:··························IRLS···Log-Likelihood:·····················662.92\n",
765 ······"Date:················Tue,·14·Dec·2021···Deviance:·······················1.0215e-05\n",765 ······"Date:················Wed,·18·Jan·2023···Deviance:·······················1.0215e-05\n",
766 ······"Time:························19:41:19···Pearson·chi2:·····················1.02e-05\n",766 ······"Time:························05:06:53···Pearson·chi2:·····················1.02e-05\n",
767 ······"No.·Iterations:·····················5·············································\n",767 ······"No.·Iterations:·····················5·············································\n",
768 ······"==============================================================================\n",768 ······"==============================================================================\n",
769 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",769 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
770 ······"------------------------------------------------------------------------------\n",770 ······"------------------------------------------------------------------------------\n",
771 ······"x1············-0.0300····5.6e-06··-5361.333······0.000······-0.030······-0.030\n",771 ······"x1············-0.0300····5.6e-06··-5361.333······0.000······-0.030······-0.030\n",
772 ······"x2·········-9.939e-05···1.05e-07···-951.097······0.000···-9.96e-05···-9.92e-05\n",772 ······"x2·········-9.939e-05···1.05e-07···-951.097······0.000···-9.96e-05···-9.92e-05\n",
773 ······"const··········1.0003···5.39e-05···1.86e+04······0.000·······1.000·······1.000\n",773 ······"const··········1.0003···5.39e-05···1.86e+04······0.000·······1.000·······1.000\n",
5.75 KB
./usr/share/doc/python-statsmodels/examples/executed/glm_formula.ipynb.gz
5.61 KB
glm_formula.ipynb
    
Offset 78, 18 lines modifiedOffset 78, 18 lines modified
78 ·······"<tr>\n",78 ·······"<tr>\n",
79 ·······"··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··\n",79 ·······"··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··\n",
80 ·······"</tr>\n",80 ·······"</tr>\n",
81 ·······"<tr>\n",81 ·······"<tr>\n",
82 ·······"··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>\n",82 ·······"··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>\n",
83 ·······"</tr>\n",83 ·······"</tr>\n",
84 ·······"<tr>\n",84 ·······"<tr>\n",
85 ·······"··<th>Date:</th>···········<td>Tue,·14·Dec·2021</td>·<th>··Deviance:··········</th>·<td>··380.66</td>\n",85 ·······"··<th>Date:</th>···········<td>Wed,·18·Jan·2023</td>·<th>··Deviance:··········</th>·<td>··380.66</td>\n",
86 ·······"</tr>\n",86 ·······"</tr>\n",
87 ·······"<tr>\n",87 ·······"<tr>\n",
88 ·······"··<th>Time:</th>···············<td>19:41:14</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·\n",88 ·······"··<th>Time:</th>···············<td>05:06:47</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·\n",
89 ·······"</tr>\n",89 ·······"</tr>\n",
90 ·······"<tr>\n",90 ·······"<tr>\n",
91 ·······"··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···\n",91 ·······"··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···\n",
92 ·······"</tr>\n",92 ·······"</tr>\n",
93 ·······"</table>\n",93 ·······"</table>\n",
94 ·······"<table·class=\"simpletable\">\n",94 ·······"<table·class=\"simpletable\">\n",
95 ·······"<tr>\n",95 ·······"<tr>\n",
Offset 166, 16 lines modifiedOffset 166, 16 lines modified
166 ·······"·················Generalized·Linear·Model·Regression·Results··················\n",166 ·······"·················Generalized·Linear·Model·Regression·Results··················\n",
167 ·······"==============================================================================\n",167 ·······"==============================================================================\n",
168 ·······"Dep.·Variable:················SUCCESS···No.·Observations:··················303\n",168 ·······"Dep.·Variable:················SUCCESS···No.·Observations:··················303\n",
169 ·······"Model:····························GLM···Df·Residuals:······················282\n",169 ·······"Model:····························GLM···Df·Residuals:······················282\n",
170 ·······"Model·Family:················Binomial···Df·Model:···························20\n",170 ·······"Model·Family:················Binomial···Df·Model:···························20\n",
171 ·······"Link·Function:··················logit···Scale:·····························1.0\n",171 ·······"Link·Function:··················logit···Scale:·····························1.0\n",
172 ·······"Method:··························IRLS···Log-Likelihood:················-189.70\n",172 ·······"Method:··························IRLS···Log-Likelihood:················-189.70\n",
173 ·······"Date:················Tue,·14·Dec·2021···Deviance:·······················380.66\n",173 ·······"Date:················Wed,·18·Jan·2023···Deviance:·······················380.66\n",
174 ·······"Time:························19:41:14···Pearson·chi2:·····················8.48\n",174 ·······"Time:························05:06:47···Pearson·chi2:·····················8.48\n",
175 ·······"No.·Iterations:·····················5·········································\n",175 ·······"No.·Iterations:·····················5·········································\n",
176 ·······"============================================================================================\n",176 ·······"============================================================================================\n",
177 ·······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",177 ·······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",
178 ·······"--------------------------------------------------------------------------------------------\n",178 ·······"--------------------------------------------------------------------------------------------\n",
179 ·······"Intercept····················0.4037·····25.036······0.016······0.987·····-48.665······49.472\n",179 ·······"Intercept····················0.4037·····25.036······0.016······0.987·····-48.665······49.472\n",
180 ·······"LOWINC······················-0.0204······0.010·····-1.982······0.048······-0.041······-0.000\n",180 ·······"LOWINC······················-0.0204······0.010·····-1.982······0.048······-0.041······-0.000\n",
181 ·······"PERASIAN·····················0.0159······0.017······0.910······0.363······-0.018·······0.050\n",181 ·······"PERASIAN·····················0.0159······0.017······0.910······0.363······-0.018·······0.050\n",
Offset 242, 18 lines modifiedOffset 242, 18 lines modified
242 ·······"<tr>\n",242 ·······"<tr>\n",
243 ·······"··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··\n",243 ·······"··<th>Link·Function:</th>········<td>logit</td>······<th>··Scale:·············</th>····<td>1.0</td>··\n",
244 ·······"</tr>\n",244 ·······"</tr>\n",
245 ·······"<tr>\n",245 ·······"<tr>\n",
246 ·······"··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>\n",246 ·······"··<th>Method:</th>···············<td>IRLS</td>·······<th>··Log-Likelihood:····</th>·<td>·-189.70</td>\n",
247 ·······"</tr>\n",247 ·······"</tr>\n",
248 ·······"<tr>\n",248 ·······"<tr>\n",
249 ·······"··<th>Date:</th>···········<td>Tue,·14·Dec·2021</td>·<th>··Deviance:··········</th>·<td>··380.66</td>\n",249 ·······"··<th>Date:</th>···········<td>Wed,·18·Jan·2023</td>·<th>··Deviance:··········</th>·<td>··380.66</td>\n",
250 ·······"</tr>\n",250 ·······"</tr>\n",
251 ·······"<tr>\n",251 ·······"<tr>\n",
252 ·······"··<th>Time:</th>···············<td>19:41:14</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·\n",252 ·······"··<th>Time:</th>···············<td>05:06:47</td>·····<th>··Pearson·chi2:······</th>··<td>··8.48</td>·\n",
253 ·······"</tr>\n",253 ·······"</tr>\n",
254 ·······"<tr>\n",254 ·······"<tr>\n",
255 ·······"··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···\n",255 ·······"··<th>No.·Iterations:</th>·········<td>5</td>········<th>·····················</th>·····<td>·</td>···\n",
256 ·······"</tr>\n",256 ·······"</tr>\n",
257 ·······"</table>\n",257 ·······"</table>\n",
258 ·······"<table·class=\"simpletable\">\n",258 ·······"<table·class=\"simpletable\">\n",
259 ·······"<tr>\n",259 ·······"<tr>\n",
Offset 330, 16 lines modifiedOffset 330, 16 lines modified
330 ·······"·················Generalized·Linear·Model·Regression·Results··················\n",330 ·······"·················Generalized·Linear·Model·Regression·Results··················\n",
331 ·······"==============================================================================\n",331 ·······"==============================================================================\n",
332 ·······"Dep.·Variable:················SUCCESS···No.·Observations:··················303\n",332 ·······"Dep.·Variable:················SUCCESS···No.·Observations:··················303\n",
333 ·······"Model:····························GLM···Df·Residuals:······················282\n",333 ·······"Model:····························GLM···Df·Residuals:······················282\n",
334 ·······"Model·Family:················Binomial···Df·Model:···························20\n",334 ·······"Model·Family:················Binomial···Df·Model:···························20\n",
335 ·······"Link·Function:··················logit···Scale:·····························1.0\n",335 ·······"Link·Function:··················logit···Scale:·····························1.0\n",
336 ·······"Method:··························IRLS···Log-Likelihood:················-189.70\n",336 ·······"Method:··························IRLS···Log-Likelihood:················-189.70\n",
337 ·······"Date:················Tue,·14·Dec·2021···Deviance:·······················380.66\n",337 ·······"Date:················Wed,·18·Jan·2023···Deviance:·······················380.66\n",
338 ·······"Time:························19:41:14···Pearson·chi2:·····················8.48\n",338 ·······"Time:························05:06:47···Pearson·chi2:·····················8.48\n",
339 ·······"No.·Iterations:·····················5·········································\n",339 ·······"No.·Iterations:·····················5·········································\n",
340 ·······"============================================================================================\n",340 ·······"============================================================================================\n",
341 ·······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",341 ·······"·······························coef····std·err··········z······P>|z|······[0.025······0.975]\n",
342 ·······"--------------------------------------------------------------------------------------------\n",342 ·······"--------------------------------------------------------------------------------------------\n",
343 ·······"Intercept····················0.4037·····25.036······0.016······0.987·····-48.665······49.472\n",343 ·······"Intercept····················0.4037·····25.036······0.016······0.987·····-48.665······49.472\n",
344 ·······"double_it(LOWINC)···········-0.0102······0.005·····-1.982······0.048······-0.020······-0.000\n",344 ·······"double_it(LOWINC)···········-0.0102······0.005·····-1.982······0.048······-0.020······-0.000\n",
345 ·······"PERASIAN·····················0.0159······0.017······0.910······0.363······-0.018·······0.050\n",345 ·······"PERASIAN·····················0.0159······0.017······0.910······0.363······-0.018·······0.050\n",
1.63 KB
./usr/share/doc/python-statsmodels/examples/executed/gls.ipynb.gz
1.51 KB
gls.ipynb
    
Offset 241, 16 lines modifiedOffset 241, 16 lines modified
241 ·····"output_type":·"stream",241 ·····"output_type":·"stream",
242 ·····"text":·[242 ·····"text":·[
243 ······"···························GLSAR·Regression·Results···························\n",243 ······"···························GLSAR·Regression·Results···························\n",
244 ······"==============================================================================\n",244 ······"==============================================================================\n",
245 ······"Dep.·Variable:······················y···R-squared:·······················0.996\n",245 ······"Dep.·Variable:······················y···R-squared:·······················0.996\n",
246 ······"Model:··························GLSAR···Adj.·R-squared:··················0.992\n",246 ······"Model:··························GLSAR···Adj.·R-squared:··················0.992\n",
247 ······"Method:·················Least·Squares···F-statistic:·····················295.2\n",247 ······"Method:·················Least·Squares···F-statistic:·····················295.2\n",
248 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········6.09e-09\n",248 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········6.09e-09\n",
249 ······"Time:························19:41:13···Log-Likelihood:················-102.04\n",249 ······"Time:························05:06:46···Log-Likelihood:················-102.04\n",
250 ······"No.·Observations:··················15···AIC:·····························218.1\n",250 ······"No.·Observations:··················15···AIC:·····························218.1\n",
251 ······"Df·Residuals:·······················8···BIC:·····························223.0\n",251 ······"Df·Residuals:·······················8···BIC:·····························223.0\n",
252 ······"Df·Model:···························6·········································\n",252 ······"Df·Model:···························6·········································\n",
253 ······"Covariance·Type:············nonrobust·········································\n",253 ······"Covariance·Type:············nonrobust·········································\n",
254 ······"==============================================================================\n",254 ······"==============================================================================\n",
255 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",255 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
256 ······"------------------------------------------------------------------------------\n",256 ······"------------------------------------------------------------------------------\n",
42.9 KB
./usr/share/doc/python-statsmodels/examples/executed/markov_autoregression.ipynb.gz
42.7 KB
markov_autoregression.ipynb
    
Offset 135, 18 lines modifiedOffset 135, 18 lines modified
135 ·······"<tr>\n",135 ·······"<tr>\n",
136 ·······"··<th>Dep.·Variable:</th>·············<td>y</td>··········<th>··No.·Observations:··</th>····<td>131</td>··\n",136 ·······"··<th>Dep.·Variable:</th>·············<td>y</td>··········<th>··No.·Observations:··</th>····<td>131</td>··\n",
137 ·······"</tr>\n",137 ·······"</tr>\n",
138 ·······"<tr>\n",138 ·······"<tr>\n",
139 ·······"··<th>Model:</th>···········<td>MarkovAutoregression</td>·<th>··Log·Likelihood·····</th>·<td>-181.263</td>\n",139 ·······"··<th>Model:</th>···········<td>MarkovAutoregression</td>·<th>··Log·Likelihood·····</th>·<td>-181.263</td>\n",
140 ·······"</tr>\n",140 ·······"</tr>\n",
141 ·······"<tr>\n",141 ·······"<tr>\n",
142 ·······"··<th>Date:</th>··············<td>Tue,·14·Dec·2021</td>···<th>··AIC················</th>··<td>380.527</td>\n",142 ·······"··<th>Date:</th>··············<td>Wed,·18·Jan·2023</td>···<th>··AIC················</th>··<td>380.527</td>\n",
143 ·······"</tr>\n",143 ·······"</tr>\n",
144 ·······"<tr>\n",144 ·······"<tr>\n",
145 ·······"··<th>Time:</th>··················<td>19:41:18</td>·······<th>··BIC················</th>··<td>406.404</td>\n",145 ·······"··<th>Time:</th>··················<td>05:06:47</td>·······<th>··BIC················</th>··<td>406.404</td>\n",
146 ·······"</tr>\n",146 ·······"</tr>\n",
147 ·······"<tr>\n",147 ·······"<tr>\n",
148 ·······"··<th>Sample:</th>···············<td>04-01-1952</td>······<th>··HQIC···············</th>··<td>391.042</td>\n",148 ·······"··<th>Sample:</th>···············<td>04-01-1952</td>······<th>··HQIC···············</th>··<td>391.042</td>\n",
149 ·······"</tr>\n",149 ·······"</tr>\n",
150 ·······"<tr>\n",150 ·······"<tr>\n",
151 ·······"··<th></th>·····················<td>-·10-01-1984</td>·····<th>·····················</th>·····<td>·</td>···\n",151 ·······"··<th></th>·····················<td>-·10-01-1984</td>·····<th>·····················</th>·····<td>·</td>···\n",
152 ·······"</tr>\n",152 ·······"</tr>\n",
Offset 209, 16 lines modifiedOffset 209, 16 lines modified
209 ······"text/plain":·[209 ······"text/plain":·[
210 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",210 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",
211 ·······"\"\"\"\n",211 ·······"\"\"\"\n",
212 ·······"·························Markov·Switching·Model·Results·························\n",212 ·······"·························Markov·Switching·Model·Results·························\n",
213 ·······"================================================================================\n",213 ·······"================================================================================\n",
214 ·······"Dep.·Variable:························y···No.·Observations:··················131\n",214 ·······"Dep.·Variable:························y···No.·Observations:··················131\n",
215 ·······"Model:·············MarkovAutoregression···Log·Likelihood················-181.263\n",215 ·······"Model:·············MarkovAutoregression···Log·Likelihood················-181.263\n",
216 ·······"Date:··················Tue,·14·Dec·2021···AIC····························380.527\n",216 ·······"Date:··················Wed,·18·Jan·2023···AIC····························380.527\n",
217 ·······"Time:··························19:41:18···BIC····························406.404\n",217 ·······"Time:··························05:06:47···BIC····························406.404\n",
218 ·······"Sample:······················04-01-1952···HQIC···························391.042\n",218 ·······"Sample:······················04-01-1952···HQIC···························391.042\n",
219 ·······"···························-·10-01-1984·········································\n",219 ·······"···························-·10-01-1984·········································\n",
220 ·······"Covariance·Type:·················approx·········································\n",220 ·······"Covariance·Type:·················approx·········································\n",
221 ·······"·····························Regime·0·parameters······························\n",221 ·······"·····························Regime·0·parameters······························\n",
222 ·······"==============================================================================\n",222 ·······"==============================================================================\n",
223 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",223 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
224 ·······"------------------------------------------------------------------------------\n",224 ·······"------------------------------------------------------------------------------\n",
Offset 374, 15 lines modifiedOffset 374, 15 lines modified
374 ···"execution_count":·6,374 ···"execution_count":·6,
375 ···"metadata":·{375 ···"metadata":·{
376 ····"collapsed":·false376 ····"collapsed":·false
377 ···},377 ···},
378 ···"outputs":·[378 ···"outputs":·[
379 ····{379 ····{
380 ·····"ename":·"ProxyError",380 ·····"ename":·"ProxyError",
381 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",381 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
382 ·····"output_type":·"error",382 ·····"output_type":·"error",
383 ·····"traceback":·[383 ·····"traceback":·[
384 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",384 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
385 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",385 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
386 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",386 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
387 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",387 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
388 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",388 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 394, 30 lines modifiedOffset 394, 30 lines modified
394 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",394 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
395 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",395 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
396 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",396 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
397 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",397 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
398 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",398 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
399 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",399 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
400 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",400 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
401 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",401 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
402 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",402 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
403 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",403 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
404 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",404 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
405 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",405 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
406 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",406 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
407 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",407 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
408 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",408 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
409 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",409 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
410 ······"\u001b[0;32m<ipython-input-6-9e237cd253ae>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Get·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mew_excs\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mraw\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mew_excs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheader\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mskipfooter\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mengine\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'python'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mraw\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'1926-01-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'1995-12-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",410 ······"\u001b[0;32m<ipython-input-6-9e237cd253ae>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Get·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mew_excs\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mraw\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mew_excs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheader\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mskipfooter\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mengine\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'python'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mraw\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'1926-01-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'1995-12-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
411 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",411 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
412 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",412 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
413 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",413 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
414 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",414 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
415 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",415 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
416 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f09026e83c8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"416 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdd35390>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
417 ·····]417 ·····]
418 ····}418 ····}
419 ···],419 ···],
420 ···"source":·[420 ···"source":·[
421 ····"#·Get·the·dataset\n",421 ····"#·Get·the·dataset\n",
422 ····"ew_excs·=·requests.get('http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn').content\n",422 ····"ew_excs·=·requests.get('http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn').content\n",
423 ····"raw·=·pd.read_table(BytesIO(ew_excs),·header=None,·skipfooter=1,·engine='python')\n",423 ····"raw·=·pd.read_table(BytesIO(ew_excs),·header=None,·skipfooter=1,·engine='python')\n",
Offset 545, 15 lines modifiedOffset 545, 15 lines modified
545 ···"execution_count":·9,545 ···"execution_count":·9,
546 ···"metadata":·{546 ···"metadata":·{
547 ····"collapsed":·false547 ····"collapsed":·false
548 ···},548 ···},
549 ···"outputs":·[549 ···"outputs":·[
550 ····{550 ····{
551 ·····"ename":·"ProxyError",551 ·····"ename":·"ProxyError",
552 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",552 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
553 ·····"output_type":·"error",553 ·····"output_type":·"error",
554 ·····"traceback":·[554 ·····"traceback":·[
555 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",555 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
556 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",556 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
557 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",557 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
558 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",558 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
559 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",559 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 565, 30 lines modifiedOffset 565, 30 lines modified
565 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",565 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
566 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",566 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
567 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",567 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
568 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",568 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
569 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",569 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
570 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",570 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
571 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",571 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
572 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",572 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
573 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",573 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
574 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",574 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
575 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",575 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
576 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",576 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
577 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",577 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
578 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",578 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
579 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",579 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
580 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",580 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
581 ······"\u001b[0;32m<ipython-input-9-e3772af85a7a>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Get·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mfilardo\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdta_filardo\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfilardo\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0msep\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'·+'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheader\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mskipfooter\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mengine\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'python'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdta_filardo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcolumns\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0;34m[\u001b[0m\u001b[0;34m'month'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'ip'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'leading'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0mdta_filardo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'1948-01-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'1991-04-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",581 ······"\u001b[0;32m<ipython-input-9-e3772af85a7a>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Get·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mfilardo\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdta_filardo\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfilardo\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0msep\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'·+'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheader\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mskipfooter\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mengine\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'python'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdta_filardo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcolumns\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0;34m[\u001b[0m\u001b[0;34m'month'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'ip'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'leading'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0mdta_filardo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'1948-01-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'1991-04-01'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
582 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",582 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
583 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",583 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
584 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",584 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
585 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",585 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
586 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",586 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
587 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0902462fd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"587 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f50cdadf588>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
588 ·····]588 ·····]
589 ····}589 ····}
590 ···],590 ···],
591 ···"source":·[591 ···"source":·[
592 ····"#·Get·the·dataset\n",592 ····"#·Get·the·dataset\n",
Max diff block lines reached; 110/43705 bytes (0.25%) of diff not shown.
13.3 KB
./usr/share/doc/python-statsmodels/examples/executed/markov_regression.ipynb.gz
13.1 KB
markov_regression.ipynb
    
Offset 113, 18 lines modifiedOffset 113, 18 lines modified
113 ·······"<tr>\n",113 ·······"<tr>\n",
114 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>226</td>··\n",114 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>226</td>··\n",
115 ·······"</tr>\n",115 ·······"</tr>\n",
116 ·······"<tr>\n",116 ·······"<tr>\n",
117 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-508.636</td>\n",117 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-508.636</td>\n",
118 ·······"</tr>\n",118 ·······"</tr>\n",
119 ·······"<tr>\n",119 ·······"<tr>\n",
120 ·······"··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>·<td>1027.272</td>\n",120 ·······"··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>·<td>1027.272</td>\n",
121 ·······"</tr>\n",121 ·······"</tr>\n",
122 ·······"<tr>\n",122 ·······"<tr>\n",
123 ·······"··<th>Time:</th>················<td>19:40:53</td>·····<th>··BIC················</th>·<td>1044.375</td>\n",123 ·······"··<th>Time:</th>················<td>05:06:28</td>·····<th>··BIC················</th>·<td>1044.375</td>\n",
124 ·······"</tr>\n",124 ·······"</tr>\n",
125 ·······"<tr>\n",125 ·······"<tr>\n",
126 ·······"··<th>Sample:</th>·············<td>07-01-1954</td>····<th>··HQIC···············</th>·<td>1034.174</td>\n",126 ·······"··<th>Sample:</th>·············<td>07-01-1954</td>····<th>··HQIC···············</th>·<td>1034.174</td>\n",
127 ·······"</tr>\n",127 ·······"</tr>\n",
128 ·······"<tr>\n",128 ·······"<tr>\n",
129 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",129 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",
130 ·······"</tr>\n",130 ·······"</tr>\n",
Offset 175, 16 lines modifiedOffset 175, 16 lines modified
175 ······"text/plain":·[175 ······"text/plain":·[
176 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",176 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",
177 ·······"\"\"\"\n",177 ·······"\"\"\"\n",
178 ·······"························Markov·Switching·Model·Results························\n",178 ·······"························Markov·Switching·Model·Results························\n",
179 ·······"==============================================================================\n",179 ·······"==============================================================================\n",
180 ·······"Dep.·Variable:······················y···No.·Observations:··················226\n",180 ·······"Dep.·Variable:······················y···No.·Observations:··················226\n",
181 ·······"Model:···············MarkovRegression···Log·Likelihood················-508.636\n",181 ·······"Model:···············MarkovRegression···Log·Likelihood················-508.636\n",
182 ·······"Date:················Tue,·14·Dec·2021···AIC···························1027.272\n",182 ·······"Date:················Wed,·18·Jan·2023···AIC···························1027.272\n",
183 ·······"Time:························19:40:53···BIC···························1044.375\n",183 ·······"Time:························05:06:28···BIC···························1044.375\n",
184 ·······"Sample:····················07-01-1954···HQIC··························1034.174\n",184 ·······"Sample:····················07-01-1954···HQIC··························1034.174\n",
185 ·······"·························-·10-01-2010·········································\n",185 ·······"·························-·10-01-2010·········································\n",
186 ·······"Covariance·Type:···············approx·········································\n",186 ·······"Covariance·Type:···············approx·········································\n",
187 ·······"·····························Regime·0·parameters······························\n",187 ·······"·····························Regime·0·parameters······························\n",
188 ·······"==============================================================================\n",188 ·······"==============================================================================\n",
189 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",189 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
190 ·······"------------------------------------------------------------------------------\n",190 ·······"------------------------------------------------------------------------------\n",
Offset 337, 18 lines modifiedOffset 337, 18 lines modified
337 ·······"<tr>\n",337 ·······"<tr>\n",
338 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>225</td>··\n",338 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>225</td>··\n",
339 ·······"</tr>\n",339 ·······"</tr>\n",
340 ·······"<tr>\n",340 ·······"<tr>\n",
341 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-264.711</td>\n",341 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-264.711</td>\n",
342 ·······"</tr>\n",342 ·······"</tr>\n",
343 ·······"<tr>\n",343 ·······"<tr>\n",
344 ·······"··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>543.421</td>\n",344 ·······"··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>543.421</td>\n",
345 ·······"</tr>\n",345 ·······"</tr>\n",
346 ·······"<tr>\n",346 ·······"<tr>\n",
347 ·······"··<th>Time:</th>················<td>19:40:53</td>·····<th>··BIC················</th>··<td>567.334</td>\n",347 ·······"··<th>Time:</th>················<td>05:06:29</td>·····<th>··BIC················</th>··<td>567.334</td>\n",
348 ·······"</tr>\n",348 ·······"</tr>\n",
349 ·······"<tr>\n",349 ·······"<tr>\n",
350 ·······"··<th>Sample:</th>·············<td>10-01-1954</td>····<th>··HQIC···············</th>··<td>553.073</td>\n",350 ·······"··<th>Sample:</th>·············<td>10-01-1954</td>····<th>··HQIC···············</th>··<td>553.073</td>\n",
351 ·······"</tr>\n",351 ·······"</tr>\n",
352 ·······"<tr>\n",352 ·······"<tr>\n",
353 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",353 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",
354 ·······"</tr>\n",354 ·······"</tr>\n",
Offset 405, 16 lines modifiedOffset 405, 16 lines modified
405 ······"text/plain":·[405 ······"text/plain":·[
406 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",406 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",
407 ·······"\"\"\"\n",407 ·······"\"\"\"\n",
408 ·······"························Markov·Switching·Model·Results························\n",408 ·······"························Markov·Switching·Model·Results························\n",
409 ·······"==============================================================================\n",409 ·······"==============================================================================\n",
410 ·······"Dep.·Variable:······················y···No.·Observations:··················225\n",410 ·······"Dep.·Variable:······················y···No.·Observations:··················225\n",
411 ·······"Model:···············MarkovRegression···Log·Likelihood················-264.711\n",411 ·······"Model:···············MarkovRegression···Log·Likelihood················-264.711\n",
412 ·······"Date:················Tue,·14·Dec·2021···AIC····························543.421\n",412 ·······"Date:················Wed,·18·Jan·2023···AIC····························543.421\n",
413 ·······"Time:························19:40:53···BIC····························567.334\n",413 ·······"Time:························05:06:29···BIC····························567.334\n",
414 ·······"Sample:····················10-01-1954···HQIC···························553.073\n",414 ·······"Sample:····················10-01-1954···HQIC···························553.073\n",
415 ·······"·························-·10-01-2010·········································\n",415 ·······"·························-·10-01-2010·········································\n",
416 ·······"Covariance·Type:···············approx·········································\n",416 ·······"Covariance·Type:···············approx·········································\n",
417 ·······"·····························Regime·0·parameters······························\n",417 ·······"·····························Regime·0·parameters······························\n",
418 ·······"==============================================================================\n",418 ·······"==============================================================================\n",
419 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",419 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
420 ·······"------------------------------------------------------------------------------\n",420 ·······"------------------------------------------------------------------------------\n",
Offset 569, 18 lines modifiedOffset 569, 18 lines modified
569 ·······"<tr>\n",569 ·······"<tr>\n",
570 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··\n",570 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··\n",
571 ·······"</tr>\n",571 ·······"</tr>\n",
572 ·······"<tr>\n",572 ·······"<tr>\n",
573 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-229.256</td>\n",573 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-229.256</td>\n",
574 ·······"</tr>\n",574 ·······"</tr>\n",
575 ·······"<tr>\n",575 ·······"<tr>\n",
576 ·······"··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>480.512</td>\n",576 ·······"··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>480.512</td>\n",
577 ·······"</tr>\n",577 ·······"</tr>\n",
578 ·······"<tr>\n",578 ·······"<tr>\n",
579 ·······"··<th>Time:</th>················<td>19:41:03</td>·····<th>··BIC················</th>··<td>517.942</td>\n",579 ·······"··<th>Time:</th>················<td>05:06:40</td>·····<th>··BIC················</th>··<td>517.942</td>\n",
580 ·······"</tr>\n",580 ·······"</tr>\n",
581 ·······"<tr>\n",581 ·······"<tr>\n",
582 ·······"··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>495.624</td>\n",582 ·······"··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>495.624</td>\n",
583 ·······"</tr>\n",583 ·······"</tr>\n",
584 ·······"<tr>\n",584 ·······"<tr>\n",
585 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",585 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",
586 ·······"</tr>\n",586 ·······"</tr>\n",
Offset 649, 16 lines modifiedOffset 649, 16 lines modified
649 ······"text/plain":·[649 ······"text/plain":·[
650 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",650 ·······"<class·'statsmodels.iolib.summary.Summary'>\n",
651 ·······"\"\"\"\n",651 ·······"\"\"\"\n",
652 ·······"························Markov·Switching·Model·Results························\n",652 ·······"························Markov·Switching·Model·Results························\n",
653 ·······"==============================================================================\n",653 ·······"==============================================================================\n",
654 ·······"Dep.·Variable:······················y···No.·Observations:··················222\n",654 ·······"Dep.·Variable:······················y···No.·Observations:··················222\n",
655 ·······"Model:···············MarkovRegression···Log·Likelihood················-229.256\n",655 ·······"Model:···············MarkovRegression···Log·Likelihood················-229.256\n",
656 ·······"Date:················Tue,·14·Dec·2021···AIC····························480.512\n",656 ·······"Date:················Wed,·18·Jan·2023···AIC····························480.512\n",
657 ·······"Time:························19:41:03···BIC····························517.942\n",657 ·······"Time:························05:06:40···BIC····························517.942\n",
658 ·······"Sample:····················07-01-1955···HQIC···························495.624\n",658 ·······"Sample:····················07-01-1955···HQIC···························495.624\n",
659 ·······"·························-·10-01-2010·········································\n",659 ·······"·························-·10-01-2010·········································\n",
660 ·······"Covariance·Type:···············approx·········································\n",660 ·······"Covariance·Type:···············approx·········································\n",
661 ·······"·····························Regime·0·parameters······························\n",661 ·······"·····························Regime·0·parameters······························\n",
662 ·······"==============================================================================\n",662 ·······"==============================================================================\n",
663 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",663 ·······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
664 ·······"------------------------------------------------------------------------------\n",664 ·······"------------------------------------------------------------------------------\n",
Offset 716, 18 lines modifiedOffset 716, 18 lines modified
716 ·······"<tr>\n",716 ·······"<tr>\n",
717 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··\n",717 ·······"··<th>Dep.·Variable:</th>···········<td>y</td>········<th>··No.·Observations:··</th>····<td>222</td>··\n",
718 ·······"</tr>\n",718 ·······"</tr>\n",
719 ·······"<tr>\n",719 ·······"<tr>\n",
720 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-180.806</td>\n",720 ·······"··<th>Model:</th>···········<td>MarkovRegression</td>·<th>··Log·Likelihood·····</th>·<td>-180.806</td>\n",
721 ·······"</tr>\n",721 ·······"</tr>\n",
722 ·······"<tr>\n",722 ·······"<tr>\n",
723 ·······"··<th>Date:</th>············<td>Tue,·14·Dec·2021</td>·<th>··AIC················</th>··<td>399.611</td>\n",723 ·······"··<th>Date:</th>············<td>Wed,·18·Jan·2023</td>·<th>··AIC················</th>··<td>399.611</td>\n",
724 ·······"</tr>\n",724 ·······"</tr>\n",
725 ·······"<tr>\n",725 ·······"<tr>\n",
726 ·······"··<th>Time:</th>················<td>19:41:03</td>·····<th>··BIC················</th>··<td>464.262</td>\n",726 ·······"··<th>Time:</th>················<td>05:06:40</td>·····<th>··BIC················</th>··<td>464.262</td>\n",
727 ·······"</tr>\n",727 ·······"</tr>\n",
728 ·······"<tr>\n",728 ·······"<tr>\n",
729 ·······"··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>425.713</td>\n",729 ·······"··<th>Sample:</th>·············<td>07-01-1955</td>····<th>··HQIC···············</th>··<td>425.713</td>\n",
730 ·······"</tr>\n",730 ·······"</tr>\n",
731 ·······"<tr>\n",731 ·······"<tr>\n",
732 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",732 ·······"··<th></th>···················<td>-·10-01-2010</td>···<th>·····················</th>·····<td>·</td>···\n",
733 ·······"</tr>\n",733 ·······"</tr>\n",
Offset 826, 16 lines modifiedOffset 826, 16 lines modified
Max diff block lines reached; 4158/13374 bytes (31.09%) of diff not shown.
2.65 KB
./usr/share/doc/python-statsmodels/examples/executed/mixed_lm_example.ipynb.gz
2.5 KB
mixed_lm_example.ipynb
Ordering differences only
    
Offset 232, 14 lines modifiedOffset 232, 24 lines modified
232 ·····"output_type":·"stream",232 ·····"output_type":·"stream",
233 ·····"text":·[233 ·····"text":·[
234 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals\n",234 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals\n",
235 ······"··\"Check·mle_retvals\",·ConvergenceWarning)\n"235 ······"··\"Check·mle_retvals\",·ConvergenceWarning)\n"
236 ·····]236 ·····]
237 ····},237 ····},
238 ····{238 ····{
 239 ·····"name":·"stderr",
 240 ·····"output_type":·"stream",
 241 ·····"text":·[
 242 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals\n",
 243 ······"··\"Check·mle_retvals\",·ConvergenceWarning)\n",
 244 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/regression/mixed_linear_model.py:2001:·ConvergenceWarning:·Gradient·optimization·failed.\n",
 245 ······"··warnings.warn(msg,·ConvergenceWarning)\n"
 246 ·····]
 247 ····},
 248 ····{
239 ·····"name":·"stdout",249 ·····"name":·"stdout",
240 ·····"output_type":·"stream",250 ·····"output_type":·"stream",
241 ·····"text":·[251 ·····"text":·[
242 ······"··············Mixed·Linear·Model·Regression·Results\n",252 ······"··············Mixed·Linear·Model·Regression·Results\n",
243 ······"=================================================================\n",253 ······"=================================================================\n",
244 ······"Model:···············MixedLM····Dependent·Variable:····Weight····\n",254 ······"Model:···············MixedLM····Dependent·Variable:····Weight····\n",
245 ······"No.·Observations:····861········Method:················REML······\n",255 ······"No.·Observations:····861········Method:················REML······\n",
Offset 254, 24 lines modifiedOffset 264, 14 lines modified
254 ······"Time····················6.939····0.085·81.326·0.000··6.772··7.106\n",264 ······"Time····················6.939····0.085·81.326·0.000··6.772··7.106\n",
255 ······"Intercept·RE···········30.266····4.271···························\n",265 ······"Intercept·RE···········30.266····4.271···························\n",
256 ······"Intercept·RE·x·Time·RE··0.746····0.304···························\n",266 ······"Intercept·RE·x·Time·RE··0.746····0.304···························\n",
257 ······"Time·RE·················0.483····0.046···························\n",267 ······"Time·RE·················0.483····0.046···························\n",
258 ······"=================================================================\n",268 ······"=================================================================\n",
259 ······"\n"269 ······"\n"
260 ·····]270 ·····]
261 ····}, 
262 ····{ 
263 ·····"name":·"stderr", 
264 ·····"output_type":·"stream", 
265 ·····"text":·[ 
266 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/base/model.py:496:·ConvergenceWarning:·Maximum·Likelihood·optimization·failed·to·converge.·Check·mle_retvals\n", 
267 ······"··\"Check·mle_retvals\",·ConvergenceWarning)\n", 
268 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/regression/mixed_linear_model.py:2001:·ConvergenceWarning:·Gradient·optimization·failed.\n", 
269 ······"··warnings.warn(msg,·ConvergenceWarning)\n" 
270 ·····] 
271 ····}271 ····}
272 ···],272 ···],
273 ···"source":·[273 ···"source":·[
274 ····"md·=·smf.mixedlm(\"Weight·~·Time\",·data,·groups=data[\"Pig\"],·re_formula=\"~Time\")\n",274 ····"md·=·smf.mixedlm(\"Weight·~·Time\",·data,·groups=data[\"Pig\"],·re_formula=\"~Time\")\n",
275 ····"mdf·=·md.fit()\n",275 ····"mdf·=·md.fit()\n",
276 ····"print(mdf.summary())"276 ····"print(mdf.summary())"
277 ···]277 ···]
9.48 KB
./usr/share/doc/python-statsmodels/examples/executed/ols.ipynb.gz
198 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·1030891 gzip·compressed·data,·max·compression,·from·Unix,·original·size·103002
9.16 KB
ols.ipynb
    
Offset 97, 16 lines modifiedOffset 97, 16 lines modified
97 ·····"output_type":·"stream",97 ·····"output_type":·"stream",
98 ·····"text":·[98 ·····"text":·[
99 ······"····························OLS·Regression·Results····························\n",99 ······"····························OLS·Regression·Results····························\n",
100 ······"==============================================================================\n",100 ······"==============================================================================\n",
101 ······"Dep.·Variable:······················y···R-squared:·······················1.000\n",101 ······"Dep.·Variable:······················y···R-squared:·······················1.000\n",
102 ······"Model:····························OLS···Adj.·R-squared:··················1.000\n",102 ······"Model:····························OLS···Adj.·R-squared:··················1.000\n",
103 ······"Method:·················Least·Squares···F-statistic:·················4.020e+06\n",103 ······"Method:·················Least·Squares···F-statistic:·················4.020e+06\n",
104 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):··········2.83e-239\n",104 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):··········2.83e-239\n",
105 ······"Time:························19:41:11···Log-Likelihood:················-146.51\n",105 ······"Time:························05:06:40···Log-Likelihood:················-146.51\n",
106 ······"No.·Observations:·················100···AIC:·····························299.0\n",106 ······"No.·Observations:·················100···AIC:·····························299.0\n",
107 ······"Df·Residuals:······················97···BIC:·····························306.8\n",107 ······"Df·Residuals:······················97···BIC:·····························306.8\n",
108 ······"Df·Model:···························2·········································\n",108 ······"Df·Model:···························2·········································\n",
109 ······"Covariance·Type:············nonrobust·········································\n",109 ······"Covariance·Type:············nonrobust·········································\n",
110 ······"==============================================================================\n",110 ······"==============================================================================\n",
111 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",111 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
112 ······"------------------------------------------------------------------------------\n",112 ······"------------------------------------------------------------------------------\n",
Offset 205, 16 lines modifiedOffset 205, 16 lines modified
205 ·····"output_type":·"stream",205 ·····"output_type":·"stream",
206 ·····"text":·[206 ·····"text":·[
207 ······"····························OLS·Regression·Results····························\n",207 ······"····························OLS·Regression·Results····························\n",
208 ······"==============================================================================\n",208 ······"==============================================================================\n",
209 ······"Dep.·Variable:······················y···R-squared:·······················0.933\n",209 ······"Dep.·Variable:······················y···R-squared:·······················0.933\n",
210 ······"Model:····························OLS···Adj.·R-squared:··················0.928\n",210 ······"Model:····························OLS···Adj.·R-squared:··················0.928\n",
211 ······"Method:·················Least·Squares···F-statistic:·····················211.8\n",211 ······"Method:·················Least·Squares···F-statistic:·····················211.8\n",
212 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········6.30e-27\n",212 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········6.30e-27\n",
213 ······"Time:························19:41:11···Log-Likelihood:················-34.438\n",213 ······"Time:························05:06:41···Log-Likelihood:················-34.438\n",
214 ······"No.·Observations:··················50···AIC:·····························76.88\n",214 ······"No.·Observations:··················50···AIC:·····························76.88\n",
215 ······"Df·Residuals:······················46···BIC:·····························84.52\n",215 ······"Df·Residuals:······················46···BIC:·····························84.52\n",
216 ······"Df·Model:···························3·········································\n",216 ······"Df·Model:···························3·········································\n",
217 ······"Covariance·Type:············nonrobust·········································\n",217 ······"Covariance·Type:············nonrobust·········································\n",
218 ······"==============================================================================\n",218 ······"==============================================================================\n",
219 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",219 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
220 ······"------------------------------------------------------------------------------\n",220 ······"------------------------------------------------------------------------------\n",
Offset 412, 16 lines modifiedOffset 412, 16 lines modified
412 ·····"output_type":·"stream",412 ·····"output_type":·"stream",
413 ·····"text":·[413 ·····"text":·[
414 ······"····························OLS·Regression·Results····························\n",414 ······"····························OLS·Regression·Results····························\n",
415 ······"==============================================================================\n",415 ······"==============================================================================\n",
416 ······"Dep.·Variable:······················y···R-squared:·······················0.978\n",416 ······"Dep.·Variable:······················y···R-squared:·······················0.978\n",
417 ······"Model:····························OLS···Adj.·R-squared:··················0.976\n",417 ······"Model:····························OLS···Adj.·R-squared:··················0.976\n",
418 ······"Method:·················Least·Squares···F-statistic:·····················671.7\n",418 ······"Method:·················Least·Squares···F-statistic:·····················671.7\n",
419 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········5.69e-38\n",419 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········5.69e-38\n",
420 ······"Time:························19:41:12···Log-Likelihood:················-64.643\n",420 ······"Time:························05:06:43···Log-Likelihood:················-64.643\n",
421 ······"No.·Observations:··················50···AIC:·····························137.3\n",421 ······"No.·Observations:··················50···AIC:·····························137.3\n",
422 ······"Df·Residuals:······················46···BIC:·····························144.9\n",422 ······"Df·Residuals:······················46···BIC:·····························144.9\n",
423 ······"Df·Model:···························3·········································\n",423 ······"Df·Model:···························3·········································\n",
424 ······"Covariance·Type:············nonrobust·········································\n",424 ······"Covariance·Type:············nonrobust·········································\n",
425 ······"==============================================================================\n",425 ······"==============================================================================\n",
426 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",426 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
427 ······"------------------------------------------------------------------------------\n",427 ······"------------------------------------------------------------------------------\n",
Offset 650, 16 lines modifiedOffset 650, 16 lines modified
650 ·····"output_type":·"stream",650 ·····"output_type":·"stream",
651 ·····"text":·[651 ·····"text":·[
652 ······"····························OLS·Regression·Results····························\n",652 ······"····························OLS·Regression·Results····························\n",
653 ······"==============================================================================\n",653 ······"==============================================================================\n",
654 ······"Dep.·Variable:·················TOTEMP···R-squared:·······················0.995\n",654 ······"Dep.·Variable:·················TOTEMP···R-squared:·······················0.995\n",
655 ······"Model:····························OLS···Adj.·R-squared:··················0.992\n",655 ······"Model:····························OLS···Adj.·R-squared:··················0.992\n",
656 ······"Method:·················Least·Squares···F-statistic:·····················330.3\n",656 ······"Method:·················Least·Squares···F-statistic:·····················330.3\n",
657 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········4.98e-10\n",657 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········4.98e-10\n",
658 ······"Time:························19:41:13···Log-Likelihood:················-109.62\n",658 ······"Time:························05:06:45···Log-Likelihood:················-109.62\n",
659 ······"No.·Observations:··················16···AIC:·····························233.2\n",659 ······"No.·Observations:··················16···AIC:·····························233.2\n",
660 ······"Df·Residuals:·······················9···BIC:·····························238.6\n",660 ······"Df·Residuals:·······················9···BIC:·····························238.6\n",
661 ······"Df·Model:···························6·········································\n",661 ······"Df·Model:···························6·········································\n",
662 ······"Covariance·Type:············nonrobust·········································\n",662 ······"Covariance·Type:············nonrobust·········································\n",
663 ······"==============================================================================\n",663 ······"==============================================================================\n",
664 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",664 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
665 ······"------------------------------------------------------------------------------\n",665 ······"------------------------------------------------------------------------------\n",
Offset 852, 30 lines modifiedOffset 852, 14 lines modified
852 ···"cell_type":·"code",852 ···"cell_type":·"code",
853 ···"execution_count":·26,853 ···"execution_count":·26,
854 ···"metadata":·{854 ···"metadata":·{
855 ····"collapsed":·false855 ····"collapsed":·false
856 ···},856 ···},
857 ···"outputs":·[857 ···"outputs":·[
858 ····{858 ····{
859 ·····"name":·"stderr", 
860 ·····"output_type":·"stream", 
861 ·····"text":·[ 
862 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:309:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n", 
863 ······"··return··self.results.resid·/·sigma·/·np.sqrt(1·-·hii)\n", 
864 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·greater\n", 
865 ······"··return·(self.a·<·x)·&·(x·<·self.b)\n", 
866 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·less\n", 
867 ······"··return·(self.a·<·x)·&·(x·<·self.b)\n", 
868 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:1821:·RuntimeWarning:·invalid·value·encountered·in·less_equal\n", 
869 ······"··cond2·=·cond0·&·(x·<=·self.a)\n", 
870 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:323:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n", 
871 ······"··dffits_·=·self.resid_studentized_internal·*·np.sqrt(hii·/·(1·-·hii))\n" 
872 ·····] 
873 ····}, 
874 ····{ 
875 ·····"name":·"stdout",859 ·····"name":·"stdout",
876 ·····"output_type":·"stream",860 ·····"output_type":·"stream",
877 ·····"text":·[861 ·····"text":·[
878 ······"····dfb_const··dfb_GNPDEFL·······dfb_GNP·····dfb_UNEMP·····dfb_ARMED··\\\n",862 ······"····dfb_const··dfb_GNPDEFL·······dfb_GNP·····dfb_UNEMP·····dfb_ARMED··\\\n",
879 ······"0···-0.016406··-169.822675··1.673981e+06··54490.318088··51447.824036···\n",863 ······"0···-0.016406··-169.822675··1.673981e+06··54490.318088··51447.824036···\n",
880 ······"1···-0.020608··-187.251727··1.829990e+06··54495.312977··52659.808664···\n",864 ······"1···-0.020608··-187.251727··1.829990e+06··54495.312977··52659.808664···\n",
881 ······"2···-0.008382···-65.417834··1.587601e+06··52002.330476··49078.352378···\n",865 ······"2···-0.008382···-65.417834··1.587601e+06··52002.330476··49078.352378···\n",
Offset 912, 14 lines modifiedOffset 896, 24 lines modified
912 ······"15·-110176.960671·-28053.834556··\n"896 ······"15·-110176.960671·-28053.834556··\n"
913 ·····]897 ·····]
914 ····},898 ····},
915 ····{899 ····{
916 ·····"name":·"stderr",900 ·····"name":·"stderr",
917 ·····"output_type":·"stream",901 ·····"output_type":·"stream",
918 ·····"text":·[902 ·····"text":·[
 903 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:309:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n",
 904 ······"··return··self.results.resid·/·sigma·/·np.sqrt(1·-·hii)\n",
 905 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·greater\n",
 906 ······"··return·(self.a·<·x)·&·(x·<·self.b)\n",
 907 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:879:·RuntimeWarning:·invalid·value·encountered·in·less\n",
 908 ······"··return·(self.a·<·x)·&·(x·<·self.b)\n",
 909 ······"/usr/lib/python3/dist-packages/scipy/stats/_distn_infrastructure.py:1821:·RuntimeWarning:·invalid·value·encountered·in·less_equal\n",
 910 ······"··cond2·=·cond0·&·(x·<=·self.a)\n",
 911 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:323:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n",
 912 ······"··dffits_·=·self.resid_studentized_internal·*·np.sqrt(hii·/·(1·-·hii))\n",
919 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:352:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n",913 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/stats/outliers_influence.py:352:·RuntimeWarning:·invalid·value·encountered·in·sqrt\n",
920 ······"··dffits_·=·self.resid_studentized_external·*·np.sqrt(hii·/·(1·-·hii))\n"914 ······"··dffits_·=·self.resid_studentized_external·*·np.sqrt(hii·/·(1·-·hii))\n"
921 ·····]915 ·····]
922 ····}916 ····}
923 ···],917 ···],
924 ···"source":·[918 ···"source":·[
925 ····"print(infl.summary_frame().filter(regex=\"dfb\"))"919 ····"print(infl.summary_frame().filter(regex=\"dfb\"))"
956 KB
./usr/share/doc/python-statsmodels/examples/executed/plots_boxplots.ipynb.gz
200 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·10116461 gzip·compressed·data,·max·compression,·from·Unix,·original·size·1012134
955 KB
plots_boxplots.ipynb
    
Offset 152, 15 lines modifiedOffset 152, 15 lines modified
152 ···"execution_count":·5,152 ···"execution_count":·5,
153 ···"metadata":·{153 ···"metadata":·{
154 ····"collapsed":·false154 ····"collapsed":·false
155 ···},155 ···},
156 ···"outputs":·[156 ···"outputs":·[
157 ····{157 ····{
158 ·····"data":·{158 ·····"data":·{
159 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYVOWZ9u9TVWepvXpnE7EVEOLSoxglkmg07klQI0jHBUcn+YwExQ8miIlxHIzKBCKKZjKJOsGA7fJFJRGXEKNJDBFFbRWBpqF6765937urzvdHdxXV1bWc2utUvb/r8kqoOnX6qfd6zzlPPe/z3jfF8zwIBAKBQCAQCJWBpNwBEAgEAoFAIBCOQ5IzAoFAIBAIhAqCJGcEAoFAIBAIFQRJzggEAoFAIBAqCJKcEQgEAoFAIFQQJDkjEAgEAoFA[·...·truncated·by·diffoscope;·len:·106108,·SHA:·ea24da0d9deb8718689b9947b62c1fb75d3973692e70dff2dd45de0e9fb4122c·...·]\n",159 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmYXFW1/v+eqjPX3FU9ZCAkMQOJBKIEITghwpVJo14DtGESRbhgMJpoRC7iT65Cvje5BCLOoHADAVEgcgMoKiAyRAKEKUl30nN1d1XXPA/dXef3R3d1qqprODVP+/M8eaCrTp1atZ99zl5n7bXeRUmSBAKBQCAQCARCbaCotgEEAoFAIBAIhOMQ54xAIBAIBAKhhiDOGYFAIBAIBEINQZwzAoFAIBAIhBqCOGcEAoFAIBAINQRxzggEAoFAIBBq[·...·truncated·by·diffoscope;·len:·105220,·SHA:·aa77812c2f293bb300bc24063e87c10e44a8f82b1df00f804e4027ea2dc057a4·...·]\n",
160 ······"text/plain":·[160 ······"text/plain":·[
161 ·······"<Figure·size·720x576·with·1·Axes>"161 ·······"<Figure·size·720x576·with·1·Axes>"
162 ······]162 ······]
163 ·····},163 ·····},
164 ·····"metadata":·{164 ·····"metadata":·{
165 ······"needs_background":·"light"165 ······"needs_background":·"light"
166 ·····},166 ·····},
Offset 248, 15 lines modifiedOffset 248, 15 lines modified
248 ···"execution_count":·9,248 ···"execution_count":·9,
249 ···"metadata":·{249 ···"metadata":·{
250 ····"collapsed":·false250 ····"collapsed":·false
251 ···},251 ···},
252 ···"outputs":·[252 ···"outputs":·[
253 ····{253 ····{
254 ·····"data":·{254 ·····"data":·{
255 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYXGWV/7+36q61V6/ZSRqySkLExCQIgijKogbUQNog4YczDIqBANEIEh0nAyFOMgQCgjPKCAYSwGERggwMEgfBBELoLGTv7vTe1bXvS3fV/f1RXZ2q6lpuddd2q97P8/BA3751+9TLe+977nm/5xxKFEUQCAQCgUAgEMoDRakNIBAIBAKBQCCchThnBAKBQCAQCGUEcc4IBAKBQCAQygjinBEIBAKBQCCUEcQ5IxAIBAKBQCgjiHNGIBAIBAKBUEYUz[·...·truncated·by·diffoscope;·len:·105855,·SHA:·872bd89faa6a3dc43f1c6807e736190515195883bba5e154aa20e385a12610b5·...·]\n",255 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYXFWZ/7+36u61dlcv2YCkIStby5awOSCibBJAlvQQRdERhAkECBNRGXWiLJoMgQCiMzJEE4MyIsEJwjAooj8EAemEkKU7qd67q7v2femqur8/uqtSXV3Lreqq6rpV5/M8Pia3bt2cOpx7z3vf8z3fl5IkCQQCgUAgEAiE6kA12w0gEAgEAoFAIByDBGcEAoFAIBAIVQQJzggEAoFAIBCqCBKcEQgEAoFAIFQRJDgjEAgEAoFAqCJIcEYgEAgEAoFQR[·...·truncated·by·diffoscope;·len:·106039,·SHA:·01a281bdde8c50ab547ccaa2d4eb7ef4b1458fdae1410034371fe294f722334b·...·]\n",
256 ······"text/plain":·[256 ······"text/plain":·[
257 ·······"<Figure·size·720x576·with·1·Axes>"257 ·······"<Figure·size·720x576·with·1·Axes>"
258 ······]258 ······]
259 ·····},259 ·····},
260 ·····"metadata":·{260 ·····"metadata":·{
261 ······"needs_background":·"light"261 ······"needs_background":·"light"
262 ·····},262 ·····},
Offset 272, 15 lines modifiedOffset 272, 15 lines modified
272 ···"execution_count":·10,272 ···"execution_count":·10,
273 ···"metadata":·{273 ···"metadata":·{
274 ····"collapsed":·false274 ····"collapsed":·false
275 ···},275 ···},
276 ···"outputs":·[276 ···"outputs":·[
277 ····{277 ····{
278 ·····"data":·{278 ·····"data":·{
279 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xl4VOXZP/DvmbPOkgXCvhNkkVqMSwV3XHABK6IopFAQ3OrrD4oFi0ut9aVVaUNF0dZiVUAwgFZFBRfc3loVFGlU9iViRAghM5l9zpxZzu+PyYwzk1lDMovn/lyXV3Uy0CfPdeace57nfu6bUVUVhBBCCCGkMOjyPQBCCCGEEPIDCs4IIYQQQgoIBWeEEEIIIQWEgjNCCCGEkAJCwRkhhBBCSAGh4IwQQgghpIB0WnDGMMyzDMM0MQyzI+q1rgzD[·...·truncated·by·diffoscope;·len:·102834,·SHA:·44b94470edcd3b6ee76c0549188870a18840370f198762629260178e1e703a0e·...·]sAAAAASUVORK5CYII=\n",279 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHcCAYAAACTVw06AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXmYFOW1xt/q2nqbhU1AtmEQ2RRGg6LEPVGjGBFXRhCMRIMSFAMG9bokwQgkQxgFjTFigEBGJVGJAc31Rk00RuM2uLBKg4AwW/f0Vt3V1UvdP3q66X3BmV6o83seH52emvHM93xV36mzvIdRVRUEQRAEQRBEaaArtgEEQRAEQRDEUcg5IwiCIAiCKCHIOSMIgiAIgighyDkjCIIgCIIoIcg5IwiCIAiCKCHIOSMIgiAIgighesw5YxjmWYZh2hiG[·...·truncated·by·diffoscope;·len:·103354,·SHA:·03403b9a92a95d384e42fd1b2f2547999b53912462237688c3dccca2b785c9d2·...·]sAAAAASUVORK5CYII=\n",
280 ······"text/plain":·[280 ······"text/plain":·[
281 ·······"<Figure·size·720x576·with·1·Axes>"281 ·······"<Figure·size·720x576·with·1·Axes>"
282 ······]282 ······]
283 ·····},283 ·····},
284 ·····"metadata":·{284 ·····"metadata":·{
285 ······"needs_background":·"light"285 ······"needs_background":·"light"
286 ·····},286 ·····},
Offset 447, 15 lines modifiedOffset 447, 15 lines modified
447 ·····},447 ·····},
448 ·····"execution_count":·14,448 ·····"execution_count":·14,
449 ·····"metadata":·{},449 ·····"metadata":·{},
450 ·····"output_type":·"execute_result"450 ·····"output_type":·"execute_result"
451 ····},451 ····},
452 ····{452 ····{
453 ·····"data":·{453 ·····"data":·{
454 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmcI2d95/95dJ8tdavvOXrssQdjHJvDGWPMADEQgxMC+SUcCVf8C2GNE7K72WTDskfYJGTJ9UtIgncCG8AOhIQkZCHcBMdkCMaDbeID29Nz9PR96W7dLen5/VGqnmp1lepQlVQlfd+v17ymWypVffvRU8/zre/JOOcgCIIgCIIg7IGr3wIQBEEQBEEQVyDljCAIgiAIwkaQckYQBEEQBGEjSDkjCIIgCIKwEaScEQRBEARB2AhSzgiCIAiCIGwEKWcEYSKMsQJj7GqL[·...·truncated·by·diffoscope;·len:·83867,·SHA:·f1dda702a20f14bd83c97f4aa158b0add3c2f37d484c63dc18990186ab6ddf63·...·]=\n",454 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsvXmcI2d95/95dJ8tqdXqa46ewePBmLHN4YyxzZCsTZZgSCCbhJDlcPhBWOMlyW9zbAi/HGw2ZElINhsIXkMOYgIhkIT8QghgCI7BLI4HH8HYxjPjmZ6+D7XO1n09+0epeqrVVVJVqUqqkr7v12te01KVnvrq0VNV3/qejHMOgiAIgiAIwho4hi0AQRAEQRAEcQVSzgiCIAiCICwEKWcEQRAEQRAWgpQzgiAIgiAIC0HKGUEQBEEQhIUg5YwgCIIgCMJCkHJGEAbCGCsw[·...·truncated·by·diffoscope;·len:·84103,·SHA:·5f29708a2def778edffe2e6616350214bed35d12f446d66fd4944e4f2ad7dda2·...·]=\n",
455 ······"text/plain":·[455 ······"text/plain":·[
456 ·······"<Figure·size·720x576·with·1·Axes>"456 ·······"<Figure·size·720x576·with·1·Axes>"
457 ······]457 ······]
458 ·····},458 ·····},
459 ·····"metadata":·{459 ·····"metadata":·{
460 ······"needs_background":·"light"460 ······"needs_background":·"light"
461 ·····},461 ·····},
Offset 494, 15 lines modifiedOffset 494, 15 lines modified
494 ·····},494 ·····},
495 ·····"execution_count":·15,495 ·····"execution_count":·15,
496 ·····"metadata":·{},496 ·····"metadata":·{},
497 ·····"output_type":·"execute_result"497 ·····"output_type":·"execute_result"
498 ····},498 ····},
499 ····{499 ····{
500 ·····"data":·{500 ·····"data":·{
501 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXl8W+WZ73+vVmuz5X1LnISQQFhCQlLWhmzsy9BSWgqEKQxQlumkXLhMp3A7cDslpStt7kwXoBsDLaEUSoEpFBKcpCQE4gTHJHHiXd5kyZYlS7Zl2dJ7/ziSkW1JPpKOdLQ838/HH9tnffTqPec851kZ5xwEQRAEQRBEZqCQWwCCIAiCIAjiU0g5IwiCIAiCyCBIOSMIgiAIgsggSDkjCIIgCILIIEg5IwiCIAiCyCBIOSMIgiAIgsggSDkjCAlhjHkYY6ek+BwbGG[·...·truncated·by·diffoscope;·len:·86946,·SHA:·9c78835088390def077df10da9b9e54b1fce3bdc99f2428b719db519cb6ebac3·...·]\n",501 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAmcAAAHoCAYAAAAMvEiBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzsnXl8W+WZ73+vVmvzvjtxEkICYU1IGrZmB8paWoaWsk2hQFmmQ7ntdDqF6cCdW1Laacs0d6adQul2oRBKoTR0hi3BSUpCIE5wQhIn3m3ZkmVblm3JlmVL7/3jSIpsS/KRdKSjIz3fz8cf22d99Oo95zznWRnnHARBEARBEER2oJJbAIIgCIIgCOI0pJwRBEEQBEFkEaScEQRBEARBZBGknBEEQRAEQWQRpJwRBEEQBEFkEaScEQRBEARBZBGknBGEhDDG3IyxM9J8jo[·...·truncated·by·diffoscope;·len:·87382,·SHA:·5401b63279087847982b11628eda723165b7601d6c5ebfa29c5e50766427f331·...·]\n",
502 ······"text/plain":·[502 ······"text/plain":·[
503 ·······"<Figure·size·720x576·with·1·Axes>"503 ·······"<Figure·size·720x576·with·1·Axes>"
504 ······]504 ······]
505 ·····},505 ·····},
506 ·····"metadata":·{506 ·····"metadata":·{
507 ······"needs_background":·"light"507 ······"needs_background":·"light"
508 ·····},508 ·····},
45.0 KB
./usr/share/doc/python-statsmodels/examples/executed/predict.ipynb.gz
196 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·279701 gzip·compressed·data,·max·compression,·from·Unix,·original·size·28310
44.6 KB
predict.ipynb
    
Offset 72, 35 lines modifiedOffset 72, 35 lines modified
72 ···"outputs":·[72 ···"outputs":·[
73 ····{73 ····{
74 ·····"name":·"stdout",74 ·····"name":·"stdout",
75 ·····"output_type":·"stream",75 ·····"output_type":·"stream",
76 ·····"text":·[76 ·····"text":·[
77 ······"····························OLS·Regression·Results····························\n",77 ······"····························OLS·Regression·Results····························\n",
78 ······"==============================================================================\n",78 ······"==============================================================================\n",
79 ······"Dep.·Variable:······················y···R-squared:·······················0.985\n",79 ······"Dep.·Variable:······················y···R-squared:·······················0.980\n",
80 ······"Model:····························OLS···Adj.·R-squared:··················0.984\n",80 ······"Model:····························OLS···Adj.·R-squared:··················0.978\n",
81 ······"Method:·················Least·Squares···F-statistic:·····················1012.\n",81 ······"Method:·················Least·Squares···F-statistic:·····················735.1\n",
82 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········5.47e-42\n",82 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········7.47e-39\n",
83 ······"Time:························19:41:09···Log-Likelihood:·················2.7018\n",83 ······"Time:························05:06:33···Log-Likelihood:················-5.5899\n",
84 ······"No.·Observations:··················50···AIC:·····························2.596\n",84 ······"No.·Observations:··················50···AIC:·····························19.18\n",
85 ······"Df·Residuals:······················46···BIC:·····························10.24\n",85 ······"Df·Residuals:······················46···BIC:·····························26.83\n",
86 ······"Df·Model:···························3·········································\n",86 ······"Df·Model:···························3·········································\n",
87 ······"Covariance·Type:············nonrobust·········································\n",87 ······"Covariance·Type:············nonrobust·········································\n",
88 ······"==============================================================================\n",88 ······"==============================================================================\n",
89 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",89 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
90 ······"------------------------------------------------------------------------------\n",90 ······"------------------------------------------------------------------------------\n",
91 ······"const··········4.9654······0.081·····60.954······0.000·······4.801·······5.129\n",91 ······"const··········4.8549······0.096·····50.490······0.000·······4.661·······5.048\n",
92 ······"x1·············0.5085······0.013·····40.471······0.000·······0.483·······0.534\n",92 ······"x1·············0.5126······0.015·····34.568······0.000·······0.483·······0.542\n",
93 ······"x2·············0.5666······0.049·····11.472······0.000·······0.467·······0.666\n",93 ······"x2·············0.4654······0.058······7.983······0.000·······0.348·······0.583\n",
94 ······"x3············-0.0206······0.001····-18.711······0.000······-0.023······-0.018\n",94 ······"x3············-0.0209······0.001····-16.033······0.000······-0.023······-0.018\n",
95 ······"==============================================================================\n",95 ······"==============================================================================\n",
96 ······"Omnibus:························4.975···Durbin-Watson:···················1.907\n",96 ······"Omnibus:························1.868···Durbin-Watson:···················2.299\n",
97 ······"Prob(Omnibus):··················0.083···Jarque-Bera·(JB):················3.874\n",97 ······"Prob(Omnibus):··················0.393···Jarque-Bera·(JB):················1.376\n",
98 ······"Skew:··························-0.630···Prob(JB):························0.144\n",98 ······"Skew:···························0.406···Prob(JB):························0.503\n",
99 ······"Kurtosis:·······················3.520···Cond.·No.·························221.\n",99 ······"Kurtosis:·······················3.048···Cond.·No.·························221.\n",
100 ······"==============================================================================\n",100 ······"==============================================================================\n",
101 ······"\n",101 ······"\n",
102 ······"Warnings:\n",102 ······"Warnings:\n",
103 ······"[1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.\n"103 ······"[1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.\n"
104 ·····]104 ·····]
105 ····}105 ····}
106 ···],106 ···],
Offset 124, 23 lines modifiedOffset 124, 23 lines modified
124 ····"collapsed":·false124 ····"collapsed":·false
125 ···},125 ···},
126 ···"outputs":·[126 ···"outputs":·[
127 ····{127 ····{
128 ·····"name":·"stdout",128 ·····"name":·"stdout",
129 ·····"output_type":·"stream",129 ·····"output_type":·"stream",
130 ·····"text":·[130 ·····"text":·[
131 ······"[·4.44939603··4.96262191··5.43202266··5.82672081··6.12698241··6.32745926\n", 
132 ······"··6.4380676···6.4823589···6.49365043··6.50955132··6.56578347··6.69031259\n", 
133 ······"··6.89875345··7.19180447··7.55513294··7.96172987··8.37634745··8.76129022\n", 
134 ······"··9.08260827··9.31567517··9.44923397··9.48724673··9.44824354··9.36227807\n", 
135 ······"··9.26598986··9.19658455··9.18572108··9.2543102···9.40907894··9.64146535\n", 
136 ······"··9.92902521·10.23911953·10.53427708·10.77835079·10.94245661·11.00971907\n", 
137 ······"·10.9780439··10.86046206·10.68298886·10.48034966·10.29027463·10.14729976\n", 
138 ······"·10.0770927··10.09223568·10.19015821·10.35355947·10.55325075·10.7529511\n", 
139 ······"·10.91524815·11.00774488]\n"131 ······"[·4.33295629··4.80865193··5.24704189··5.62276276··5.91960462··6.13317435\n",
 132 ······"··6.27161735··6.35427935··6.40852786··6.46525586··6.5538061···6.69715023\n",
 133 ······"··6.90811456··7.1872728···7.52285174··7.8926656···8.26776105··8.61717422\n",
 134 ······"··8.9130179···9.1350634···9.27406402··9.33327427··9.32791518··9.2826735\n",
 135 ······"··9.22764575··9.19339347··9.20592198··9.28240787··9.42837685··9.63679595\n",
 136 ······"··9.88922898·10.15886558·10.41492604·10.62771837·10.77351657·10.83845876\n",
 137 ······"·10.82082465·10.73131818·10.59130888·10.42932094·10.27634673·10.16075489\n",
 138 ······"·10.10362939·10.11530554·10.19367189·10.32451717·10.48386513·10.64191379\n",
 139 ······"·10.76793181·10.83530758]\n"
140 ·····]140 ·····]
141 ····}141 ····}
142 ···],142 ···],
143 ···"source":·[143 ···"source":·[
144 ····"ypred·=·olsres.predict(X)\n",144 ····"ypred·=·olsres.predict(X)\n",
145 ····"print(ypred)"145 ····"print(ypred)"
146 ···]146 ···]
Offset 159, 16 lines modifiedOffset 159, 16 lines modified
159 ····"collapsed":·false159 ····"collapsed":·false
160 ···},160 ···},
161 ···"outputs":·[161 ···"outputs":·[
162 ····{162 ····{
163 ·····"name":·"stdout",163 ·····"name":·"stdout",
164 ·····"output_type":·"stream",164 ·····"output_type":·"stream",
165 ·····"text":·[165 ·····"text":·[
166 ······"[10.99473591·10.83313091·10.54514852·10.18142229··9.80860373··9.49304376\n", 
167 ······"··9.28454767··9.20418104··9.23911218··9.34575372]\n"166 ······"[10.8123021··10.66527564·10.41247908·10.09550393··9.7690992···9.48776702\n",
 167 ······"··9.29241852··9.20035746··9.20104358··9.25867327]\n"
168 ·····]168 ·····]
169 ····}169 ····}
170 ···],170 ···],
171 ···"source":·[171 ···"source":·[
172 ····"x1n·=·np.linspace(20.5,25,·10)\n",172 ····"x1n·=·np.linspace(20.5,25,·10)\n",
173 ····"Xnew·=·np.column_stack((x1n,·np.sin(x1n),·(x1n-5)**2))\n",173 ····"Xnew·=·np.column_stack((x1n,·np.sin(x1n),·(x1n-5)**2))\n",
174 ····"Xnew·=·sm.add_constant(Xnew)\n",174 ····"Xnew·=·sm.add_constant(Xnew)\n",
Offset 188, 15 lines modifiedOffset 188, 15 lines modified
188 ···"execution_count":·6,188 ···"execution_count":·6,
189 ···"metadata":·{189 ···"metadata":·{
190 ····"collapsed":·false190 ····"collapsed":·false
191 ···},191 ···},
192 ···"outputs":·[192 ···"outputs":·[
193 ····{193 ····{
194 ·····"data":·{194 ·····"data":·{
195 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzt3Xt8zfUfwPHXZzebucxlLpu73G8bc0vJnfBjSFG5RCFJVIrKrYQiKpFbIVEqjFQuuVSuNff7JdfNbY0xbOzy+f3x3djm7H62c3s/Hw+P2dn3fL/v7w7v8znvz01prRFCCGH7nCwdgBBCCPOQhC6EEHZCEroQQtgJSehCCGEnJKELIYSdkIQuhBB2QhK6EELYCUnoQghhJyShCyGEnXDJzYsVLVpUlytXLjcvKYQQNm/37t3/aa290zsuVxN6uXLlCA[·...·truncated·by·diffoscope;·len:·18245,·SHA:·89561ae574ad3e9fcc56eb610bee135c70f67ca1147afb07dade102be52dab57·...·]AAAAASUVORK5CYII=\n",195 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzt3XlYlFX7wPHvYREQRVzQFHLNzBUXXFLLXSss0bJyzcole82y9A3b1PdXSe6Zlnua5ZIbbuWSS5llhuJuprnjhiiKys75/fGAAQICM8MwM/fnuriEmWe5H0buOXOec+6jtNYIIYSwfU7WDkAIIYR5SEIXQgg7IQldCCHshCR0IYSwE5LQhRDCTkhCF0IIOyEJXQgh7IQkdCGEsBOS0IUQwk64FOTJypQpoytXrlyQpxRCCJu3Z8+eq1prn/ttV6AJvX[·...·truncated·by·diffoscope;·len:·18585,·SHA:·67ab3f85a3933182511730c4d9a91f28f01223b27af9191607ddc7725c9d5482·...·]AAAAASUVORK5CYII=\n",
196 ······"text/plain":·[196 ······"text/plain":·[
197 ·······"<Figure·size·432x288·with·1·Axes>"197 ·······"<Figure·size·432x288·with·1·Axes>"
198 ······]198 ······]
199 ·····},199 ·····},
200 ·····"metadata":·{200 ·····"metadata":·{
201 ······"needs_background":·"light"201 ······"needs_background":·"light"
202 ·····},202 ·····},
Offset 255, 18 lines modifiedOffset 255, 18 lines modified
255 ···"metadata":·{255 ···"metadata":·{
256 ····"collapsed":·false256 ····"collapsed":·false
257 ···},257 ···},
258 ···"outputs":·[258 ···"outputs":·[
259 ····{259 ····{
260 ·····"data":·{260 ·····"data":·{
261 ······"text/plain":·[261 ······"text/plain":·[
262 ·······"Intercept···········4.965403\n",262 ·······"Intercept···········4.854862\n",
263 ·······"x1··················0.508458\n",263 ·······"x1··················0.512636\n",
264 ·······"np.sin(x1)··········0.566568\n",264 ·······"np.sin(x1)··········0.465392\n",
265 ·······"I((x1·-·5)·**·2)···-0.020640\n",265 ·······"I((x1·-·5)·**·2)···-0.020876\n",
266 ·······"dtype:·float64"266 ·······"dtype:·float64"
267 ······]267 ······]
268 ·····},268 ·····},
269 ·····"execution_count":·8,269 ·····"execution_count":·8,
270 ·····"metadata":·{},270 ·····"metadata":·{},
271 ·····"output_type":·"execute_result"271 ·····"output_type":·"execute_result"
272 ····}272 ····}
Offset 288, 24 lines modifiedOffset 288, 24 lines modified
288 ···"metadata":·{288 ···"metadata":·{
289 ····"collapsed":·false289 ····"collapsed":·false
290 ···},290 ···},
291 ···"outputs":·[291 ···"outputs":·[
292 ····{292 ····{
293 ·····"data":·{293 ·····"data":·{
Max diff block lines reached; 698/45685 bytes (1.53%) of diff not shown.
1.7 KB
./usr/share/doc/python-statsmodels/examples/executed/quantile_regression.ipynb.gz
1.54 KB
quantile_regression.ipynb
    
Offset 144, 16 lines modifiedOffset 144, 16 lines modified
144 ·····"output_type":·"stream",144 ·····"output_type":·"stream",
145 ·····"text":·[145 ·····"text":·[
146 ······"·························QuantReg·Regression·Results··························\n",146 ······"·························QuantReg·Regression·Results··························\n",
147 ······"==============================================================================\n",147 ······"==============================================================================\n",
148 ······"Dep.·Variable:················foodexp···Pseudo·R-squared:···············0.6206\n",148 ······"Dep.·Variable:················foodexp···Pseudo·R-squared:···············0.6206\n",
149 ······"Model:·······················QuantReg···Bandwidth:·······················64.51\n",149 ······"Model:·······················QuantReg···Bandwidth:·······················64.51\n",
150 ······"Method:·················Least·Squares···Sparsity:························209.3\n",150 ······"Method:·················Least·Squares···Sparsity:························209.3\n",
151 ······"Date:················Tue,·14·Dec·2021···No.·Observations:··················235\n",151 ······"Date:················Wed,·18·Jan·2023···No.·Observations:··················235\n",
152 ······"Time:························19:41:08···Df·Residuals:······················233\n",152 ······"Time:························05:06:32···Df·Residuals:······················233\n",
153 ······"········································Df·Model:····························1\n",153 ······"········································Df·Model:····························1\n",
154 ······"==============================================================================\n",154 ······"==============================================================================\n",
155 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",155 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
156 ······"------------------------------------------------------------------------------\n",156 ······"------------------------------------------------------------------------------\n",
157 ······"Intercept·····81.4823·····14.634······5.568······0.000······52.649·····110.315\n",157 ······"Intercept·····81.4823·····14.634······5.568······0.000······52.649·····110.315\n",
158 ······"income·········0.5602······0.013·····42.516······0.000·······0.534·······0.586\n",158 ······"income·········0.5602······0.013·····42.516······0.000·······0.534·······0.586\n",
159 ······"==============================================================================\n",159 ······"==============================================================================\n",
1.62 KB
./usr/share/doc/python-statsmodels/examples/executed/recursive_ls.ipynb.gz
1.47 KB
recursive_ls.ipynb
    
Offset 109, 16 lines modifiedOffset 109, 16 lines modified
109 ·····"name":·"stdout",109 ·····"name":·"stdout",
110 ·····"output_type":·"stream",110 ·····"output_type":·"stream",
111 ·····"text":·[111 ·····"text":·[
112 ······"···························Statespace·Model·Results···························\n",112 ······"···························Statespace·Model·Results···························\n",
113 ······"==============================================================================\n",113 ······"==============================================================================\n",
114 ······"Dep.·Variable:·······WORLDCONSUMPTION···No.·Observations:···················25\n",114 ······"Dep.·Variable:·······WORLDCONSUMPTION···No.·Observations:···················25\n",
115 ······"Model:····················RecursiveLS···Log·Likelihood················-153.737\n",115 ······"Model:····················RecursiveLS···Log·Likelihood················-153.737\n",
116 ······"Date:················Tue,·14·Dec·2021···AIC····························317.474\n",116 ······"Date:················Wed,·18·Jan·2023···AIC····························317.474\n",
117 ······"Time:························19:41:08···BIC····························323.568\n",117 ······"Time:························05:06:33···BIC····························323.568\n",
118 ······"Sample:····················01-01-1951···HQIC···························319.164\n",118 ······"Sample:····················01-01-1951···HQIC···························319.164\n",
119 ······"·························-·01-01-1975·········································\n",119 ······"·························-·01-01-1975·········································\n",
120 ······"Covariance·Type:············nonrobust·········································\n",120 ······"Covariance·Type:············nonrobust·········································\n",
121 ······"==================================================================================\n",121 ······"==================================================================================\n",
122 ······"·····················coef····std·err··········z······P>|z|······[0.025······0.975]\n",122 ······"·····················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
123 ······"----------------------------------------------------------------------------------\n",123 ······"----------------------------------------------------------------------------------\n",
124 ······"const··········-6513.9900···2367.718·····-2.751······0.006···-1.12e+04···-1873.347\n",124 ······"const··········-6513.9900···2367.718·····-2.751······0.006···-1.12e+04···-1873.347\n",
3.24 KB
./usr/share/doc/python-statsmodels/examples/executed/regression_diagnostics.ipynb.gz
3.07 KB
regression_diagnostics.ipynb
    
Offset 27, 32 lines modifiedOffset 27, 24 lines modified
27 ···"cell_type":·"code",27 ···"cell_type":·"code",
28 ···"execution_count":·1,28 ···"execution_count":·1,
29 ···"metadata":·{29 ···"metadata":·{
30 ····"collapsed":·false30 ····"collapsed":·false
31 ···},31 ···},
32 ···"outputs":·[32 ···"outputs":·[
33 ····{33 ····{
34 ·····"name":·"stderr", 
35 ·····"output_type":·"stream", 
36 ·····"text":·[ 
37 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/compat/pandas.py:56:·FutureWarning:·The·pandas.core.datetools·module·is·deprecated·and·will·be·removed·in·a·future·version.·Please·use·the·pandas.tseries·module·instead.\n", 
38 ······"··from·pandas.core·import·datetools\n" 
39 ·····] 
40 ····}, 
41 ····{ 
42 ·····"name":·"stdout",34 ·····"name":·"stdout",
43 ·····"output_type":·"stream",35 ·····"output_type":·"stream",
44 ·····"text":·[36 ·····"text":·[
45 ······"····························OLS·Regression·Results····························\n",37 ······"····························OLS·Regression·Results····························\n",
46 ······"==============================================================================\n",38 ······"==============================================================================\n",
47 ······"Dep.·Variable:················Lottery···R-squared:·······················0.348\n",39 ······"Dep.·Variable:················Lottery···R-squared:·······················0.348\n",
48 ······"Model:····························OLS···Adj.·R-squared:··················0.333\n",40 ······"Model:····························OLS···Adj.·R-squared:··················0.333\n",
49 ······"Method:·················Least·Squares···F-statistic:·····················22.20\n",41 ······"Method:·················Least·Squares···F-statistic:·····················22.20\n",
50 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········1.90e-08\n",42 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········1.90e-08\n",
51 ······"Time:························19:41:01···Log-Likelihood:················-379.82\n",43 ······"Time:························05:06:26···Log-Likelihood:················-379.82\n",
52 ······"No.·Observations:··················86···AIC:·····························765.6\n",44 ······"No.·Observations:··················86···AIC:·····························765.6\n",
53 ······"Df·Residuals:······················83···BIC:·····························773.0\n",45 ······"Df·Residuals:······················83···BIC:·····························773.0\n",
54 ······"Df·Model:···························2·········································\n",46 ······"Df·Model:···························2·········································\n",
55 ······"Covariance·Type:············nonrobust·········································\n",47 ······"Covariance·Type:············nonrobust·········································\n",
56 ······"===================================================================================\n",48 ······"===================================================================================\n",
57 ······"······················coef····std·err··········t······P>|t|······[0.025······0.975]\n",49 ······"······················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
58 ······"-----------------------------------------------------------------------------------\n",50 ······"-----------------------------------------------------------------------------------\n",
Offset 65, 14 lines modifiedOffset 57, 22 lines modified
65 ······"Skew:··························-0.487···Prob(JB):························0.183\n",57 ······"Skew:··························-0.487···Prob(JB):························0.183\n",
66 ······"Kurtosis:·······················3.003···Cond.·No.·························702.\n",58 ······"Kurtosis:·······················3.003···Cond.·No.·························702.\n",
67 ······"==============================================================================\n",59 ······"==============================================================================\n",
68 ······"\n",60 ······"\n",
69 ······"Warnings:\n",61 ······"Warnings:\n",
70 ······"[1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.\n"62 ······"[1]·Standard·Errors·assume·that·the·covariance·matrix·of·the·errors·is·correctly·specified.\n"
71 ·····]63 ·····]
 64 ····},
 65 ····{
 66 ·····"name":·"stderr",
 67 ·····"output_type":·"stream",
 68 ·····"text":·[
 69 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/compat/pandas.py:56:·FutureWarning:·The·pandas.core.datetools·module·is·deprecated·and·will·be·removed·in·a·future·version.·Please·use·the·pandas.tseries·module·instead.\n",
 70 ······"··from·pandas.core·import·datetools\n"
 71 ·····]
72 ····}72 ····}
73 ···],73 ···],
74 ···"source":·[74 ···"source":·[
75 ····"%matplotlib·inline\n",75 ····"%matplotlib·inline\n",
76 ····"\n",76 ····"\n",
77 ····"from·__future__·import·print_function\n",77 ····"from·__future__·import·print_function\n",
78 ····"from·statsmodels.compat·import·lzip\n",78 ····"from·statsmodels.compat·import·lzip\n",
6.28 KB
./usr/share/doc/python-statsmodels/examples/executed/regression_plots.ipynb.gz
6.13 KB
regression_plots.ipynb
    
Offset 182, 16 lines modifiedOffset 182, 16 lines modified
182 ·····"output_type":·"stream",182 ·····"output_type":·"stream",
183 ·····"text":·[183 ·····"text":·[
184 ······"····························OLS·Regression·Results····························\n",184 ······"····························OLS·Regression·Results····························\n",
185 ······"==============================================================================\n",185 ······"==============================================================================\n",
186 ······"Dep.·Variable:···············prestige···R-squared:·······················0.828\n",186 ······"Dep.·Variable:···············prestige···R-squared:·······················0.828\n",
187 ······"Model:····························OLS···Adj.·R-squared:··················0.820\n",187 ······"Model:····························OLS···Adj.·R-squared:··················0.820\n",
188 ······"Method:·················Least·Squares···F-statistic:·····················101.2\n",188 ······"Method:·················Least·Squares···F-statistic:·····················101.2\n",
189 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.65e-17\n",189 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.65e-17\n",
190 ······"Time:························19:41:08···Log-Likelihood:················-178.98\n",190 ······"Time:························05:06:33···Log-Likelihood:················-178.98\n",
191 ······"No.·Observations:··················45···AIC:·····························364.0\n",191 ······"No.·Observations:··················45···AIC:·····························364.0\n",
192 ······"Df·Residuals:······················42···BIC:·····························369.4\n",192 ······"Df·Residuals:······················42···BIC:·····························369.4\n",
193 ······"Df·Model:···························2·········································\n",193 ······"Df·Model:···························2·········································\n",
194 ······"Covariance·Type:············nonrobust·········································\n",194 ······"Covariance·Type:············nonrobust·········································\n",
195 ······"==============================================================================\n",195 ······"==============================================================================\n",
196 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",196 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
197 ······"------------------------------------------------------------------------------\n",197 ······"------------------------------------------------------------------------------\n",
Offset 372, 16 lines modifiedOffset 372, 16 lines modified
372 ·····"output_type":·"stream",372 ·····"output_type":·"stream",
373 ·····"text":·[373 ·····"text":·[
374 ······"····························OLS·Regression·Results····························\n",374 ······"····························OLS·Regression·Results····························\n",
375 ······"==============================================================================\n",375 ······"==============================================================================\n",
376 ······"Dep.·Variable:···············prestige···R-squared:·······················0.876\n",376 ······"Dep.·Variable:···············prestige···R-squared:·······················0.876\n",
377 ······"Model:····························OLS···Adj.·R-squared:··················0.870\n",377 ······"Model:····························OLS···Adj.·R-squared:··················0.870\n",
378 ······"Method:·················Least·Squares···F-statistic:·····················138.1\n",378 ······"Method:·················Least·Squares···F-statistic:·····················138.1\n",
379 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········2.02e-18\n",379 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········2.02e-18\n",
380 ······"Time:························19:41:12···Log-Likelihood:················-160.59\n",380 ······"Time:························05:06:39···Log-Likelihood:················-160.59\n",
381 ······"No.·Observations:··················42···AIC:·····························327.2\n",381 ······"No.·Observations:··················42···AIC:·····························327.2\n",
382 ······"Df·Residuals:······················39···BIC:·····························332.4\n",382 ······"Df·Residuals:······················39···BIC:·····························332.4\n",
383 ······"Df·Model:···························2·········································\n",383 ······"Df·Model:···························2·········································\n",
384 ······"Covariance·Type:············nonrobust·········································\n",384 ······"Covariance·Type:············nonrobust·········································\n",
385 ······"==============================================================================\n",385 ······"==============================================================================\n",
386 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",386 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
387 ······"------------------------------------------------------------------------------\n",387 ······"------------------------------------------------------------------------------\n",
Offset 665, 16 lines modifiedOffset 665, 16 lines modified
665 ·····"output_type":·"stream",665 ·····"output_type":·"stream",
666 ·····"text":·[666 ·····"text":·[
667 ······"····························OLS·Regression·Results····························\n",667 ······"····························OLS·Regression·Results····························\n",
668 ······"==============================================================================\n",668 ······"==============================================================================\n",
669 ······"Dep.·Variable:·················murder···R-squared:·······················0.813\n",669 ······"Dep.·Variable:·················murder···R-squared:·······················0.813\n",
670 ······"Model:····························OLS···Adj.·R-squared:··················0.797\n",670 ······"Model:····························OLS···Adj.·R-squared:··················0.797\n",
671 ······"Method:·················Least·Squares···F-statistic:·····················50.08\n",671 ······"Method:·················Least·Squares···F-statistic:·····················50.08\n",
672 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········3.42e-16\n",672 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········3.42e-16\n",
673 ······"Time:························19:41:18···Log-Likelihood:················-95.050\n",673 ······"Time:························05:06:51···Log-Likelihood:················-95.050\n",
674 ······"No.·Observations:··················51···AIC:·····························200.1\n",674 ······"No.·Observations:··················51···AIC:·····························200.1\n",
675 ······"Df·Residuals:······················46···BIC:·····························209.8\n",675 ······"Df·Residuals:······················46···BIC:·····························209.8\n",
676 ······"Df·Model:···························4·········································\n",676 ······"Df·Model:···························4·········································\n",
677 ······"Covariance·Type:············nonrobust·········································\n",677 ······"Covariance·Type:············nonrobust·········································\n",
678 ······"==============================================================================\n",678 ······"==============================================================================\n",
679 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",679 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
680 ······"------------------------------------------------------------------------------\n",680 ······"------------------------------------------------------------------------------\n",
Offset 870, 16 lines modifiedOffset 870, 16 lines modified
870 ······"==============================================================================\n",870 ······"==============================================================================\n",
871 ······"Dep.·Variable:·················murder···No.·Observations:···················51\n",871 ······"Dep.·Variable:·················murder···No.·Observations:···················51\n",
872 ······"Model:····························RLM···Df·Residuals:·······················46\n",872 ······"Model:····························RLM···Df·Residuals:·······················46\n",
873 ······"Method:··························IRLS···Df·Model:····························4\n",873 ······"Method:··························IRLS···Df·Model:····························4\n",
874 ······"Norm:···················TukeyBiweight·········································\n",874 ······"Norm:···················TukeyBiweight·········································\n",
875 ······"Scale·Est.:·······················mad·········································\n",875 ······"Scale·Est.:·······················mad·········································\n",
876 ······"Cov·Type:··························H1·········································\n",876 ······"Cov·Type:··························H1·········································\n",
877 ······"Date:················Tue,·14·Dec·2021·········································\n",877 ······"Date:················Wed,·18·Jan·2023·········································\n",
878 ······"Time:························19:41:23·········································\n",878 ······"Time:························05:06:58·········································\n",
879 ······"No.·Iterations:····················50·········································\n",879 ······"No.·Iterations:····················50·········································\n",
880 ······"==============================================================================\n",880 ······"==============================================================================\n",
881 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",881 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
882 ······"------------------------------------------------------------------------------\n",882 ······"------------------------------------------------------------------------------\n",
883 ······"Intercept·····-4.2986······9.494·····-0.453······0.651·····-22.907······14.310\n",883 ······"Intercept·····-4.2986······9.494·····-0.453······0.651·····-22.907······14.310\n",
884 ······"urban··········0.0029······0.012······0.241······0.809······-0.021·······0.027\n",884 ······"urban··········0.0029······0.012······0.241······0.809······-0.021·······0.027\n",
885 ······"poverty········0.2753······0.110······2.499······0.012·······0.059·······0.491\n",885 ······"poverty········0.2753······0.110······2.499······0.012·······0.059·······0.491\n",
177 KB
./usr/share/doc/python-statsmodels/examples/executed/robust_models_0.ipynb.gz
197 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·1001791 gzip·compressed·data,·max·compression,·from·Unix,·original·size·99393
177 KB
robust_models_0.ipynb
    
Offset 87, 16 lines modifiedOffset 87, 16 lines modified
87 ······"==============================================================================\n",87 ······"==============================================================================\n",
88 ······"Dep.·Variable:······················y···No.·Observations:···················21\n",88 ······"Dep.·Variable:······················y···No.·Observations:···················21\n",
89 ······"Model:····························RLM···Df·Residuals:·······················17\n",89 ······"Model:····························RLM···Df·Residuals:·······················17\n",
90 ······"Method:··························IRLS···Df·Model:····························3\n",90 ······"Method:··························IRLS···Df·Model:····························3\n",
91 ······"Norm:··························HuberT·········································\n",91 ······"Norm:··························HuberT·········································\n",
92 ······"Scale·Est.:·······················mad·········································\n",92 ······"Scale·Est.:·······················mad·········································\n",
93 ······"Cov·Type:··························H1·········································\n",93 ······"Cov·Type:··························H1·········································\n",
94 ······"Date:················Tue,·14·Dec·2021·········································\n",94 ······"Date:················Wed,·18·Jan·2023·········································\n",
95 ······"Time:························19:41:07·········································\n",95 ······"Time:························05:06:33·········································\n",
96 ······"No.·Iterations:····················19·········································\n",96 ······"No.·Iterations:····················19·········································\n",
97 ······"==============================================================================\n",97 ······"==============================================================================\n",
98 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",98 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
99 ······"------------------------------------------------------------------------------\n",99 ······"------------------------------------------------------------------------------\n",
100 ······"var_0········-41.0265······9.792·····-4.190······0.000·····-60.218·····-21.835\n",100 ······"var_0········-41.0265······9.792·····-4.190······0.000·····-60.218·····-21.835\n",
101 ······"var_1··········0.8294······0.111······7.472······0.000·······0.612·······1.047\n",101 ······"var_1··········0.8294······0.111······7.472······0.000·······0.612·······1.047\n",
102 ······"var_2··········0.9261······0.303······3.057······0.002·······0.332·······1.520\n",102 ······"var_2··········0.9261······0.303······3.057······0.002·······0.332·······1.520\n",
Offset 220, 25 lines modifiedOffset 220, 25 lines modified
220 ····"collapsed":·false220 ····"collapsed":·false
221 ···},221 ···},
222 ···"outputs":·[222 ···"outputs":·[
223 ····{223 ····{
224 ·····"name":·"stdout",224 ·····"name":·"stdout",
225 ·····"output_type":·"stream",225 ·····"output_type":·"stream",
226 ·····"text":·[226 ·····"text":·[
227 ······"[·5.06376654··0.51391876·-0.01189843]\n", 
228 ······"[0.45966688·0.07096636·0.00627943]\n", 
229 ······"[·4.76630587··5.02265139··5.27503243··5.52344897··5.76790102··6.00838858\n", 
230 ······"··6.24491165··6.47747023··6.70606432··6.93069391··7.15135902··7.36805964\n", 
231 ······"··7.58079577··7.78956741··7.99437455··8.19521721··8.39209538··8.58500905\n", 
232 ······"··8.77395824··8.95894293··9.13996314··9.31701885··9.49011008··9.65923681\n", 
233 ······"··9.82439905··9.98559681·10.14283007·10.29609884·10.44540312·10.59074291\n", 
234 ······"·10.73211821·10.86952902·11.00297535·11.13245718·11.25797451·11.37952736\n", 
235 ······"·11.49711572·11.61073959·11.72039897·11.82609386·11.92782426·12.02559016\n", 
236 ······"·12.11939158·12.20922851·12.29510094·12.37700889·12.45495234·12.52893131\n", 
237 ······"·12.59894578·12.66499577]\n"227 ······"[·5.1293763···0.50857108·-0.01145318]\n",
 228 ······"[0.46222016·0.07136056·0.00631431]\n",
 229 ······"[·4.84304685··5.09546648··5.34406997··5.58885733··5.82982855··6.06698363\n",
 230 ······"··6.30032258··6.52984539··6.75555207··6.97744261··7.19551701··7.40977528\n",
 231 ······"··7.62021741··7.82684341··8.02965327··8.228647····8.42382459··8.61518604\n",
 232 ······"··8.80273136··8.98646054··9.16637358··9.34247049··9.51475127··9.68321591\n",
 233 ······"··9.84786441·10.00869678·10.16571301·10.3189131··10.46829706·10.61386488\n",
 234 ······"·10.75561657·10.89355212·11.02767153·11.15797481·11.28446196·11.40713296\n",
 235 ······"·11.52598784·11.64102657·11.75224917·11.85965564·11.96324596·12.06302016\n",
 236 ······"·12.15897821·12.25112013·12.33944592·12.42395557·12.50464908·12.58152646\n",
 237 ······"·12.6545877··12.7238328·]\n"
238 ·····]238 ·····]
239 ····}239 ····}
240 ···],240 ···],
241 ···"source":·[241 ···"source":·[
242 ····"res·=·sm.OLS(y2,·X).fit()\n",242 ····"res·=·sm.OLS(y2,·X).fit()\n",
243 ····"print(res.params)\n",243 ····"print(res.params)\n",
244 ····"print(res.bse)\n",244 ····"print(res.bse)\n",
Offset 259, 16 lines modifiedOffset 259, 16 lines modified
259 ····"collapsed":·false259 ····"collapsed":·false
260 ···},260 ···},
261 ···"outputs":·[261 ···"outputs":·[
262 ····{262 ····{
263 ·····"name":·"stdout",263 ·····"name":·"stdout",
264 ·····"output_type":·"stream",264 ·····"output_type":·"stream",
265 ·····"text":·[265 ·····"text":·[
266 ······"[·4.99952188e+00··4.97529988e-01·-1.20871527e-03]\n", 
267 ······"[0.14648735·0.02261567·0.00200114]\n"266 ······"[·5.07156853e+00··4.90522075e-01·-4.87361369e-04]\n",
 267 ······"[0.13738365·0.02121018·0.00187677]\n"
268 ·····]268 ·····]
269 ····}269 ····}
270 ···],270 ···],
271 ···"source":·[271 ···"source":·[
272 ····"resrlm·=·sm.RLM(y2,·X).fit()\n",272 ····"resrlm·=·sm.RLM(y2,·X).fit()\n",
273 ····"print(resrlm.params)\n",273 ····"print(resrlm.params)\n",
274 ····"print(resrlm.bse)"274 ····"print(resrlm.bse)"
Offset 287, 24 lines modifiedOffset 287, 24 lines modified
287 ···"metadata":·{287 ···"metadata":·{
288 ····"collapsed":·false288 ····"collapsed":·false
289 ···},289 ···},
290 ···"outputs":·[290 ···"outputs":·[
291 ····{291 ····{
292 ·····"data":·{292 ·····"data":·{
293 ······"text/plain":·[293 ······"text/plain":·[
294 ·······"<matplotlib.legend.Legend·at·0x7fcc959a2cf8>"294 ·······"<matplotlib.legend.Legend·at·0x7f471ff15128>"
295 ······]295 ······]
296 ·····},296 ·····},
297 ·····"execution_count":·9,297 ·····"execution_count":·9,
298 ·····"metadata":·{},298 ·····"metadata":·{},
299 ·····"output_type":·"execute_result"299 ·····"output_type":·"execute_result"
300 ····},300 ····},
301 ····{301 ····{
302 ·····"data":·{302 ·····"data":·{
303 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAsMAAAHVCAYAAAAU6/ZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3XdclfX7x/HXDcpwIIpbUXDhwpG4F24rc+Uuy+qbVpYzNX99+7ZLc6Cm5cpMS61MSc0yZ2kiinviSmW4UEGRzbl/f1wBkqigwGFcz8fjPJD73OeczzGM9/nc1+f6GKZpopRSSimlVH5kY+0BKKWUUkopZS0ahpVSSimlVL6lYVgppZRSSuVbGoaVUkoppVS+pWFYKaWUUkrlWxqGlVJKKaVUvqVhWCmllFJK5VsahpVSSimlVL6lYVgppZRSSuVbBbLz[·...·truncated·by·diffoscope;·len:·50148,·SHA:·30ae35c941632134aaf7664df689ffa5a10228253f97d7f22fdc12c7269b8b7c·...·]\n",303 ······"image/png":·"iVBORw0KGgoAAAANSUhEUgAAAsMAAAHVCAYAAAAU6/ZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xdc1fX3wPHXBwTBiSI5cKCm5EDFjaPInRM1c2RpWZYtB1pa/dp909ym5siRZo7UUNM090QNxa2kFg5ciCKi7Pv5/XECciPrMs7z8bgP8HM/9973x8W55573OYZpmiillFJKKZUb2Vh7AUoppZRSSlmLBsNKKaWUUirX0mBYKaWUUkrlWhoMK6WUUkqpXEuDYaWUUkoplWtpMKyUUkoppXItDYaVUkoppVSupcGwUkoppZTKtTQYVkoppZRSuVaezHyx[·...·truncated·by·diffoscope;·len:·50168,·SHA:·fe3f88a58697882963ab993dcb7e54dd10abb244b1a6c57fcc7dbc7b98e8f495·...·]\n",
304 ······"text/plain":·[304 ······"text/plain":·[
305 ·······"<Figure·size·864x576·with·1·Axes>"305 ·······"<Figure·size·864x576·with·1·Axes>"
306 ······]306 ······]
307 ·····},307 ·····},
308 ·····"metadata":·{308 ·····"metadata":·{
309 ······"needs_background":·"light"309 ······"needs_background":·"light"
310 ·····},310 ·····},
Offset 340, 16 lines modifiedOffset 340, 16 lines modified
340 ····"collapsed":·false340 ····"collapsed":·false
341 ···},341 ···},
342 ···"outputs":·[342 ···"outputs":·[
343 ····{343 ····{
344 ·····"name":·"stdout",344 ·····"name":·"stdout",
345 ·····"output_type":·"stream",345 ·····"output_type":·"stream",
346 ·····"text":·[346 ·····"text":·[
347 ······"[5.54334598·0.39493449]\n",347 ······"[5.59100949·0.3940393·]\n",
348 ······"[0.39392892·0.03394251]\n"348 ······"[0.39493952·0.03402959]\n"
349 ·····]349 ·····]
350 ····}350 ····}
351 ···],351 ···],
352 ···"source":·[352 ···"source":·[
353 ····"X2·=·X[:,[0,1]]·\n",353 ····"X2·=·X[:,[0,1]]·\n",
354 ····"res2·=·sm.OLS(y2,·X2).fit()\n",354 ····"res2·=·sm.OLS(y2,·X2).fit()\n",
355 ····"print(res2.params)\n",355 ····"print(res2.params)\n",
Offset 370, 16 lines modifiedOffset 370, 16 lines modified
370 ····"collapsed":·false370 ····"collapsed":·false
371 ···},371 ···},
372 ···"outputs":·[372 ···"outputs":·[
373 ····{373 ····{
374 ·····"name":·"stdout",374 ·····"name":·"stdout",
375 ·····"output_type":·"stream",375 ·····"output_type":·"stream",
376 ·····"text":·[376 ·····"text":·[
377 ······"[5.0387067··0.48724687]\n",377 ······"[5.0880266··0.48613595]\n",
378 ······"[0.12284694·0.01058499]\n"378 ······"[0.1125539·0.0096981]\n"
379 ·····]379 ·····]
380 ····}380 ····}
381 ···],381 ···],
382 ···"source":·[382 ···"source":·[
383 ····"resrlm2·=·sm.RLM(y2,·X2).fit()\n",383 ····"resrlm2·=·sm.RLM(y2,·X2).fit()\n",
Max diff block lines reached; 74329/181026 bytes (41.06%) of diff not shown.
3.31 KB
./usr/share/doc/python-statsmodels/examples/executed/robust_models_1.ipynb.gz
3.16 KB
robust_models_1.ipynb
    
Offset 1142, 16 lines modifiedOffset 1142, 16 lines modified
1142 ·····"output_type":·"stream",1142 ·····"output_type":·"stream",
1143 ·····"text":·[1143 ·····"text":·[
1144 ······"····························OLS·Regression·Results····························\n",1144 ······"····························OLS·Regression·Results····························\n",
1145 ······"==============================================================================\n",1145 ······"==============================================================================\n",
1146 ······"Dep.·Variable:···············prestige···R-squared:·······················0.828\n",1146 ······"Dep.·Variable:···············prestige···R-squared:·······················0.828\n",
1147 ······"Model:····························OLS···Adj.·R-squared:··················0.820\n",1147 ······"Model:····························OLS···Adj.·R-squared:··················0.820\n",
1148 ······"Method:·················Least·Squares···F-statistic:·····················101.2\n",1148 ······"Method:·················Least·Squares···F-statistic:·····················101.2\n",
1149 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.65e-17\n",1149 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.65e-17\n",
1150 ······"Time:························19:41:08···Log-Likelihood:················-178.98\n",1150 ······"Time:························05:06:33···Log-Likelihood:················-178.98\n",
1151 ······"No.·Observations:··················45···AIC:·····························364.0\n",1151 ······"No.·Observations:··················45···AIC:·····························364.0\n",
1152 ······"Df·Residuals:······················42···BIC:·····························369.4\n",1152 ······"Df·Residuals:······················42···BIC:·····························369.4\n",
1153 ······"Df·Model:···························2·········································\n",1153 ······"Df·Model:···························2·········································\n",
1154 ······"Covariance·Type:············nonrobust·········································\n",1154 ······"Covariance·Type:············nonrobust·········································\n",
1155 ······"==============================================================================\n",1155 ······"==============================================================================\n",
1156 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",1156 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
1157 ······"------------------------------------------------------------------------------\n",1157 ······"------------------------------------------------------------------------------\n",
Offset 1466, 16 lines modifiedOffset 1466, 16 lines modified
1466 ······"==============================================================================\n",1466 ······"==============================================================================\n",
1467 ······"Dep.·Variable:···············prestige···No.·Observations:···················45\n",1467 ······"Dep.·Variable:···············prestige···No.·Observations:···················45\n",
1468 ······"Model:····························RLM···Df·Residuals:·······················42\n",1468 ······"Model:····························RLM···Df·Residuals:·······················42\n",
1469 ······"Method:··························IRLS···Df·Model:····························2\n",1469 ······"Method:··························IRLS···Df·Model:····························2\n",
1470 ······"Norm:··························HuberT·········································\n",1470 ······"Norm:··························HuberT·········································\n",
1471 ······"Scale·Est.:·······················mad·········································\n",1471 ······"Scale·Est.:·······················mad·········································\n",
1472 ······"Cov·Type:··························H1·········································\n",1472 ······"Cov·Type:··························H1·········································\n",
1473 ······"Date:················Tue,·14·Dec·2021·········································\n",1473 ······"Date:················Wed,·18·Jan·2023·········································\n",
1474 ······"Time:························19:41:09·········································\n",1474 ······"Time:························05:06:33·········································\n",
1475 ······"No.·Iterations:····················18·········································\n",1475 ······"No.·Iterations:····················18·········································\n",
1476 ······"==============================================================================\n",1476 ······"==============================================================================\n",
1477 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",1477 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
1478 ······"------------------------------------------------------------------------------\n",1478 ······"------------------------------------------------------------------------------\n",
1479 ······"Intercept·····-7.1107······3.879·····-1.833······0.067·····-14.713·······0.492\n",1479 ······"Intercept·····-7.1107······3.879·····-1.833······0.067·····-14.713·······0.492\n",
1480 ······"income·········0.7015······0.109······6.456······0.000·······0.489·······0.914\n",1480 ······"income·········0.7015······0.109······6.456······0.000·······0.489·······0.914\n",
1481 ······"education······0.4854······0.089······5.441······0.000·······0.311·······0.660\n",1481 ······"education······0.4854······0.089······5.441······0.000·······0.311·······0.660\n",
19.3 KB
./usr/share/doc/python-statsmodels/examples/executed/statespace_local_linear_trend.ipynb.gz
19.1 KB
statespace_local_linear_trend.ipynb
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ···"execution_count":·3,155 ···"execution_count":·3,
156 ···"metadata":·{156 ···"metadata":·{
157 ····"collapsed":·false157 ····"collapsed":·false
158 ···},158 ···},
159 ···"outputs":·[159 ···"outputs":·[
160 ····{160 ····{
161 ·····"ename":·"ProxyError",161 ·····"ename":·"ProxyError",
162 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",162 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
163 ·····"output_type":·"error",163 ·····"output_type":·"error",
164 ·····"traceback":·[164 ·····"traceback":·[
165 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",165 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
166 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",166 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
167 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",167 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
168 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",168 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
169 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",169 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 175, 30 lines modifiedOffset 175, 30 lines modified
175 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",175 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
176 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",176 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
177 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",177 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
178 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",178 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
179 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",179 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
180 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",180 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
181 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",181 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
182 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",182 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
183 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",183 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
184 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",184 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
185 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",185 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
186 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",186 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
187 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",187 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
188 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",188 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
189 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",189 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
190 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",190 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
191 ······"\u001b[0;32m<ipython-input-3-adacc4910a58>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;31m#·Download·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·6\u001b[0;31m·\u001b[0mck\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······7\u001b[0m·\u001b[0mzipped\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mZipFile\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mck\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······8\u001b[0m·df·=·pd.read_table(\n",191 ······"\u001b[0;32m<ipython-input-3-adacc4910a58>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;31m#·Download·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·6\u001b[0;31m·\u001b[0mck\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······7\u001b[0m·\u001b[0mzipped\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mZipFile\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mck\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······8\u001b[0m·df·=·pd.read_table(\n",
192 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",192 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
193 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",193 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
194 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",194 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
195 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",195 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
196 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",196 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
197 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7fa1d7552160>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"197 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f0e2f540cc0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
198 ·····]198 ·····]
199 ····}199 ····}
200 ···],200 ···],
201 ···"source":·[201 ···"source":·[
202 ····"import·requests\n",202 ····"import·requests\n",
203 ····"from·io·import·BytesIO\n",203 ····"from·io·import·BytesIO\n",
204 ····"from·zipfile·import·ZipFile\n",204 ····"from·zipfile·import·ZipFile\n",
19.2 KB
./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_internet.ipynb.gz
19.0 KB
statespace_sarimax_internet.ipynb
    
Offset 54, 15 lines modifiedOffset 54, 15 lines modified
54 ···"execution_count":·3,54 ···"execution_count":·3,
55 ···"metadata":·{55 ···"metadata":·{
56 ····"collapsed":·false56 ····"collapsed":·false
57 ···},57 ···},
58 ···"outputs":·[58 ···"outputs":·[
59 ····{59 ····{
60 ·····"ename":·"ProxyError",60 ·····"ename":·"ProxyError",
61 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",61 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
62 ·····"output_type":·"error",62 ·····"output_type":·"error",
63 ·····"traceback":·[63 ·····"traceback":·[
64 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",64 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
65 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",65 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
66 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",66 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
67 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",67 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
68 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",68 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 74, 30 lines modifiedOffset 74, 30 lines modified
74 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",74 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
75 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",75 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
76 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",76 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
77 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",77 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
78 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",78 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
79 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",79 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
80 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",80 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
81 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",81 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
82 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",82 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
83 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",83 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
84 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",84 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
85 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",85 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
86 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",86 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
87 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",87 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
88 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",88 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
89 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",89 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
90 ······"\u001b[0;32m<ipython-input-3-074aec8a1161>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;31m#·Download·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·6\u001b[0;31m·\u001b[0mdk\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.ssfpack.com/files/DK-data.zip'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······7\u001b[0m·\u001b[0mf\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······8\u001b[0m·\u001b[0mzipped\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mZipFile\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",90 ······"\u001b[0;32m<ipython-input-3-074aec8a1161>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;31m#·Download·the·dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·6\u001b[0;31m·\u001b[0mdk\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.ssfpack.com/files/DK-data.zip'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······7\u001b[0m·\u001b[0mf\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······8\u001b[0m·\u001b[0mzipped\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mZipFile\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
91 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",91 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
92 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",92 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
93 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",93 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
94 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",94 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
95 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",95 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
96 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f38dcc31e80>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"96 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.ssfpack.com/files/DK-data.zip·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f3be40829e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
97 ·····]97 ·····]
98 ····}98 ····}
99 ···],99 ···],
100 ···"source":·[100 ···"source":·[
101 ····"import·requests\n",101 ····"import·requests\n",
102 ····"from·io·import·BytesIO\n",102 ····"from·io·import·BytesIO\n",
103 ····"from·zipfile·import·ZipFile\n",103 ····"from·zipfile·import·ZipFile\n",
58.7 KB
./usr/share/doc/python-statsmodels/examples/executed/statespace_sarimax_stata.ipynb.gz
58.5 KB
statespace_sarimax_stata.ipynb
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 ···"execution_count":·3,108 ···"execution_count":·3,
109 ···"metadata":·{109 ···"metadata":·{
110 ····"collapsed":·false110 ····"collapsed":·false
111 ···},111 ···},
112 ···"outputs":·[112 ···"outputs":·[
113 ····{113 ····{
114 ·····"ename":·"ProxyError",114 ·····"ename":·"ProxyError",
115 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",115 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
116 ·····"output_type":·"error",116 ·····"output_type":·"error",
117 ·····"traceback":·[117 ·····"traceback":·[
118 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",118 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
119 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",119 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
120 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",120 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
121 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",121 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
122 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",122 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 128, 30 lines modifiedOffset 128, 30 lines modified
128 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",128 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
129 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",129 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
130 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",130 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
131 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",131 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
132 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",132 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
133 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",133 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
134 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",134 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
135 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",135 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
136 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",136 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
137 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",137 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
138 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",138 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
139 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",139 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
140 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",140 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
141 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",141 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
142 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",142 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
143 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",143 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
144 ······"\u001b[0;32m<ipython-input-3-d7a18dd7d756>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mwpi1\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/wpi1.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mwpi1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mt\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",144 ······"\u001b[0;32m<ipython-input-3-d7a18dd7d756>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mwpi1\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/wpi1.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mwpi1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mt\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
145 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",145 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
146 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",146 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
147 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",147 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
148 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",148 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
149 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",149 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
150 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae212bfd0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"150 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/wpi1.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156bc11be0>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
151 ·····]151 ·····]
152 ····}152 ····}
153 ···],153 ···],
154 ···"source":·[154 ···"source":·[
155 ····"#·Dataset\n",155 ····"#·Dataset\n",
156 ····"wpi1·=·requests.get('http://www.stata-press.com/data/r12/wpi1.dta').content\n",156 ····"wpi1·=·requests.get('http://www.stata-press.com/data/r12/wpi1.dta').content\n",
157 ····"data·=·pd.read_stata(BytesIO(wpi1))\n",157 ····"data·=·pd.read_stata(BytesIO(wpi1))\n",
Offset 462, 15 lines modifiedOffset 462, 15 lines modified
462 ···"execution_count":·8,462 ···"execution_count":·8,
463 ···"metadata":·{463 ···"metadata":·{
464 ····"collapsed":·false464 ····"collapsed":·false
465 ···},465 ···},
466 ···"outputs":·[466 ···"outputs":·[
467 ····{467 ····{
468 ·····"ename":·"ProxyError",468 ·····"ename":·"ProxyError",
469 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",469 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156b934b00>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
470 ·····"output_type":·"error",470 ·····"output_type":·"error",
471 ·····"traceback":·[471 ·····"traceback":·[
472 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",472 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
473 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",473 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
474 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",474 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
475 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",475 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
476 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",476 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 482, 30 lines modifiedOffset 482, 30 lines modified
482 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",482 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
483 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",483 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
484 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",484 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
485 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",485 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
486 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",486 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
487 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",487 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
488 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",488 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
489 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",489 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f156b934b00>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
490 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",490 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
491 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",491 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
492 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",492 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
493 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",493 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
494 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",494 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
495 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",495 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156b934b00>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
496 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",496 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
497 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",497 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
498 ······"\u001b[0;32m<ipython-input-8-ed689d52402c>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mair2\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/air2.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mair2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mstart\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdatetime\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtime\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mperiods\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'lnair'\u001b[0m\u001b[0;34m]\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlog\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'air'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",498 ······"\u001b[0;32m<ipython-input-8-ed689d52402c>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mair2\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/air2.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mair2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdate_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mstart\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdatetime\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtime\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mperiods\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mfreq\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'MS'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'lnair'\u001b[0m\u001b[0;34m]\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlog\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'air'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
499 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",499 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mget\u001b[0;34m(url,·params,·**kwargs)\u001b[0m\n\u001b[1;32m·····73\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····74\u001b[0m·····\u001b[0mkwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'allow_redirects'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·75\u001b[0;31m·····\u001b[0;32mreturn\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'get'\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparams\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····76\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····77\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
500 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",500 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/api.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(method,·url,·**kwargs)\u001b[0m\n\u001b[1;32m·····58\u001b[0m·····\u001b[0;31m#·cases,·and·look·like·a·memory·leak·in·others.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····59\u001b[0m·····\u001b[0;32mwith\u001b[0m·\u001b[0msessions\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mSession\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m·\u001b[0;32mas\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·60\u001b[0;31m·········\u001b[0;32mreturn\u001b[0m·\u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····61\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m·····62\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
501 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",501 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·params,·data,·headers,·cookies,·files,·auth,·timeout,·allow_redirects,·proxies,·hooks,·stream,·verify,·cert,·json)\u001b[0m\n\u001b[1;32m····531\u001b[0m·········}\n\u001b[1;32m····532\u001b[0m·········\u001b[0msend_kwargs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msettings\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·533\u001b[0;31m·········\u001b[0mresp\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprep\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0msend_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····534\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····535\u001b[0m·········\u001b[0;32mreturn\u001b[0m·\u001b[0mresp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
502 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",502 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/sessions.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·**kwargs)\u001b[0m\n\u001b[1;32m····644\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····645\u001b[0m·········\u001b[0;31m#·Send·the·request\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·646\u001b[0;31m·········\u001b[0mr\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0madapter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····647\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····648\u001b[0m·········\u001b[0;31m#·Total·elapsed·time·of·the·request·(approximately)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
503 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",503 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····508\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····509\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_ProxyError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·510\u001b[0;31m·················\u001b[0;32mraise\u001b[0m·\u001b[0mProxyError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····511\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m····512\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreason\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0m_SSLError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
504 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e07278>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"504 ······"\u001b[0;31mProxyError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/air2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156b934b00>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))"
505 ·····]505 ·····]
506 ····}506 ····}
507 ···],507 ···],
508 ···"source":·[508 ···"source":·[
509 ····"#·Dataset\n",509 ····"#·Dataset\n",
510 ····"air2·=·requests.get('http://www.stata-press.com/data/r12/air2.dta').content\n",510 ····"air2·=·requests.get('http://www.stata-press.com/data/r12/air2.dta').content\n",
511 ····"data·=·pd.read_stata(BytesIO(air2))\n",511 ····"data·=·pd.read_stata(BytesIO(air2))\n",
Offset 565, 15 lines modifiedOffset 565, 15 lines modified
565 ···"execution_count":·9,565 ···"execution_count":·9,
566 ···"metadata":·{566 ···"metadata":·{
567 ····"collapsed":·false567 ····"collapsed":·false
568 ···},568 ···},
569 ···"outputs":·[569 ···"outputs":·[
570 ····{570 ····{
571 ·····"ename":·"ProxyError",571 ·····"ename":·"ProxyError",
572 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e126d8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",572 ·····"evalue":·"HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156b8e62e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
573 ·····"output_type":·"error",573 ·····"output_type":·"error",
574 ·····"traceback":·[574 ·····"traceback":·[
575 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",575 ······"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
576 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",576 ······"\u001b[0;31mConnectionRefusedError\u001b[0m····················Traceback·(most·recent·call·last)",
577 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",577 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····158\u001b[0m·············conn·=·connection.create_connection(\n\u001b[0;32m-->·159\u001b[0;31m·················(self._dns_host,·self.port),·self.timeout,·**extra_kw)\n\u001b[0m\u001b[1;32m····160\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
578 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",578 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····79\u001b[0m·····\u001b[0;32mif\u001b[0m·\u001b[0merr\u001b[0m·\u001b[0;32mis\u001b[0m·\u001b[0;32mnot\u001b[0m·\u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·80\u001b[0;31m·········\u001b[0;32mraise\u001b[0m·\u001b[0merr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····81\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
579 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",579 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/connection.py\u001b[0m·in·\u001b[0;36mcreate_connection\u001b[0;34m(address,·timeout,·source_address,·socket_options)\u001b[0m\n\u001b[1;32m·····69\u001b[0m·················\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbind\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msource_address\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--->·70\u001b[0;31m·············\u001b[0msock\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msa\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m·····71\u001b[0m·············\u001b[0;32mreturn\u001b[0m·\u001b[0msock\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
Offset 585, 30 lines modifiedOffset 585, 30 lines modified
585 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",585 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mrequest\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1259\u001b[0m·········\u001b[0;34m\"\"\"Send·a·complete·request·to·the·server.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1260\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mheaders\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1261\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
586 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",586 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_request\u001b[0;34m(self,·method,·url,·body,·headers,·encode_chunked)\u001b[0m\n\u001b[1;32m···1305\u001b[0m·············\u001b[0mbody\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0m_encode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0;34m'body'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1306\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendheaders\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbody\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1307\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
587 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",587 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36mendheaders\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1254\u001b[0m·············\u001b[0;32mraise\u001b[0m·\u001b[0mCannotSendHeader\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1255\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_output\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage_body\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0mencode_chunked\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mencode_chunked\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1256\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
588 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",588 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36m_send_output\u001b[0;34m(self,·message_body,·encode_chunked)\u001b[0m\n\u001b[1;32m···1029\u001b[0m·········\u001b[0;32mdel\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m->·1030\u001b[0;31m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmsg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m···1031\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
589 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",589 ······"\u001b[0;32m/usr/lib/python3.7/http/client.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·data)\u001b[0m\n\u001b[1;32m····969\u001b[0m·············\u001b[0;32mif\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_open\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·970\u001b[0;31m·················\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····971\u001b[0m·············\u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
590 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",590 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36mconnect\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····180\u001b[0m·····\u001b[0;32mdef\u001b[0m·\u001b[0mconnect\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·181\u001b[0;31m·········\u001b[0mconn\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_new_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····182\u001b[0m·········\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_conn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mconn\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
591 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",591 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connection.py\u001b[0m·in·\u001b[0;36m_new_conn\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m····167\u001b[0m·············raise·NewConnectionError(\n\u001b[0;32m-->·168\u001b[0;31m·················self,·\"Failed·to·establish·a·new·connection:·%s\"·%·e)\n\u001b[0m\u001b[1;32m····169\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
592 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e126d8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",592 ······"\u001b[0;31mNewConnectionError\u001b[0m:·<urllib3.connection.HTTPConnection·object·at·0x7f156b8e62e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused",
593 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",593 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
594 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",594 ······"\u001b[0;31mMaxRetryError\u001b[0m·····························Traceback·(most·recent·call·last)",
595 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",595 ······"\u001b[0;32m/usr/lib/python3/dist-packages/requests/adapters.py\u001b[0m·in·\u001b[0;36msend\u001b[0;34m(self,·request,·stream,·timeout,·verify,·cert,·proxies)\u001b[0m\n\u001b[1;32m····448\u001b[0m·····················\u001b[0mretries\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmax_retries\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·449\u001b[0;31m·····················\u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····450\u001b[0m·················)\n",
596 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",596 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/connectionpool.py\u001b[0m·in·\u001b[0;36murlopen\u001b[0;34m(self,·method,·url,·body,·headers,·retries,·redirect,·assert_same_host,·timeout,·pool_timeout,·release_conn,·chunked,·body_pos,·**response_kw)\u001b[0m\n\u001b[1;32m····637\u001b[0m·············retries·=·retries.increment(method,·url,·error=e,·_pool=self,\n\u001b[0;32m-->·638\u001b[0;31m·········································_stacktrace=sys.exc_info()[2])\n\u001b[0m\u001b[1;32m····639\u001b[0m·············\u001b[0mretries\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
597 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",597 ······"\u001b[0;32m/usr/lib/python3/dist-packages/urllib3/util/retry.py\u001b[0m·in·\u001b[0;36mincrement\u001b[0;34m(self,·method,·url,·response,·error,·_pool,·_stacktrace)\u001b[0m\n\u001b[1;32m····397\u001b[0m·········\u001b[0;32mif\u001b[0m·\u001b[0mnew_retry\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_exhausted\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-->·398\u001b[0;31m·············\u001b[0;32mraise\u001b[0m·\u001b[0mMaxRetryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_pool\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0murl\u001b[0m\u001b[0;34m,\u001b[0m·\u001b[0merror\u001b[0m·\u001b[0;32mor\u001b[0m·\u001b[0mResponseError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m····399\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
598 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f5ae1e126d8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",598 ······"\u001b[0;31mMaxRetryError\u001b[0m:·HTTPConnectionPool(host='127.0.0.1',·port=9):·Max·retries·exceeded·with·url:·http://www.stata-press.com/data/r12/friedman2.dta·(Caused·by·ProxyError('Cannot·connect·to·proxy.',·NewConnectionError('<urllib3.connection.HTTPConnection·object·at·0x7f156b8e62e8>:·Failed·to·establish·a·new·connection:·[Errno·111]·Connection·refused')))",
599 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",599 ······"\nDuring·handling·of·the·above·exception,·another·exception·occurred:\n",
600 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",600 ······"\u001b[0;31mProxyError\u001b[0m································Traceback·(most·recent·call·last)",
601 ······"\u001b[0;32m<ipython-input-9-1caba5d05731>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mfriedman2\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/friedman2.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfriedman2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtime\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",601 ······"\u001b[0;32m<ipython-input-9-1caba5d05731>\u001b[0m·in·\u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m······1\u001b[0m·\u001b[0;31m#·Dataset\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---->·2\u001b[0;31m·\u001b[0mfriedman2\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://www.stata-press.com/data/r12/friedman2.dta'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcontent\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m······3\u001b[0m·\u001b[0mdata\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_stata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mBytesIO\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfriedman2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······4\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m·\u001b[0;34m=\u001b[0m·\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtime\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m······5\u001b[0m·\u001b[0;34m\u001b[0m\u001b[0m\n",
Max diff block lines reached; 5506/59871 bytes (9.20%) of diff not shown.
6.69 KB
./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_0.ipynb.gz
198 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·compressed·data,·max·compression,·from·Unix,·original·size·4170841 gzip·compressed·data,·max·compression,·from·Unix,·original·size·417345
6.36 KB
tsa_arma_0.ipynb
    
Offset 207, 15 lines modifiedOffset 207, 21 lines modified
207 ·····"output_type":·"stream",207 ·····"output_type":·"stream",
208 ·····"text":·[208 ·····"text":·[
209 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1341:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",209 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1341:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",
210 ······"··out_full[ind]·+=·zi\n",210 ······"··out_full[ind]·+=·zi\n",
211 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1344:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",211 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1344:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",
212 ······"··out·=·out_full[ind]\n",212 ······"··out·=·out_full[ind]\n",
213 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1350:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",213 ······"/usr/lib/python3/dist-packages/scipy/signal/signaltools.py:1350:·FutureWarning:·Using·a·non-tuple·sequence·for·multidimensional·indexing·is·deprecated;·use·`arr[tuple(seq)]`·instead·of·`arr[seq]`.·In·the·future·this·will·be·interpreted·as·an·array·index,·`arr[np.array(seq)]`,·which·will·result·either·in·an·error·or·a·different·result.\n",
214 ······"··zf·=·out_full[ind]\n",214 ······"··zf·=·out_full[ind]\n"
 215 ·····]
 216 ····},
 217 ····{
 218 ·····"name":·"stderr",
 219 ·····"output_type":·"stream",
 220 ·····"text":·[
215 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",221 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",
216 ······"··if·issubdtype(paramsdtype,·float):\n"222 ······"··if·issubdtype(paramsdtype,·float):\n"
217 ·····]223 ·····]
218 ····},224 ····},
219 ····{225 ····{
220 ·····"name":·"stderr",226 ·····"name":·"stderr",
221 ·····"output_type":·"stream",227 ·····"output_type":·"stream",
Offset 878, 14 lines modifiedOffset 884, 24 lines modified
878 ···"cell_type":·"code",884 ···"cell_type":·"code",
879 ···"execution_count":·33,885 ···"execution_count":·33,
880 ···"metadata":·{886 ···"metadata":·{
881 ····"collapsed":·false887 ····"collapsed":·false
882 ···},888 ···},
883 ···"outputs":·[889 ···"outputs":·[
884 ····{890 ····{
 891 ·····"name":·"stderr",
 892 ·····"output_type":·"stream",
 893 ·····"text":·[
 894 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",
 895 ······"··if·issubdtype(paramsdtype,·float):\n",
 896 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.\n",
 897 ······"··elif·issubdtype(paramsdtype,·complex):\n"
 898 ·····]
 899 ····},
 900 ····{
885 ·····"name":·"stdout",901 ·····"name":·"stdout",
886 ·····"output_type":·"stream",902 ·····"output_type":·"stream",
887 ·····"text":·[903 ·····"text":·[
888 ······"············AC···········Q······Prob(>Q)\n",904 ······"············AC···········Q······Prob(>Q)\n",
889 ······"lag·····································\n",905 ······"lag·····································\n",
890 ······"1.0···0.254921···32.687678··1.082211e-08\n",906 ······"1.0···0.254921···32.687678··1.082211e-08\n",
891 ······"2.0··-0.172416···47.670747··4.450704e-11\n",907 ······"2.0··-0.172416···47.670747··4.450704e-11\n",
Offset 929, 18 lines modifiedOffset 945, 14 lines modified
929 ······"40.0·-0.083767··256.707742··1.996170e-33\n"945 ······"40.0·-0.083767··256.707742··1.996170e-33\n"
930 ·····]946 ·····]
931 ····},947 ····},
932 ····{948 ····{
933 ·····"name":·"stderr",949 ·····"name":·"stderr",
934 ·····"output_type":·"stream",950 ·····"output_type":·"stream",
935 ·····"text":·[951 ·····"text":·[
936 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n", 
937 ······"··if·issubdtype(paramsdtype,·float):\n", 
938 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.\n", 
939 ······"··elif·issubdtype(paramsdtype,·complex):\n", 
940 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",952 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",
941 ······"··if·issubdtype(paramsdtype,·float):\n"953 ······"··if·issubdtype(paramsdtype,·float):\n"
942 ·····]954 ·····]
943 ····}955 ····}
944 ···],956 ···],
945 ···"source":·[957 ···"source":·[
946 ····"arma11·=·sm.tsa.ARMA(arma_rvs,·(1,1)).fit()\n",958 ····"arma11·=·sm.tsa.ARMA(arma_rvs,·(1,1)).fit()\n",
Offset 963, 14 lines modifiedOffset 975, 22 lines modified
963 ·····"output_type":·"stream",975 ·····"output_type":·"stream",
964 ·····"text":·[976 ·····"text":·[
965 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",977 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:646:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",
966 ······"··if·issubdtype(paramsdtype,·float):\n"978 ······"··if·issubdtype(paramsdtype,·float):\n"
967 ·····]979 ·····]
968 ····},980 ····},
969 ····{981 ····{
 982 ·····"name":·"stderr",
 983 ·····"output_type":·"stream",
 984 ·····"text":·[
 985 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.\n",
 986 ······"··elif·issubdtype(paramsdtype,·complex):\n"
 987 ·····]
 988 ····},
 989 ····{
970 ·····"name":·"stdout",990 ·····"name":·"stdout",
971 ·····"output_type":·"stream",991 ·····"output_type":·"stream",
972 ·····"text":·[992 ·····"text":·[
973 ······"············AC··········Q··Prob(>Q)\n",993 ······"············AC··········Q··Prob(>Q)\n",
974 ······"lag································\n",994 ······"lag································\n",
975 ······"1.0··-0.007889···0.031303··0.859567\n",995 ······"1.0··-0.007889···0.031303··0.859567\n",
976 ······"2.0···0.004132···0.039907··0.980244\n",996 ······"2.0···0.004132···0.039907··0.980244\n",
Offset 1014, 16 lines modifiedOffset 1034, 14 lines modified
1014 ······"40.0·-0.014466··28.657573··0.909268\n"1034 ······"40.0·-0.014466··28.657573··0.909268\n"
1015 ·····]1035 ·····]
1016 ····},1036 ····},
1017 ····{1037 ····{
1018 ·····"name":·"stderr",1038 ·····"name":·"stderr",
1019 ·····"output_type":·"stream",1039 ·····"output_type":·"stream",
1020 ·····"text":·[1040 ·····"text":·[
1021 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:650:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`complex`·to·`np.complexfloating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.complex128·==·np.dtype(complex).type`.\n", 
1022 ······"··elif·issubdtype(paramsdtype,·complex):\n", 
1023 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",1041 ······"/build/statsmodels-0.8.0/.pybuild/cpython3_3.7_statsmodels/build/statsmodels/tsa/kalmanf/kalmanfilter.py:577:·FutureWarning:·Conversion·of·the·second·argument·of·issubdtype·from·`float`·to·`np.floating`·is·deprecated.·In·future,·it·will·be·treated·as·`np.float64·==·np.dtype(float).type`.\n",
1024 ······"··if·issubdtype(paramsdtype,·float):\n"1042 ······"··if·issubdtype(paramsdtype,·float):\n"
1025 ·····]1043 ·····]
1026 ····}1044 ····}
1027 ···],1045 ···],
1028 ···"source":·[1046 ···"source":·[
1029 ····"arma41·=·sm.tsa.ARMA(arma_rvs,·(4,1)).fit()\n",1047 ····"arma41·=·sm.tsa.ARMA(arma_rvs,·(4,1)).fit()\n",
1.66 KB
./usr/share/doc/python-statsmodels/examples/executed/tsa_arma_1.ipynb.gz
1.52 KB
tsa_arma_1.ipynb
    
Offset 118, 16 lines modifiedOffset 118, 16 lines modified
118 ·····"output_type":·"stream",118 ·····"output_type":·"stream",
119 ·····"text":·[119 ·····"text":·[
120 ······"······························ARMA·Model·Results······························\n",120 ······"······························ARMA·Model·Results······························\n",
121 ······"==============================================================================\n",121 ······"==============================================================================\n",
122 ······"Dep.·Variable:······················y···No.·Observations:··················250\n",122 ······"Dep.·Variable:······················y···No.·Observations:··················250\n",
123 ······"Model:·····················ARMA(2,·2)···Log·Likelihood················-353.445\n",123 ······"Model:·····················ARMA(2,·2)···Log·Likelihood················-353.445\n",
124 ······"Method:·······················css-mle···S.D.·of·innovations··············0.990\n",124 ······"Method:·······················css-mle···S.D.·of·innovations··············0.990\n",
125 ······"Date:················Tue,·14·Dec·2021···AIC····························716.891\n",125 ······"Date:················Wed,·18·Jan·2023···AIC····························716.891\n",
126 ······"Time:························19:41:01···BIC····························734.498\n",126 ······"Time:························05:06:27···BIC····························734.498\n",
127 ······"Sample:····················01-31-1980···HQIC···························723.977\n",127 ······"Sample:····················01-31-1980···HQIC···························723.977\n",
128 ······"·························-·10-31-2000·········································\n",128 ······"·························-·10-31-2000·········································\n",
129 ······"==============================================================================\n",129 ······"==============================================================================\n",
130 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",130 ······"·················coef····std·err··········z······P>|z|······[0.025······0.975]\n",
131 ······"------------------------------------------------------------------------------\n",131 ······"------------------------------------------------------------------------------\n",
132 ······"ar.L1.y········0.7904······0.134······5.878······0.000·······0.527·······1.054\n",132 ······"ar.L1.y········0.7904······0.134······5.878······0.000·······0.527·······1.054\n",
133 ······"ar.L2.y·······-0.2314······0.113·····-2.044······0.042······-0.453······-0.009\n",133 ······"ar.L2.y·······-0.2314······0.113·····-2.044······0.042······-0.453······-0.009\n",
3.12 KB
./usr/share/doc/python-statsmodels/examples/executed/wls.ipynb.gz
2.99 KB
wls.ipynb
    
Offset 92, 16 lines modifiedOffset 92, 16 lines modified
92 ·····"output_type":·"stream",92 ·····"output_type":·"stream",
93 ·····"text":·[93 ·····"text":·[
94 ······"····························WLS·Regression·Results····························\n",94 ······"····························WLS·Regression·Results····························\n",
95 ······"==============================================================================\n",95 ······"==============================================================================\n",
96 ······"Dep.·Variable:······················y···R-squared:·······················0.910\n",96 ······"Dep.·Variable:······················y···R-squared:·······················0.910\n",
97 ······"Model:····························WLS···Adj.·R-squared:··················0.909\n",97 ······"Model:····························WLS···Adj.·R-squared:··················0.909\n",
98 ······"Method:·················Least·Squares···F-statistic:·····················487.9\n",98 ······"Method:·················Least·Squares···F-statistic:·····················487.9\n",
99 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········8.52e-27\n",99 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········8.52e-27\n",
100 ······"Time:························19:41:01···Log-Likelihood:················-57.048\n",100 ······"Time:························05:06:27···Log-Likelihood:················-57.048\n",
101 ······"No.·Observations:··················50···AIC:·····························118.1\n",101 ······"No.·Observations:··················50···AIC:·····························118.1\n",
102 ······"Df·Residuals:······················48···BIC:·····························121.9\n",102 ······"Df·Residuals:······················48···BIC:·····························121.9\n",
103 ······"Df·Model:···························1·········································\n",103 ······"Df·Model:···························1·········································\n",
104 ······"Covariance·Type:············nonrobust·········································\n",104 ······"Covariance·Type:············nonrobust·········································\n",
105 ······"==============================================================================\n",105 ······"==============================================================================\n",
106 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",106 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
107 ······"------------------------------------------------------------------------------\n",107 ······"------------------------------------------------------------------------------\n",
Offset 292, 16 lines modifiedOffset 292, 16 lines modified
292 ·····"output_type":·"stream",292 ·····"output_type":·"stream",
293 ·····"text":·[293 ·····"text":·[
294 ······"····························WLS·Regression·Results····························\n",294 ······"····························WLS·Regression·Results····························\n",
295 ······"==============================================================================\n",295 ······"==============================================================================\n",
296 ······"Dep.·Variable:······················y···R-squared:·······················0.914\n",296 ······"Dep.·Variable:······················y···R-squared:·······················0.914\n",
297 ······"Model:····························WLS···Adj.·R-squared:··················0.912\n",297 ······"Model:····························WLS···Adj.·R-squared:··················0.912\n",
298 ······"Method:·················Least·Squares···F-statistic:·····················507.1\n",298 ······"Method:·················Least·Squares···F-statistic:·····················507.1\n",
299 ······"Date:················Tue,·14·Dec·2021···Prob·(F-statistic):···········3.65e-27\n",299 ······"Date:················Wed,·18·Jan·2023···Prob·(F-statistic):···········3.65e-27\n",
300 ······"Time:························19:41:02···Log-Likelihood:················-55.777\n",300 ······"Time:························05:06:28···Log-Likelihood:················-55.777\n",
301 ······"No.·Observations:··················50···AIC:·····························115.6\n",301 ······"No.·Observations:··················50···AIC:·····························115.6\n",
302 ······"Df·Residuals:······················48···BIC:·····························119.4\n",302 ······"Df·Residuals:······················48···BIC:·····························119.4\n",
303 ······"Df·Model:···························1·········································\n",303 ······"Df·Model:···························1·········································\n",
304 ······"Covariance·Type:············nonrobust·········································\n",304 ······"Covariance·Type:············nonrobust·········································\n",
305 ······"==============================================================================\n",305 ······"==============================================================================\n",
306 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",306 ······"·················coef····std·err··········t······P>|t|······[0.025······0.975]\n",
307 ······"------------------------------------------------------------------------------\n",307 ······"------------------------------------------------------------------------------\n",