Statistical Inference
https://people.bath.ac.uk/masss/APTS/apts.html Simon Shaw
University of Bath
APTS, 16-20 December 2019
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 1 / 95
Statistical Inference https://people.bath.ac.uk/masss/APTS/apts.html - - PowerPoint PPT Presentation
Statistical Inference https://people.bath.ac.uk/masss/APTS/apts.html Simon Shaw University of Bath APTS, 16-20 December 2019 Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 1 / 95 Principles for Statistical
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 1 / 95
Principles for Statistical Inference Introduction
1
2
3
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 2 / 95
Principles for Statistical Inference Reasoning about inferences
◮ as a point or a set in Θ; ◮ as a choice among alternative sets or actions; ◮ or maybe as some more complicated, not ruling out visualisations. Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 3 / 95
Principles for Statistical Inference Reasoning about inferences
◮ the maximum likelihood estimator of θ ◮ a 95% confidence interval for θ
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 4 / 95
Principles for Statistical Inference Reasoning about inferences
1
2
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 5 / 95
Principles for Statistical Inference Reasoning about inferences
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 6 / 95
Principles for Statistical Inference The principle of indifference
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 7 / 95
Principles for Statistical Inference The principle of indifference
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 8 / 95
Principles for Statistical Inference The principle of indifference
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 9 / 95
Principles for Statistical Inference The Likelihood Principle
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 10 / 95
Principles for Statistical Inference The Likelihood Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 11 / 95
Principles for Statistical Inference The Likelihood Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 12 / 95
Principles for Statistical Inference The Likelihood Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 13 / 95
Principles for Statistical Inference The Likelihood Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 14 / 95
Principles for Statistical Inference The Sufficiency Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 15 / 95
Principles for Statistical Inference The Sufficiency Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 16 / 95
Principles for Statistical Inference The Sufficiency Principle
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 17 / 95
Principles for Statistical Inference Stopping rules
◮ At time j, the decision to observe Xj+1 can be modelled by a
◮ We assume, resources being finite, that the experiment must stop at
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 18 / 95
Principles for Statistical Inference Stopping rules
◮ Once the sequence of heads and tails is known, the intentions of the
◮ The simplest experiment E1 can be used for inference. Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 19 / 95
Principles for Statistical Inference Stopping rules
aBasu (1975) claims the SRP is due to George Barnard (1915-2002)
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 20 / 95
Principles for Statistical Inference Stopping rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 21 / 95
Principles for Statistical Inference Stopping rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 22 / 95
Principles for Statistical Inference Stopping rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 23 / 95
Principles for Statistical Inference The Likelihood Principle in practice
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 24 / 95
Principles for Statistical Inference The Likelihood Principle in practice
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 25 / 95
Principles for Statistical Inference The Likelihood Principle in practice
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 26 / 95
Principles for Statistical Inference The Likelihood Principle in practice
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 27 / 95
Principles for Statistical Inference Reflections
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 28 / 95
Statistical Decision Theory Introduction
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 29 / 95
Statistical Decision Theory Introduction
1
2
3
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 30 / 95
Statistical Decision Theory Bayesian statistical decision theory
1
2
3
1
2
3
4
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 31 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 32 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 33 / 95
Statistical Decision Theory Bayesian statistical decision theory
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 34 / 95
Statistical Decision Theory Bayesian statistical decision theory
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 35 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 36 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 37 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 38 / 95
Statistical Decision Theory Bayesian statistical decision theory
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 39 / 95
Statistical Decision Theory Admissible rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 40 / 95
Statistical Decision Theory Admissible rules
1
2
3
4
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 41 / 95
Statistical Decision Theory Admissible rules
1
2
3
4
0 + n
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 42 / 95
Statistical Decision Theory Admissible rules
1Here I am assuming that all other considerations are the same in the two cases: e.g.
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 43 / 95
Statistical Decision Theory Admissible rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 44 / 95
Statistical Decision Theory Admissible rules
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 45 / 95
Statistical Decision Theory Admissible rules
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 46 / 95
Statistical Decision Theory Point estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 47 / 95
Statistical Decision Theory Point estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 48 / 95
Statistical Decision Theory Point estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 49 / 95
Statistical Decision Theory Point estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 50 / 95
Statistical Decision Theory Set estimation
1
2
◮ If κ ↓ 0 then minimising the expected loss will always produce the
◮ If κ ↑ ∞ then minimising the expected loss will always produce Θ. Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 51 / 95
Statistical Decision Theory Set estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 52 / 95
Statistical Decision Theory Set estimation
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 53 / 95
Statistical Decision Theory Set estimation
2In the case where Θ is unbounded, this prior distribution may have to be truncated
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 54 / 95
Statistical Decision Theory Hypothesis tests
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 55 / 95
Statistical Decision Theory Hypothesis tests
◮ Accept Hi exactly when δ(x) ⊂ Hi, ◮ Reject Hi exactly when δ(x) ∩ Hi = ∅, ◮ Undecided about Hi otherwise. Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 56 / 95
Confidence sets and p-values Confidence procedures and confidence sets
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 57 / 95
Confidence sets and p-values Confidence procedures and confidence sets
1
a
b
2
θ
θ
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 58 / 95
Confidence sets and p-values Confidence procedures and confidence sets
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 59 / 95
Confidence sets and p-values Confidence procedures and confidence sets
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 60 / 95
Confidence sets and p-values Constructing confidence procedures
◮ T is an example of a pivot and confidence procedures are
◮ However, a drawback to this approach in general is that there is no
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 61 / 95
Confidence sets and p-values Constructing confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 62 / 95
Confidence sets and p-values Constructing confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 63 / 95
Confidence sets and p-values Constructing confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 64 / 95
Confidence sets and p-values Constructing confidence procedures
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 65 / 95
Confidence sets and p-values Constructing confidence procedures
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 66 / 95
Confidence sets and p-values Constructing confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 67 / 95
Confidence sets and p-values Good choices of confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 68 / 95
Confidence sets and p-values Good choices of confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 69 / 95
Confidence sets and p-values Good choices of confidence procedures
aIf X is a nonnegative random variable and a > 0 then P(X ≥ a) ≤ E(X)/a.
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 70 / 95
Confidence sets and p-values Good choices of confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 71 / 95
Confidence sets and p-values The linear model
◮ X is an (n × p) matrix3 of regressors, ◮ θ is a p-vector of regression coefficients, ◮ ǫ is an n-vector of residuals.
3We typically use X to denote a generic random variable and so it is not ideal to use
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 72 / 95
Confidence sets and p-values The linear model
2 exp
Statistical Inference APTS, 16-20 December 2019 73 / 95
Confidence sets and p-values The linear model
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 74 / 95
Confidence sets and p-values Wilks confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 75 / 95
Confidence sets and p-values Wilks confidence procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 76 / 95
Confidence sets and p-values Significance procedures and duality
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 77 / 95
Confidence sets and p-values Significance procedures and duality
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 78 / 95
Confidence sets and p-values Significance procedures and duality
1
2
3
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 79 / 95
Confidence sets and p-values Significance procedures and duality
1
2
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 80 / 95
Confidence sets and p-values Significance procedures and duality
aHere we’re finessing the issue of the boundary of C by assuming that if
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 81 / 95
Confidence sets and p-values Significance procedures and duality
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 82 / 95
Confidence sets and p-values Families of significance procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 83 / 95
Confidence sets and p-values Families of significance procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 84 / 95
Confidence sets and p-values Families of significance procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 85 / 95
Confidence sets and p-values Families of significance procedures
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 86 / 95
Confidence sets and p-values Computing p-values
aIf X0, X1, . . . , Xm are exchangeable then their joint density function satisfies
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 87 / 95
Confidence sets and p-values Computing p-values
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 88 / 95
Confidence sets and p-values Computing p-values
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 89 / 95
Confidence sets and p-values Computing p-values
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 90 / 95
Confidence sets and p-values Computing p-values
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 91 / 95
Confidence sets and p-values Computing p-values
◮ These simulations give a value Pt(x; θ0) which is either larger or not
◮ If Pt(x; θ0) > α then θ0 ∈ Ct(x; α), and otherwise it is not.
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 92 / 95
Confidence sets and p-values Concluding remarks
◮ A p-value p(x; θ0) refers only to θ0, making no reference at all to other
◮ A posterior probability π(θ0 | x) contrasts θ0 with the other values in Θ
◮ The two outcomes can be radically different, as first captured in
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 93 / 95
References
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 94 / 95
References
Simon Shaw (University of Bath) Statistical Inference APTS, 16-20 December 2019 95 / 95