
==============================================================================
R0. Sanity: reproduce the NB2 benchmark AICcs (n = 35, 1991-2025)
==============================================================================
  single_mean  k=2 logLik= -143.199 AICc=  290.77 alpha=0.8997
  two_means    k=3 logLik= -130.793 AICc=  268.36 alpha=0.4094
  trend        k=3 logLik= -113.634 AICc=  234.04 alpha=0.0945
  trend_shift  k=4 logLik= -111.279 AICc=  231.89 alpha=0.0616
  segmented    k=5 logLik= -111.140 AICc=  234.35 alpha=0.0595
  stock_shift  k=4 logLik= -112.965 AICc=  235.26 alpha=0.0768

==============================================================================
R1. Is the 2020 shift size robust to the counterfactual pre-2020 trend?
==============================================================================
  trend + 2020 shift, 1991-2025 (recommended)                n=35 RR=1.570 (1.050-2.315) AICc=231.89
  trend + 2020 shift, 1995-2025                              n=31 RR=1.582 (1.034-2.378) AICc=214.60
  trend + 2020 shift, 2000-2025                              n=26 RR=1.650 (1.045-2.553) AICc=190.58
  trend + 2020 shift, 2004-2025                              n=22 RR=2.061 (1.388-3.059) AICc=156.88
  trend + 2020 shift, 2008-2025                              n=18 RR=2.244 (1.452-3.486) AICc=133.11
  quadratic trend + 2020 shift, 1991-2025                    n=35 RR=2.045 (1.161-3.575) AICc=232.99
  piecewise trend (knot 2004, post hoc) + 2020 shift         n=35 RR=1.767 (1.102-2.787) AICc=233.78
  steps at 2004 (estimated) and 2020, no trend               n=35 RR=3.277 (2.447-4.425) AICc=230.40
  stock log A(t-1) + 2020 shift                              n=35 RR=1.688 (1.119-2.543) AICc=235.26

==============================================================================
R2. Serial dependence: does the 2020 shift survive HAC SEs and an AR term?
==============================================================================
  Newey-West maxlags=1: shift RR 1.570 (95% 1.134-2.174), p=0.0065; trend %/yr CI 6.14 to 9.71
  Newey-West maxlags=2: shift RR 1.570 (95% 1.163-2.120), p=0.0032; trend %/yr CI 6.28 to 9.56
  Newey-West maxlags=3: shift RR 1.570 (95% 1.203-2.049), p=0.0009; trend %/yr CI 6.44 to 9.40
  model-based (alpha fixed) shift p = 0.0168
  1992-2025 trend           AICc=230.39 logLik=-111.793 coefs=[3.7559, 0.0898] alpha=0.0936
  1992-2025 trend_shift     AICc=227.35 logLik=-108.984 coefs=[3.4787, 0.0727, 0.4889] alpha=0.0581
  1992-2025 AR              AICc=251.00 logLik=-122.100 coefs=[0.8445, 0.7422] alpha=0.2156
  1992-2025 AR_shift        AICc=246.81 logLik=-118.715 coefs=[1.2426, 0.5385, 0.7157] alpha=0.1595
  1992-2025 AR_trend        AICc=231.76 logLik=-111.192 coefs=[3.1975, 0.1514, 0.0759] alpha=0.0843
  1992-2025 AR_trend_shift  AICc=229.78 logLik=-108.818 coefs=[3.2238, 0.0742, 0.0669, 0.4559] alpha=0.0562
  LR shift | AR + trend = 4.749, chi2 p = 0.0293
  LR shift | AR only    = 6.769, chi2 p = 0.0093
  AR+trend+shift: shift RR 1.578; long-run multiplier exp(b_shift/(1-b_ar)) = 1.636
  trend+shift post-2020 fitted vs observed: 2020: 52.4 vs 49 (r=-0.23); 2021: 56.6 vs 49 (r=-0.47); 2022: 61.0 vs 75 (r=+0.82); 2023: 65.9 vs 93 (r=+1.49); 2024: 71.1 vs 63 (r=-0.41); 2025: 76.7 vs 52 (r=-1.18)

==============================================================================
R3. Selection: Akaike weights depend on the candidate set
==============================================================================
  8-model set: trend_shift 0.550; trend 0.188; segmented 0.161; stock_shift 0.102; two_means 0.000
  8 + 3 supplementary (no post hoc K): trend_shift 0.374; trend+plateau 0.152; trend+bounded K free 0.149; trend 0.128; segmented 0.109
  all 12 incl. post hoc K=727: trend+bounded K=727 (post hoc) 0.373; trend_shift 0.235; trend+plateau 0.095; trend+bounded K free 0.094; trend 0.080
  summed weight, models with a 2020 departure from trend (11-model set): 0.872; trend only: 0.128
  Null (no shift) simulation, B=499: AICc picks trend 0.790, trend_shift 0.146, segmented 0.064
  when a shift model is picked under the null, |log RR| median = 0.374 (RR as far from 1 as 1.45x)

