From artifacts/commander-ratings-v3.md.

Commander residual ratings, run 3: all battles (diagnostic)

A residual rating is not command skill, a causal effect or a ranking of record. It summarises how a commander's battles went relative to what force size predicts, pulled towards zero, relative to their own side.

Rows: 301 battles in 108 campaigns, 162 with a modelled (grade E) side and 17 with a post-start side. Grade E uncertainty is carried by 20 imputations. Pooling τ = 0.5. Every result carries whole_engagement_leakage, conditional_on_source_availability, not_causal, side_relative, modelled_strength.

Held-out test (the verdict)

ModelLog loss, battle-weightedLog loss, campaign-weighted
Commander model0.64760.6586
Strength only0.65970.6651

Effective denominator: 243 of 301 held-out rows had a commander seen in another campaign. Descriptive, not part of the verdict: campaigns where each model had lower log loss, commander model 61, strength only 47, ties 0; Monte Carlo check of the log-loss difference (commander minus strength) imputations 1–10: -0.0122 battle, -0.0068 campaign; imputations 11–20: -0.0120 battle, -0.0062 campaign.

Descriptive 1861–1863→1864–1865 split (no verdict): trained on 167, tested on 134; log loss 0.6530 (commander model) against 0.6606 (strength only).

Held-out log loss was lower under both weightings on these rows. This is not evidence of a persistent commander effect or of skill (design §5).

Within each side, commanders are listed by median within-side rank over the pooled rank draws (ties by the pooled point estimate). The order is a point summary under the design, not a finding that one commander did better than another; read it with the 80% rank intervals.

The view strength_graded_only reproduces run 2's primary fit (largest θ difference 0.00e+00).

US commanders with two or more modelled battles

