SPB Git

spb/wp35_uqo

Public
9.6 KB · 116 lines text
1/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals2  warnings.warn("Maximum Likelihood optimization failed to "3/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals4  warnings.warn("Maximum Likelihood optimization failed to "5/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals6  warnings.warn("Maximum Likelihood optimization failed to "7/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/discrete/discrete_model.py:2385: RuntimeWarning: overflow encountered in exp8  return 1/(1+np.exp(-X))9/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/discrete/discrete_model.py:2443: RuntimeWarning: divide by zero encountered in log10  return np.sum(np.log(self.cdf(q * linpred)))11/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals12  warnings.warn("Maximum Likelihood optimization failed to "13/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals14  warnings.warn("Maximum Likelihood optimization failed to "15/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals16  warnings.warn("Maximum Likelihood optimization failed to "17/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/base/model.py:607: ConvergenceWarning: Maximum Likelihood optimization failed to converge. Check mle_retvals18  warnings.warn("Maximum Likelihood optimization failed to "19=== PRIMARY (Y1 fractional logit, cluster region) ===20                                                             model             term   coef    se     p   n21                                          A1 primary: Y1 ~ P + FE         P_main_z  0.196 0.056 0.000 12722                                              A2: Y1 ~ P + X + FE         P_main_z  0.204 0.085 0.016  8723                 A3: Y1 ~ P + D + K + X + FE (P given components)         P_main_z  0.204 0.083 0.014  8724                                               B1 baseline D only          D_pc1_z  0.257 0.138 0.063  9425                                               B2 baseline K only         K_mean_z -0.034 0.195 0.861  9326                                       B3 baseline complexity PC1 complexity_pc1_z -0.010 0.240 0.966 10027                                          B4 baseline persistence prior_crisis_nga  0.345 0.242 0.155 10028                                            B5 D and K separately          D_pc1_z  0.341 0.164 0.038  8729                                            B5 D and K separately         K_mean_z -0.213 0.193 0.271  8730     Placebo: P built with production infrastructure instead of K        P_placebo  0.257 0.138 0.063  9431A1b: Y1b ~ P + region FE (logit, HC1; era FE dropped: separation)         P_main_z -0.178 0.203 0.381 12332                        A2b: Y1b ~ P + X + region FE (logit, HC1)         P_main_z  0.184 0.324 0.571  8633                                 A3b: Y1b ~ P (logit, HC1, no FE)         P_main_z -0.068 0.180 0.703 12334                    Exploratory: reform consequences ~ P + X + FE         P_main_z -0.015 0.181 0.935  863536=== ROBUSTNESS ===37                                           model     term  coef    se     p  n38                              R: K = IRT latent       _P 0.146 0.088 0.098 9439                     R: D = log population only       _P 0.265 0.105 0.011 7040                           R: K = PC1 of blocks       _P 0.206 0.084 0.014 8741                      R: quasi-polities dropped P_main_z 0.153 0.107 0.154 8342R: crises starting ≥25 years after polity start P_main_z 0.250 0.091 0.006 7643                       R: ≥12 of 14 items coded P_main_z 0.184 0.091 0.043 8444                                   R: no era FE P_main_z 0.252 0.105 0.017 8745                                R: no region FE P_main_z 0.232 0.084 0.005 8746                                       R: no FE P_main_z 0.240 0.097 0.013 8747                         R: SE clustered by NGA P_main_z 0.204 0.085 0.016 8748                      R: SE clustered by polity P_main_z 0.204 0.096 0.033 874950=== OOS wins of A2 over baselines ===51 model       baseline  folds  win_share  mean_diff scheme52 A2 P     B0 FE only     10      0.800      0.010   loro53 A2 P      B1 D only     10      0.300     -0.003   loro54 A2 P      B2 K only     10      0.700      0.010   loro55 A2 P  B3 complexity     10      0.800      0.011   loro56 A2 P B4 persistence     10      0.700      0.003   loro57 A2 P         B5 D+K     10      0.200     -0.003   loro58 A2 P     B0 FE only     48      0.792      0.004  kfold59 A2 P      B1 D only     48      0.750      0.002  kfold60 A2 P      B2 K only     48      0.812      0.005  kfold61 A2 P  B3 complexity     48      0.854      0.005  kfold62 A2 P B4 persistence     48      0.688      0.002  kfold63 A2 P         B5 D+K     48      0.750      0.002  kfold6465=== Y1b OOS summary ===66          model  oos_loglik   auc  brier67          A2 P      -1.350 0.633  0.25868    B0 FE only      -1.278 0.641  0.24969     B1 D only      -1.339 0.634  0.25770     B2 K only      -1.318 0.630  0.25971 B3 complexity      -1.322 0.629  0.26172B4 persistence      -1.341 0.624  0.26373        B5 D+K      -1.396 0.621  0.2687475=== H4 === {76 "folds": 48,77 "hinge_beats_linear_share": 0.10416666666666667,78 "spline_beats_linear_share": 0.08333333333333333,79 "mean_ll_linear": -0.6036253789830548,80 "mean_ll_hinge": -0.6091715368629916,81 "mean_ll_spline": -0.60583805621027,82 "median_knot": 0.08104350804004751,83 "insample_knot": 0.9186514745086101,84 "insample_hinge_coef": -0.3374682573990433,85 "insample_P_coef": 0.267043815403194186}8788=== H5 ===89                                       model  coef    se     p  n  held_out_n  within_block_coef  within_block_se90          H5 leave-region-out: Central_Asia 0.225 0.086 0.009 84          13                NaN              NaN91             H5 leave-region-out: East_Asia 0.229 0.107 0.033 64          30              0.189            0.18092                H5 leave-region-out: Europe 0.327 0.124 0.008 72          39              0.196            0.16193          H5 leave-region-out: North_Africa 0.230 0.082 0.005 78          12                NaN              NaN94         H5 leave-region-out: North_America 0.210 0.090 0.020 85          13                NaN              NaN95         H5 leave-region-out: South_America 0.261 0.089 0.003 84           6                NaN              NaN96            H5 leave-region-out: South_Asia 0.225 0.084 0.007 82           5                NaN              NaN97H5 leave-region-out: Southeast_Asia_Oceania 0.214 0.093 0.021 81          13                NaN              NaN98        H5 leave-region-out: Southwest_Asia 0.235 0.090 0.009 70          29              0.437            0.23499    H5 leave-region-out: Sub_Saharan_Africa 0.177 0.061 0.004 83           6                NaN              NaN100                   H5 leave-era-out: 1-1000 0.319 0.137 0.020 66          40              0.127            0.177101                H5 leave-era-out: 1000BCE-0 0.204 0.174 0.242 69          28              0.340            0.081102                H5 leave-era-out: 1001-1500 0.263 0.100 0.008 65          43              0.205            0.091103                H5 leave-era-out: 1501-1800 0.224 0.073 0.002 73          31              0.300            0.524104                H5 leave-era-out: post-1800 0.224 0.108 0.038 81          16              0.279            0.157105              H5 leave-era-out: pre-1000BCE 0.242 0.107 0.024 81           8                NaN              NaN106107=== Y2 Cox / Y3 ===108                                         model             term  coef    se     p   n  events    hr  schoenfeld_p_P109           Y2-1 Cox: P + strata(macro-region)              P_z 0.031 0.060 0.600 317     302 1.032             NaN110          Y2-2 Cox: P + X + midpoint + strata              P_z 0.000 0.068 0.995 208     201 1.000           0.983111      Y2-3 Cox: D + K + X + midpoint + strata          D_pc1_z 0.128 0.133 0.336 208     201 1.136             NaN112      Y2-3 Cox: D + K + X + midpoint + strata         K_mean_z 0.559 0.200 0.005 208     201 1.749             NaN113        Y2-4 Cox: complexity PC1 + X + strata complexity_pc1_z 0.399 0.291 0.171 208     201 1.490             NaN114Y3-1 logit: discontinuous succession ~ P + FE              P_z 0.018 0.393 0.964 145      24   NaN             NaN115                              Y3-2 logit: + X              P_z 0.239 0.325 0.461 117      18   NaN             NaN116
Files · 8f19ce36212f3d403648b32eec919c5eb93586c9
Menu

Theme