==============================================================================
R4. Within the AUTHORS' four-model set, which model does each family prefer?
==============================================================================
  Gaussian single_mean  RMSE= 21.74 authors' AICc= 219.93 full AICc= 319.25
  Gaussian two_means    RMSE= 10.44 authors' AICc= 170.98 full AICc= 270.31
  Gaussian unbounded    RMSE= 12.46 authors' AICc= 185.92 full AICc= 285.24
  Gaussian bounded      RMSE= 10.20 authors' AICc= 174.64 full AICc= 273.96
  (bounded LS: a=13.59, g=0.402, w2020=0.75, K=719)
  Poisson  single_mean  AICc= 807.40
  Poisson  two_means    AICc= 371.73
  Poisson  unbounded    AICc= 396.65
  Poisson  bounded      AICc= 400.72 (K=2500, w=1.0)
  NB2 (from 02_nb_model_comparison.csv): single_mean 290.77, two_means 268.36, unbounded 271.56, bounded 275.68

==============================================================================
R5. Saturation: is the finite K (trend + bounded) fragile, and is it specific to saturation?
==============================================================================
  full data: K = 687.0, logLik -109.364; K=inf logLik -112.887; LR = 7.05
  drop 2021: K =     635.1  LR(K finite vs inf) = 9.65
  drop 2022: K =     699.4  LR(K finite vs inf) = 5.39
  drop 2023: K =     716.5  LR(K finite vs inf) = 7.13
  drop 2024: K =     689.3  LR(K finite vs inf) = 5.36
  drop 2025: K =     741.4  LR(K finite vs inf) = 2.40
  data to 2024: K = 741.4  LR = 2.40
  data to 2023: K = 2167.5  LR = 0.06
  plateau refit: b=0.0766 m=66.40 w2020=0.470 alpha=0.0548 logLik=-110.813
  plateau DGP (no saturation), B=200: finite K<1000 in 0.840; LR>3.84 in 0.735; both in 0.715; median K among finite = 762; share K within 600-850 = 0.645

==============================================================================
R6. The doctoral gap as a denominator
==============================================================================
 year      Y       A       D      dD       C  G_prev  DminusC_prev  rate_upper_denominator  rate_if_denominator_DminusC  net_exits_implied
 2019 32.000 226.000 590.000 -13.000 387.000 399.000       248.000                   0.080                        0.129             10.000
 2020 49.000 264.000 674.000  84.000 436.000 364.000       203.000                   0.135                        0.241             11.000
 2021 49.000 296.000 683.000   9.000 485.000 410.000       238.000                   0.120                        0.206             17.000
 2022 75.000 366.000 701.000  18.000 560.000 387.000       198.000                   0.194                        0.379              5.000
 2023 93.000 459.000 715.000  14.000 653.000 335.000       141.000                   0.278                        0.660              0.000
 2024 63.000 516.000 721.000   6.000 716.000 256.000        62.000                   0.246                        1.016              6.000
 2025 52.000 556.000 727.000   6.000 768.000 205.000         5.000                   0.254                       10.400             12.000
  cumulative cohort (incl. 1990 baseline) = 768, D_2025 = 727
  D change 2019->2020 = 84; other annual changes 2018-2025: [-13, 9, 18, 14, 6, 6]
  implied net exits (Y - dA), 1991-2025: min 0 (2003), 2021-2025: [17, 5, 0, 6, 12]
  corr(log A(t-1), log C(t-1)) = 0.9944; corr(year, log A(t-1)) pre-2020 = 0.9923

==============================================================================
R7. Pre-2020 trend robustness (claim 1)
==============================================================================
  1991-2019 n=29: growth 8.02%/yr; LR 31.76 p=1.75e-08; HAC(2) 95% 6.36 to 9.70
  1992-2019 n=28: growth 7.63%/yr; LR 29.16 p=6.66e-08; HAC(2) 95% 6.18 to 9.09
  1995-2019 n=25: growth 8.01%/yr; LR 23.71 p=1.12e-06; HAC(2) 95% 6.01 to 10.04
  2000-2019 n=20: growth 7.58%/yr; LR 14.25 p=1.60e-04; HAC(2) 95% 4.18 to 11.10
  2004-2019 n=16: growth 4.54%/yr; LR 7.61 p=5.82e-03; HAC(2) 95% 2.37 to 6.76
  +/-1 jitter on pre-2020 bars (500 draws): growth 2.5-97.5% = 7.54 to 8.57 %/yr

==============================================================================
R8. Post-2020 shape: permanent level shift vs transient 2022-2023 surge (post hoc, descriptive)
==============================================================================
  trend + 2020 shift                               AICc=231.89 coefs=[3.5079, 0.0761, 0.4512] alpha=0.0616
  trend + 2022-23 pulse (post hoc)                 AICc=229.67 coefs=[3.6385, 0.0841, 0.5789] alpha=0.0435
  trend + 2020 shift + 2022-23 pulse (post hoc)    AICc=229.63 coefs=[3.489, 0.0745, 0.2952, 0.4581] alpha=0.0211

Done. Outputs in build/reanalysis/sensibilidad