CommanderBattlesModelled-strength rowsW–LPooled θ80% interval95% intervalRank 80%SD ratioLabels
Ulysses S. Grant11310–1+0.51-0.02 to +1.03-0.30 to +1.312–270.82
G.K. Warren444–0+0.31-0.28 to +0.92-0.58 to +1.232–380.92
David G. Farragut444–0+0.30-0.29 to +0.89-0.60 to +1.203–380.92not_connected
John McNeil313–0+0.29-0.31 to +0.88-0.63 to +1.223–390.93
George B. McClellan313–0+0.25-0.36 to +0.84-0.66 to +1.163–410.93
Frederick Steele333–0+0.23-0.38 to +0.83-0.69 to +1.133–410.94
William W. Averell313–0+0.22-0.39 to +0.83-0.69 to +1.133–410.94not_connected
George Stoneman222–0+0.19-0.42 to +0.79-0.75 to +1.104–420.95
Benjamin M. Prentiss202–0+0.18-0.43 to +0.79-0.76 to +1.104–430.95not_connected
James Negley212–0+0.18-0.43 to +0.79-0.75 to +1.114–430.95not_connected
Edward O.C. Ord212–0+0.18-0.44 to +0.78-0.77 to +1.124–430.96
Philip Sheridan856–2+0.15-0.39 to +0.70-0.68 to +0.995–410.85
Joseph A. Mower222–0+0.15-0.46 to +0.77-0.79 to +1.094–430.96
Alfred Torbert212–0+0.15-0.46 to +0.77-0.77 to +1.094–440.96not_connected
John G. Foster212–0+0.14-0.47 to +0.77-0.79 to +1.094–430.96not_connected
William S. Rosecrans504–1+0.14-0.43 to +0.72-0.71 to +1.035–430.89
John G. Parke222–0+0.14-0.48 to +0.75-0.80 to +1.104–440.96not_connected
A.J. Smith202–0+0.13-0.47 to +0.75-0.80 to +1.064–440.95not_connected
George H. Thomas534–1+0.13-0.44 to +0.70-0.75 to +1.005–430.89
Ambrose E. Burnside735–2+0.13-0.43 to +0.67-0.72 to +0.955–420.86
George G. Meade423–1+0.11-0.48 to +0.69-0.78 to +0.985–440.91
James G. Blunt654–2+0.06-0.51 to +0.61-0.81 to +0.927–440.88
John M. Schofield423–1+0.05-0.53 to +0.65-0.84 to +0.956–460.92
Cuvier Grover332–1+0.04-0.56 to +0.63-0.89 to +0.956–460.93
Alfred Pleasonton332–1+0.02-0.58 to +0.62-0.89 to +0.946–460.93
Samuel R. Curtis322–1+0.02-0.59 to +0.62-0.91 to +0.946–460.94
E. R. S. Canby312–1-0.01-0.60 to +0.60-0.93 to +0.907–470.94
Jacob D. Cox211–1-0.04-0.65 to +0.57-0.96 to +0.887–480.95
John T. Wilder221–1-0.04-0.65 to +0.57-0.96 to +0.897–480.95not_connected
James M. Williams211–1-0.04-0.65 to +0.57-0.97 to +0.907–480.95not_connected
John Pope221–1-0.04-0.65 to +0.56-0.97 to +0.918–480.95
Alfred H. Terry221–1-0.05-0.65 to +0.56-0.97 to +0.887–480.94
Horatio G. Wright201–1-0.05-0.67 to +0.56-1.00 to +0.898–480.96
Nathaniel Lyon201–1-0.05-0.67 to +0.55-1.00 to +0.888–480.96
George Crook201–1-0.06-0.66 to +0.56-0.97 to +0.888–480.95
James Shackelford211–1-0.06-0.66 to +0.54-0.98 to +0.868–480.94
David Hunter211–1-0.07-0.68 to +0.55-1.00 to +0.868–480.95
Nathaniel P. Banks744–3-0.07-0.63 to +0.49-0.92 to +0.7710–470.87
Fitz John Porter422–2-0.10-0.67 to +0.49-0.97 to +0.7910–480.90
Samuel D. Sturgis432–2-0.10-0.68 to +0.47-1.00 to +0.789–480.90
Frederick Crocker221–1-0.10-0.71 to +0.50-1.02 to +0.839–490.95not_connected
H. Judson Kilpatrick432–2-0.14-0.72 to +0.45-1.02 to +0.7611–490.91
Joseph Hooker321–2-0.17-0.76 to +0.43-1.07 to +0.7411–490.93
William T. Sherman1075–5-0.17-0.70 to +0.35-0.97 to +0.6214–490.82
James H. Wilson431–3-0.23-0.80 to +0.35-1.10 to +0.6413–500.90
Erastus Tyler210–2-0.23-0.84 to +0.37-1.16 to +0.6813–500.94
Robert Milroy200–2-0.23-0.84 to +0.36-1.17 to +0.6813–500.94
Irvin McDowell200–2-0.23-0.84 to +0.38-1.18 to +0.6913–500.95
Franz Sigel200–2-0.24-0.85 to +0.37-1.18 to +0.6913–500.95
Benjamin Franklin Butler642–4-0.30-0.86 to +0.25-1.16 to +0.5417–500.87
Quincy A. Gillmore421–3-0.32-0.90 to +0.26-1.19 to +0.5717–510.90not_connected
Winfield Scott Hancock420–4-0.51-1.09 to +0.07-1.39 to +0.3825–520.90

Confederate commanders with two or more modelled battles

