Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 1
CHAPTER 7: INTRODUCTION TO STATISTICAL INFERENCE
1 Introduction
2 Parametric point estimation
2.1 Methods of finding estimates
Method of moments
Maximum likelihood
Other
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 2
2.2 Properties of point estimates
Mean Squared Error
Consistency and BAN
Sufficient statistics
2.3 Unbiased estimation
2.4 Highlight: Bayes estimators (postponed)
Posterior distribution - Loss-function invariance -
Minimax estimator
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 3
3 Parametric interval estimation
3.1 Estimating with confidence
3.2 Methods of finding confidence intervals
3.3 Highlight: Bayesian interval estimation (postponed)
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 4
4 Hypothesis testing
4.1 Tests of significance
4.2 Hypothesis types
Simple hypothesis
Composite hypothesis
4.3 Assumptions about hypothesis tests
4.4 Examples
4.5 Use and abuse of tests
4.6 Multiple testing
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 5
5 Inference for distributions
5.1 Inference for the mean of a population
5.2 Comparing two means
5.3 Optional topics in comparing distributions
6 Inference for proportions
6.1 inference for a single proportion
6.2 Comparing two proportions
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 6
7 Analysis of two-way tables
7.1 Inference for two-way tables
7.2 Formulas and models for two-way tables and Goodness-of-fit
8 How to select the appropriate test?
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 7
1 Introduction
• Statistical inference means drawing conclusions based on data. There are a
many contexts in which inference is desirable, and there are many
approaches to performing inference.
• One important inferential context is parametric models. For example, if you
have noisy (x; y) data that you think follow the pattern y = β0 + β1x + error ,
then you might want to estimate β0, β1, and the magnitude of the error.
This will be the subject of Chapter 8
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 8
• In earlier chapters, we indicated that a sample from the distribution of a
population is useful in making inferences about the population itself.
• Two important problems in statistical inference are estimation and testing
(of hypotheses).
• In point estimation, the value of some statistic (i.e. a function of random
variables – see later) represents or estimates the unknown parameter of
interest.
• In interval estimation, two statistics are defined so that they span an
interval for which the probability can be determined that it contains the
unknown parameter
Probability and Statistics
K Van Steen
Definition of an estimator
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Definition of an estimator
Chapter 7: Introduction to Statistical Inference
9
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 10
Probability and Statistics
K Van Steen
2 Parametric point estimation
2.1 Methods of finding estimates
Method of moments
Probability and Statistics Chapter 7: Introduction to Statistical Inference
2 Parametric point estimation
estimates
Chapter 7: Introduction to Statistical Inference
11
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
12
Probability and Statistics
K Van Steen
Example 1 of the method of moments
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Example 1 of the method of moments
Chapter 7: Introduction to Statistical Inference
13
Probability and Statistics
K Van Steen
Example 2 of the method of moments
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Example 2 of the method of moments
Chapter 7: Introduction to Statistical Inference
14
Probability and Statistics
K Van Steen
Method-of-moment estimators are not unique
Probability and Statistics Chapter 7: Introduction to Statistical Inference
moment estimators are not unique
Chapter 7: Introduction to Statistical Inference
15
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 16
Maximum probability
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 17
Maximum likelihood
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
18
Probability and Statistics
K Van Steen
Intuition behind Maximum Likelihood (ML)
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Intuition behind Maximum Likelihood (ML) estimators
Chapter 7: Introduction to Statistical Inference
19
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
20
Probability and Statistics
K Van Steen
Definition of ML estimator
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Definition of ML estimator
Chapter 7: Introduction to Statistical Inference
21
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
22
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
23
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
24
Probability and Statistics
K Van Steen
Example of ML estimators
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Example of ML estimators
Chapter 7: Introduction to Statistical Inference
25
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
26
Probability and Statistics
K Van Steen
The invariance property of ML estimators
Probability and Statistics Chapter 7: Introduction to Statistical Inference
The invariance property of ML estimators
Chapter 7: Introduction to Statistical Inference
27
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
28
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 29
Bayesian approach
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 30
Other criteria to estimate parameters
Probability and Statistics
K Van Steen
2.2 Properties of point estimates
Mean Squared Error
Probability and Statistics Chapter 7: Introduction to Statistical Inference
2.2 Properties of point estimates
Chapter 7: Introduction to Statistical Inference
31
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
32
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
33
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
34
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
35
Probability and Statistics
K Van Steen
Consistency and BAN
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
36
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
37
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
38
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
39
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
40
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
41
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
42
Probability and Statistics
K Van Steen
Loss and Risk function
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
43
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
44
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
45
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
46
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
47
Probability and Statistics
K Van Steen
Interpretation
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
48
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
before
Chapter 7: Introduction to Statistical Inference
49
before
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
50
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
51
Probability and Statistics
K Van Steen
Sufficient statistics
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
52
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
53
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
54
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
55
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
56
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
57
Probability and Statistics
K Van Steen
Hence …
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
58
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
59
Probability and Statistics
K Van Steen
2.3 Unbiased estimation
Probability and Statistics Chapter 7: Introduction to Statistical Inference
2.3 Unbiased estimation
Chapter 7: Introduction to Statistical Inference
60
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
61
Probability and Statistics
K Van Steen
How to find UMVUEs?
Lower bound for the variance
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Lower bound for the variance
Chapter 7: Introduction to Statistical Inference
62
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
63
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
64
Probability and Statistics
K Van Steen
(proof for your information)
Probability and Statistics Chapter 7: Introduction to Statistical Inference
(proof for your information)
Chapter 7: Introduction to Statistical Inference
65
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
66
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
67
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
68
Probability and Statistics
K Van Steen
Uses of the theorem
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
69
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
70
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
71
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
72
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
73
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
74
Probability and Statistics
K Van Steen
2.4 Highlight: Bayes estimators (postponed)
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Highlight: Bayes estimators (postponed)
Chapter 7: Introduction to Statistical Inference
75
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 76
3 Parametric interval estimation
3.1 Estimating with confidence
Overview of inference
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 77
Statistical confidence
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 78
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 79
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 80
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 81
Confidence intervals
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 82
Implications
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 83
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 84
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 85
Standardizing the normal curve using z
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 86
Varying confidence levels
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 87
How do we find specific z* values?
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 88
Link between confidence level and margin of error
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 89
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 90
Impact of sample size
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 91
Sample size and experimental design
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 92
Probability and Statistics
K Van Steen
3.2 Methods of finding confidence intervals
Statistical method
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Methods of finding confidence intervals
Chapter 7: Introduction to Statistical Inference
93
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
94
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
(Figure A)
Chapter 7: Introduction to Statistical Inference
95
(Figure A)
Probability and Statistics
K Van Steen
A
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
96
Probability and Statistics
K Van Steen
Probability and Statistics Chapter 7: Introduction to Statistical Inference
(Figure B)
Chapter 7: Introduction to Statistical Inference
97
(Figure B)
Probability and Statistics
K Van Steen
B
Probability and Statistics Chapter 7: Introduction to Statistical Inference
Chapter 7: Introduction to Statistical Inference
98
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 99
4 Hypothesis testing
4.1 Tests of significance
Reasoning of significance tests
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 100
Stating hypotheses
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 101
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 102
One-sided and two-sided tests
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 103
How to choose?
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 104
The p-value
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 105
Interpreting a p-value
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 106
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 107
Tests for a population mean
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 108
P-value in one-sided and two-sided tests
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 109
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 110
The significance level α
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 111
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 112
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 113
Confidence intervals to test hypotheses
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 114
Logic of confidence interval test
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 115
More about the relationship to confidence intervals
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 116
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 117
Permutation / randomization tests
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 118
Bootstrap tests
Probability and Statistics Chapter 7: Introduction to Statistical Inference
K Van Steen 119
4.2 Hypothesis types
Simple hypothesis and Composite hypothesis
• A simple hypothesis is a hypothesis which specifies the population
distribution completely.
• Examples
1. H0: X ~ Bi(100,1/2), i.e. p is specified
2. H0: X ~ N(5,20), i.e. µ and are specified
• A composite hypothesis is a hypothesis which does not specify the
population distribution completely.
• Examples
1. X ~ Bi(100,p) and H1: p > 0.5
2. X ~ N(0, ) and H1: unspecified