Professional Documents
Culture Documents
Kosuke Imai
Harvard University
Fall 2019
Ranken ●
●
Distribution of Exact p-values across Candidates
Ramirez
Weber ●
Weir ●
Hoffmann ●
Hanlon ●
Henderson ●
Winters ●
Watts ●
Hamidi ●
Robinson ●
●
Stat186/Gov2002
Mortensen
Vann ●
Valdez ●
Hall ●
Wozniak ●
McMahon ●
Bock ●
Kimball ●
Richter ●
WalkerC ●
McClain ●
Walton ●
Quinn ●
Roscoe ●
Jackson ●
Hernandez ●
WalkerM ●
Vaughn ●
Mednick ●
Hickey ●
Rushford ●
Richards ●
Miller ●
Sproul ●
Mailander ●
Badiozamani ●
Mock ●
Rainforth ●
Angelyne ●
Renz ●
Green ●
Simon ●
Mobley ●
Sylvester ●
McCarthy ●
Rightmyer ●
Anderson ●
Mannheim ●
Macaluso ●
Guzzardi ●
McNeilly ●
Zellhoefer ●
Beyer ●
Cullenbine ●
●
Permutation Inference
Brown
Bhola ●
Adams ●
Margolin ●
Russell ●
AlexStJames ●
●
Candidate
Mariano
Gosse ●
Strauss ●
Adam ●
Vandeventer ●
Edwards ●
Tilley ●
Tsangares ●
Beard ●
Bajwa ●
Musilli ●
Simmons ●
Britton ●
Korevaar ●
Gorman ●
Coleman ●
Leonard ●
Arif ●
Martorana ●
Sprague ●
Schmier ●
Taylor ●
Kunzman ●
Grisham ●
Sams ●
Huffington ●
Gallagher ●
Vo ●
Bustamante ●
Gruener ●
BlyChester ●
Schwarzenegger ●
Nave ●
Price ●
Tracy ●
Scheidle ●
Burton ●
Templin ●
McClintock ●
Smith ●
Issa ●
Mehr ●
Schwartzman ●
Chambers ●
NewmanII ●
Cook ●
Safford ●
Fontanes ●
Foss ●
Peters ●
Prady ●
Farrell ●
Davis ●
Friedman ●
Palmieri ●
140
140
●
●● ●
●● ●
●
● ●● ●
●●
●● ●● ●
●● ●● ●●
●● ●● ●
●
● ●
120
120
120
●● ●
● ●●
●
● ●
●● ●
●
●● ● ●
●
●● ●● ●
●
●● ●
●● ●
●
●
●● ●● ●
●●
●
●● ●● ●●
● ●● ●
●
●
● ●
●● ●●
● ●
100
100
100
●
● ●
●● ●
●
●
● ●● ●
●
●● ● ●
●
●
● ●● ●●
●
● ●● ●●
●
● ●
● ●
●
Candidate
Candidate
Candidate
●
● ●● ●
●
●● ●● ●●
●
●● ●
●● ●
●
●● ●● ●●
● ● ●●
80
80
80
●● ●● ●
●
●
●● ●
●● ●●
● ● ● ●
●
● ●● ●●
●
● ●● ●
●
●● ●● ●
●
●
● ●● ●●
●● ●● ●●
●●● ●●● ●
●
●● ● ●●
60
60
60
●● ●● ●
●●
● ●
●● ●
●● ● ●●
●
●● ●
● ●●●
●● ●●● ●
● ● ●
●●
●● ●
●● ●
●● ● ●
●●
●● ●● ●●
●● ●
●● ●
40
40
40
●● ●● ●●
●
● ● ●●
●● ●
● ●●
●
●● ●● ● ●
● ●
● ●
●●
●● ●● ●
●● ●
●● ●
●
●●● ● ●
●●
● ●●● ●●
●
● ● ● ●
20
20
20
● ● ● ●●
●
●● ●
● ●●
●● ●● ●●
● ●
● ●●
●● ●
● ●
●●
●● ●● ●
●● ●
● ●●
●
● ●
● ●
●●
●● ●
● ●●
●● ●
● ●
●● ●● ●●
0
0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
p−value p−value p−value
Permutation tests are useful but tell us nothing about effect size
Republican ● Republican ●
Bustamante Ramirez
Democratic ● Democratic ●
Republican ● Republican ●
McClintock Roscoe
Democratic ● Democratic ●
Adjusted 2 × 2 table:
Treated (T = 1) Control (T = 0)
Pn Pn
Success (Y = 1) i=1 Ti Yi (0) i=1 (1 − Ti )Yi (0)
Pn Pn
Failure (Y = 0) i=1 Ti (1 − Yi (0)) i=1 (1 − Ti )(1 − Yi (0))
Total n1 n0
The reference distribution hypergeometric
Inversion gives a confidence interval on the attributable effect
STAR example: p-value = 0.55, 95% conf. int. = [0, 41]
Kosuke Imai (Harvard) Permutation Inference Stat186/Gov2002 Fall 2019 10 / 13
Heterogenous Effects for Continuous Outcome
1
Pr(each set of ranks) = n
n1
Estimator:
n1 (n + 1)
Sτ̂ = E(S | On ) =
2
Computation: Sτ is non-increasing in τ
No exact solution:
1
τ̂ = [inf{τ : E(S | On ) > Sτ } + sup{τ : E(S | On ) < Sτ }]
2