CommanderBattlesModelled-strength rowsW–LPooled θ80% interval95% intervalRank 80%SD ratioLabels
Nathan Bedford Forrest1249–3+0.62+0.12 to +1.12-0.13 to +1.381–190.78
P.G.T. Beauregard726–1+0.54-0.01 to +1.09-0.31 to +1.381–230.86
Thomas J. Jackson836–2+0.45-0.08 to +0.99-0.36 to +1.282–260.83
William C. Quantrill222–0+0.29-0.31 to +0.89-0.64 to +1.212–330.94not_connected
John B. Magruder212–0+0.27-0.34 to +0.87-0.66 to +1.193–330.95not_connected
Wade Hampton222–0+0.25-0.35 to +0.87-0.67 to +1.183–330.95
Patrick R. Cleburne212–0+0.25-0.35 to +0.86-0.68 to +1.193–330.95
Joseph E. Johnston975–4+0.24-0.30 to +0.77-0.58 to +1.034–320.83
James Longstreet764–3+0.22-0.32 to +0.77-0.61 to +1.064–320.85
Nathan Evans302–1+0.21-0.38 to +0.80-0.70 to +1.113–340.93not_connected
John C. Breckinridge523–2+0.19-0.37 to +0.76-0.67 to +1.064–340.88not_connected
Tom Green533–2+0.17-0.38 to +0.74-0.69 to +1.044–340.88
Robert E. Lee1888–10+0.16-0.31 to +0.62-0.56 to +0.876–320.73
James R. Chalmers312–1+0.13-0.47 to +0.72-0.77 to +1.034–360.93
George Pickett221–1+0.10-0.52 to +0.70-0.84 to +1.035–370.96
Richard S. Ewell412–2+0.07-0.51 to +0.65-0.80 to +0.955–370.90
George A. Anderson211–1+0.07-0.54 to +0.67-0.85 to +1.005–370.94not_connected
John B. Floyd211–1+0.06-0.55 to +0.67-0.88 to +0.995–370.95
Richard H. Anderson211–1+0.05-0.56 to +0.65-0.88 to +0.975–370.94
Humphrey Marshall221–1+0.04-0.56 to +0.64-0.89 to +0.975–380.94
Robert Hoke211–1+0.04-0.58 to +0.65-0.90 to +0.975–380.96
Douglas H. Cooper211–1+0.04-0.58 to +0.66-0.89 to +0.985–380.96
John C. Pemberton301–2+0.03-0.56 to +0.63-0.87 to +0.966–380.93
John S. Bowen321–2+0.01-0.58 to +0.62-0.89 to +0.926–380.94
Jubal A. Early823–5+0.00-0.54 to +0.55-0.83 to +0.837–370.85
J.E.B. Stuart321–2-0.00-0.60 to +0.60-0.92 to +0.916–380.93
Henry Heth321–2-0.02-0.61 to +0.58-0.94 to +0.897–380.93
A.P. Hill331–2-0.03-0.63 to +0.56-0.96 to +0.897–390.93
Sterling Price1074–6-0.04-0.56 to +0.49-0.83 to +0.779–370.81
John Hunt Morgan622–4-0.06-0.62 to +0.50-0.90 to +0.808–380.87
John S. Marmaduke1033–7-0.13-0.65 to +0.40-0.93 to +0.6811–390.82
Lawrence O'Bryan Branch220–2-0.14-0.77 to +0.47-1.07 to +0.809–400.96
John B. Gordon210–2-0.15-0.76 to +0.47-1.09 to +0.779–400.96not_connected
John S. Williams210–2-0.15-0.76 to +0.46-1.08 to +0.799–400.95
Braxton Bragg511–4-0.16-0.73 to +0.42-1.04 to +0.7210–400.90
William T. Martin220–2-0.17-0.78 to +0.44-1.11 to +0.779–400.95
Thomas C. Hindman210–2-0.18-0.79 to +0.43-1.11 to +0.7610–400.95not_connected
D. H. Hill220–2-0.20-0.80 to +0.41-1.14 to +0.7211–410.95
Earl Van Dorn531–4-0.22-0.79 to +0.35-1.08 to +0.6612–400.89
Richard Taylor751–6-0.32-0.89 to +0.24-1.19 to +0.5315–410.88
Joseph Wheeler530–5-0.39-0.97 to +0.18-1.29 to +0.4717–420.89
John Bell Hood931–8-0.43-0.95 to +0.12-1.22 to +0.4020–410.84

Views, per-commander view results and every held-out prediction are in the JSON. Commanders with one modelled battle are there with their estimate, which is almost entirely the prior.