1/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/economie/social-compression-hypothesis/.venv/lib/python3.12/site-packages/statsmodels/discrete/conditional_models.py:80: UserWarning: Dropped 37 groups and 2823 observations for having no within-group variance2 warnings.warn(msg)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=== PRIMARY ===6 model term coef se p n events error7 C1 primary: Y456 ~ P + X + region FE + year FE P_modern_z 0.392 0.089 0.000 14637.0 2692.0 NaN8 C2: Y456 ~ P + FE only P_modern_z 0.723 0.080 0.000 15687.0 2981.0 NaN9 C3: Y456 ~ P + K + X + FE (reparametrization of B5: beta_P = beta_D) P_modern_z 0.225 0.094 0.017 14637.0 2692.0 NaN10 C3: Y456 ~ P + K + X + FE (reparametrization of B5: beta_P = beta_D) K_modern_z -0.535 0.150 0.000 14637.0 NaN NaN11 C3: Y456 ~ P + K + X + FE (reparametrization of B5: beta_P = beta_D) NaN NaN NaN NaN NaN NaN 'D_modern_z'12 B1 baseline population only D_modern_z 0.122 0.071 0.088 14754.0 2710.0 NaN13 B2 baseline capacity only K_modern_z -0.631 0.131 0.000 15675.0 2957.0 NaN14 B3 baseline development (gdppc) only log_gdppc -0.582 0.096 0.000 15862.0 2980.0 NaN15 B4 baseline persistence y456_b5 0.246 0.138 0.076 15806.0 2968.0 NaN16 B5 D and K separately D_modern_z 0.166 0.070 0.017 14637.0 2692.0 NaN17 B5 D and K separately K_modern_z -0.701 0.139 0.000 14637.0 NaN NaN18 B5 Wald test of beta_D + beta_K = 0 (restriction implied by P) D+K -0.535 0.150 0.000 14637.0 NaN NaN19 Placebo: P with polyarchy in place of K (polyarchy not separately controlled) P_placebo_z 0.202 0.058 0.000 14754.0 2710.0 NaN20 Placebo comparison: P_main with the same controls as the placebo P_modern_z 0.448 0.082 0.000 14676.0 2706.0 NaN21Negative control: past events (t-5..t-1) ~ P_t + gdppc + polyarchy + FE (no duration terms) P_modern_z 0.436 0.098 0.000 14608.0 2757.0 NaN22 Forward comparison for the negative control: future events ~ P_t + gdppc + polyarchy + FE P_modern_z 0.475 0.099 0.000 14637.0 2692.0 NaN23 C4: conditional logit, country FE + decade FE P_modern_z 1.329 0.099 0.000 14637.0 2692.0 NaN24 C5: linear probability, country + year FE P_modern_z_dm 0.109 0.032 0.001 14637.0 2692.0 NaN2526=== OOS wins ===27 model baseline folds win_share mean_diff scheme metric28 C1 P B0 FE+X 3 0.667 0.003 forward oos_loglik29 C1 P B0 FE+X 3 1.000 0.009 forward auc30 C1 P B1 D 3 0.667 0.002 forward oos_loglik31 C1 P B1 D 3 1.000 0.008 forward auc32 C1 P B2 K 3 0.333 0.022 forward oos_loglik33 C1 P B2 K 3 0.333 0.007 forward auc34 C1 P B4 persistence 3 0.667 0.005 forward oos_loglik35 C1 P B4 persistence 3 1.000 0.014 forward auc36 C1 P B5 D+K 3 0.333 0.022 forward oos_loglik37 C1 P B5 D+K 3 0.333 0.006 forward auc38 C1 P B0 FE+X 6 0.667 -0.003 loro oos_loglik39 C1 P B0 FE+X 6 0.833 0.007 loro auc40 C1 P B1 D 6 0.667 -0.001 loro oos_loglik41 C1 P B1 D 6 1.000 0.007 loro auc42 C1 P B2 K 6 0.167 -0.013 loro oos_loglik43 C1 P B2 K 6 0.500 0.001 loro auc44 C1 P B4 persistence 6 0.500 -0.005 loro oos_loglik45 C1 P B4 persistence 6 0.833 0.007 loro auc46 C1 P B5 D+K 6 0.167 -0.011 loro oos_loglik47 C1 P B5 D+K 6 0.500 -0.001 loro auc4849=== OOS summary ===50 scheme model oos_loglik auc brier calibration_slope51forward B0 FE+X -0.425 0.722 0.137 0.79052forward B1 D -0.424 0.724 0.137 0.78753forward B2 K -0.444 0.724 0.146 0.77254forward B4 persistence -0.427 0.718 0.138 0.78155forward B5 D+K -0.443 0.726 0.146 0.76656forward C1 P -0.422 0.732 0.136 0.79057 loro B0 FE+X -0.527 0.671 0.142 0.39658 loro B1 D -0.528 0.671 0.143 0.39659 loro B2 K -0.517 0.677 0.140 0.39560 loro B4 persistence -0.525 0.671 0.142 0.40461 loro B5 D+K -0.519 0.679 0.141 0.39362 loro C1 P -0.530 0.678 0.143 0.3926364=== H4 === {65 "folds": 15,66 "hinge_beats_linear_share": 0.7333333333333333,67 "spline_beats_linear_share": 0.8,68 "mean_ll_linear": -0.4113670936056255,69 "mean_ll_hinge": -0.41084128380745744,70 "mean_ll_spline": -0.40877957013035415,71 "median_knot": -0.0808585402068686172}7374=== H5 ===75 model coef se p n within_block_coef within_block_se within_block_n within_block_events76 H5 leave-region-out: 1.0 0.284 0.094 0.003 13252 1.034 0.436 1385 13177 H5 leave-region-out: 2.0 0.318 0.100 0.001 12017 0.517 0.001 2620 77378 H5 leave-region-out: 3.0 0.311 0.097 0.001 13175 0.441 0.354 1462 28179 H5 leave-region-out: 4.0 0.310 0.117 0.008 11363 0.407 0.163 3274 74780 H5 leave-region-out: 5.0 0.279 0.096 0.004 10717 0.804 0.314 3920 35081 H5 leave-region-out: 6.0 0.462 0.096 0.000 12661 0.246 0.201 1976 41082H5 leave-period-out: 1900-1945 0.407 0.101 0.000 12616 0.256 0.213 2021 55483H5 leave-period-out: 1946-1989 0.367 0.115 0.001 8927 0.436 0.124 5710 129584 H5 leave-period-out: 1990+ 0.409 0.108 0.000 9285 0.346 0.161 5352 62685 H5 leave-period-out: pre-1900 0.388 0.091 0.000 13083 0.621 0.287 1554 2178687=== ROBUSTNESS ===88 model term coef se p n events oster_beta_full oster_beta_short partial_r2_P robustness_value89 R: horizon h=1 P_modern_z 0.3214 0.0908 0.0004 14635 902.0 NaN NaN NaN NaN90 R: horizon h=3 P_modern_z 0.3802 0.0874 0.0000 14636 1911.0 NaN NaN NaN NaN91 R: horizon h=10 P_modern_z 0.4484 0.0995 0.0000 14639 4143.0 NaN NaN NaN NaN92 R: component y4_f5 P_modern_z 1.0157 0.1935 0.0000 10279 566.0 NaN NaN NaN NaN93 R: component y5_f5 P_modern_z 0.1926 0.1369 0.1594 10853 1460.0 NaN NaN NaN NaN94 R: component y6_f5 P_modern_z 0.2401 0.0937 0.0104 14636 2068.0 NaN NaN NaN NaN95 R: K = PC1 P_modern_pc1_z 0.3915 0.0896 0.0000 14637 2692.0 NaN NaN NaN NaN96 R: standardized within year P_modern_within_year_z 0.4037 0.0909 0.0000 14637 2692.0 NaN NaN NaN NaN97 R: D = (log pop + log area)/2 P_modern_area_z 0.3459 0.0980 0.0004 11735 2359.0 NaN NaN NaN NaN98 R: years ≥ 1900 P_modern_z 0.3885 0.0913 0.0000 13083 2475.0 NaN NaN NaN NaN99 R: polyarchy not controlled P_modern_z 0.4477 0.0820 0.0000 14676 2706.0 NaN NaN NaN NaN100 R: + persistence control P_modern_z 0.3885 0.0885 0.0000 14598 2682.0 NaN NaN NaN NaN101Sensitivity (LPM): Oster bias-adjusted β at Rmax=1.3·R² (δ=1); Cinelli–Hazlett RV P_modern_z -0.0303 NaN NaN 14637 NaN 0.0367 0.0819 0.0051 0.0689102