SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
INTRODUCTION TO
STATISTICS & PROBABILITY
Chapter 7: Inference for Distributions
Dr. Nahid Sultana
1
Chapter 7
Inference for Distributions
7.1 Inference for the Mean of a Population
7.2 Comparing Two Means
2
7.1 Inference for the Mean of a
Population
3
 The t Distributions
 One-Sample t Confidence Interval
 One-Sample t Test
 Matched Pairs t Procedures
 Robustness of the t Procedures
4
Cola manufacturers want to test how much the sweetness of a new cola
drink is affected by storage. The sweetness difference due to storage was
evaluated by 10 professional tasters (by comparing the sweetness before
and after storage):
Taster Sweetness difference (D = Before – After)
1 2.0
2 0.4
3 0.7
4 2.0
5 −0.4
6 2.2
7 −1.3
8 1.2
9 1.1
10 2.3
We want to test if storage results in a loss of
sweetness:
0”:H;0”:H diffadiff0
>=
This looks familiar. However, here we do not
know the population parameter σ.
This situation is very common with real data.
Example – Sweetening colas
5
When σ is unknown
The sample s.d. s provides an estimate of the population s.d. σ.
When the sample size is large,
then s is a good estimate of σ.
But when the sample size is small,
then s is a poor estimate of σ.
The sample is likely to contain
elements representative of the
whole population.
The sample contains only a few
individuals.
6
Standard deviation s – standard error s/√n
 When σ is not known, we estimate it with the sample standard
deviation s.
 Then we estimate the standard deviation of by .
 This quantity is called the standard error of the sample mean and
we denote it by SEM or .
Example: A simple random sample of five female basketball players is
selected. Their heights (in cm) are 170, 175, 169, 183, and 177.
What is the standard error of the mean of these height
measurements?
Solution: Sample mean = 174.8
Sample s.d, s= √32.2
SEM = = √(32.2/5) = 2.538.
7
The t Distributions
Suppose that an SRS of size n is drawn from an N(”,σ) population.
 When σ is known, the sampling distribution is N(ÎŒ, σ/√n).
 When σ is estimated from the sample standard deviation s, the
sampling distribution follows a t-distribution t(ÎŒ, s/√n) with degrees of
freedom n − 1.
8
When comparing the density curves of the standard Normal distribution
and t distributions, several facts are apparent:
The density curves of the t distributions
are similar in shape to the standard
Normal curve.
The spread of the t distributions is a bit
greater than that of the standard Normal
distribution.
The t distributions have more probability
in the tails and less in the center than
does the standard Normal.
As the degrees of freedom increase, the t
density curve approaches the standard
Normal curve ever more closely.
We can use Table D to determine critical values t* for t distributions with
different degrees of freedom.
The t Distributions
9
Standardizing the data before using
Table D
As with the normal distribution, the first step is to standardize the data.
Then we can use Table D to obtain the area under the curve.
Here, Ό is the mean (center) of the sampling distribution,
and the standard error of the mean s/√n is its standard deviation (width).
10
Using Table D
Suppose you want to construct a 95% confidence interval for the mean
” of a Normal population based on an SRS of size n = 12.
What critical t* should you use?
In Table D, we consult the row
corresponding to df = n – 1 = 11.
We move across that row to the
entry that is directly above 95%
confidence level.
Upper-tail probability p
df .05 .025 .02 .01
10 1.812 2.228 2.359 2.764
11 1.796 2.201 2.328 2.718
12 1.782 2.179 2.303 2.681
z* 1.645 1.960 2.054 2.326
90% 95% 96% 98%
Confidence level C
11
11
One-Sample t Confidence
Interval
Choose an SRS of size n from a population having unknown mean ”.
A level C confidence interval for ” is:
where t* is the critical value for the t(n – 1) distribution.
The margin of error is
This interval is exact when the population distribution is Normal and
approximately correct for large n in other cases.
The One-Sample t Interval for a Population Mean
x ± t *
sx
n
t *
sx
n
 The level C confidence interval is an interval with
probability C of containing the true population parameter.
 C is the area between −t* and t*.
 We find t* from Table D for df = n−1 and confidence
level C.
12
Example: Listening to music on cell phones.
On average, U.K. subscribers with 3G phones spent an average of 8.3 hours
per month listening to full-track music on their cell phones.
Suppose we want to determine a 95% confidence interval for the U.S.
average and draw the following random sample of size 8 from the U.S.
population of 3G subscribers: 5 6 0 4 11 9 2 3
.n-.sx 71df;633,d.s.;5mean,sampleHere ====
The standard error is
t∗ = 2.365
The 95% CI is
13
The One-Sample t Test
As in the previous chapter, a test of hypotheses requires a few
steps:
1. Stating the null and alternative hypotheses (H0 versus Ha)
2. Calculating t and its degrees of freedom
3. Finding the area under the curve with Table D
4. Stating the P-value and interpreting the result
t =
x − ”0
sx
n
14
The One-Sample t Test (Cont
)
The P-value is calculated as the corresponding area under the curve,
one-tailed or two-tailed depending on Ha:
15
The level of dissolved oxygen (DO) in a stream or river is an important
indicator of the water’s ability to support aquatic life.
A researcher measures the DO level at 15 randomly chosen locations along
a stream. Here are the results in milligrams per liter:
We want to perform a test at the α = 0.05 significance level of:
H0: ” = 5
Ha: ” < 5
where ” is the actual mean dissolved oxygen level in this stream.
Example
4.53 5.04 3.29 5.23 4.13 5.50 4.83 4.40
5.42 6.38 4.01 4.66 2.87 5.73 5.55
A dissolved oxygen level below 5 mg/l puts aquatic life at risk.
16
The P-value is between 0.15 and 0.20, which is
greater than our α = 0.05 significance level,
- We fail to reject H0.
-We don’t have enough evidence to conclude
that the mean DO level in the stream is less than
5 mg/l.
The sample mean and standard deviation are:
P-value The P-value is the area to the left of
t = –0.94 under the t distribution curve with
df = 15 – 1 = 14.
But P(t < –0.94 ) = P(t > 0.94 )
Upper-tail probability p
df .25 .20 .15
13 .694 .870 1.079
14 .692 .868 1.076
15 .691 .866 1.074
50% 60% 70%
Confidence level C
Example (Cont
)
H0: ” = 5; Ha: ” < 5
Example – Sweetening colas cont
)
Is there evidence that storage results in
sweetness loss for the new cola
recipe at the α=5% level of significance?
H0: Ό = 0 versus Ha: Ό > 0 (one-sided test)
There is a significant loss of
sweetness, on average, following
storage.17
18
Matched Pairs t Procedures
Matched Pairs t Procedures
To compare the responses to the two treatments in a matched-pairs
design, find the difference between the responses within each pair. Then
apply the one-sample t procedures to these differences.
The members of one sample are identical to, or matched (paired) with,
the members of the other sample.
Example: Pre-test and post-test studies look at data collected on the
same sample elements before and after some experiment is performed.
19
Matched Pairs t Procedures
Conceptually, this is not different from tests on one population.
Example – Sweetening colas (revisited)
The sweetness loss due to storage was evaluated by 10 professional
tasters (comparing the sweetness before and after storage):
Although the text didn’t mention it explicitly, this is a pre-/post-test design
and the variable is the difference in cola sweetness before minus after
storage. A matched pairs test of significance is indeed just like a one-
sample test.
20
Example: Does lack of caffeine increase depression?
Individuals diagnosed as caffeine dependent
are assigned to receive daily pills.
Sometimes, the pills contain caffeine and
other times they contain a placebo.
Depression was assessed.
For each individual in the sample, we
have calculated a difference in
depression score (placebo minus
caffeine).
Caffeine deprivation causes a significant increase in depression.21

Weitere Àhnliche Inhalte

Was ist angesagt?

Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...nszakir
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec domsBabasab Patil
 
Probability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample MeansProbability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample Meansjasondroesch
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing HypothesisAzmi Mohd Tamil
 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalRavindra Nath Shukla
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingArnab Sadhu
 
T distribution | Statistics
T distribution | StatisticsT distribution | Statistics
T distribution | StatisticsTransweb Global Inc
 
6. point and interval estimation
6. point and interval estimation6. point and interval estimation
6. point and interval estimationONE Virtual Services
 
Test of significance
Test of significanceTest of significance
Test of significancemigom doley
 
statistical estimation
statistical estimationstatistical estimation
statistical estimationAmish Akbar
 
Sampling and sampling distributions
Sampling and sampling distributionsSampling and sampling distributions
Sampling and sampling distributionsShakeel Nouman
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 

Was ist angesagt? (20)

Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec doms
 
Probability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample MeansProbability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample Means
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence Interval
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
T distribution | Statistics
T distribution | StatisticsT distribution | Statistics
T distribution | Statistics
 
6. point and interval estimation
6. point and interval estimation6. point and interval estimation
6. point and interval estimation
 
Chi square
Chi squareChi square
Chi square
 
Basics of Hypothesis Testing
Basics of Hypothesis TestingBasics of Hypothesis Testing
Basics of Hypothesis Testing
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
statistical estimation
statistical estimationstatistical estimation
statistical estimation
 
Sampling and sampling distributions
Sampling and sampling distributionsSampling and sampling distributions
Sampling and sampling distributions
 
Correlation
CorrelationCorrelation
Correlation
 
Chi square
Chi squareChi square
Chi square
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 

Andere mochten auch

Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbersnszakir
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
FEC 512.04
FEC 512.04FEC 512.04
FEC 512.04Orhan Erdem
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)Marianne Maluyo
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiationSubramani Parasuraman
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
Chi – square test
Chi – square testChi – square test
Chi – square testDr.M.Prasad Naidu
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis TestingHarish Lunani
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 
Chi square test
Chi square testChi square test
Chi square testPatel Parth
 

Andere mochten auch (12)

Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
 
Estimation
EstimationEstimation
Estimation
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
FEC 512.04
FEC 512.04FEC 512.04
FEC 512.04
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Chi square test
Chi square testChi square test
Chi square test
 

Ähnlich wie Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Confidence Interval, One-Sample t Test, Matched Pairs t Procedures, Robustness of the t Procedures))

Chapter11
Chapter11Chapter11
Chapter11rwmiller
 
Chapter15
Chapter15Chapter15
Chapter15rwmiller
 
Introduction to the t test
Introduction to the t testIntroduction to the t test
Introduction to the t testSr Edith Bogue
 
Statistics
StatisticsStatistics
Statisticsmegamsma
 
2.0.statistical methods and determination of sample size
2.0.statistical methods and determination of sample size2.0.statistical methods and determination of sample size
2.0.statistical methods and determination of sample sizesalummkata1
 
Chapter 4(1).pptx
Chapter 4(1).pptxChapter 4(1).pptx
Chapter 4(1).pptxmahamoh6
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Testssanketd1983
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Long Beach City College
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsLong Beach City College
 
Statistics and probability
Statistics and probabilityStatistics and probability
Statistics and probabilityShahwarKhan16
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 edSandra Nicks
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 edSandra Nicks
 
The T-test
The T-testThe T-test
The T-testZyrenMisaki
 

Ähnlich wie Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Confidence Interval, One-Sample t Test, Matched Pairs t Procedures, Robustness of the t Procedures)) (20)

Chapter11
Chapter11Chapter11
Chapter11
 
Chapter15
Chapter15Chapter15
Chapter15
 
Introduction to the t test
Introduction to the t testIntroduction to the t test
Introduction to the t test
 
Statistics chm 235
Statistics chm 235Statistics chm 235
Statistics chm 235
 
Statistics
StatisticsStatistics
Statistics
 
2.0.statistical methods and determination of sample size
2.0.statistical methods and determination of sample size2.0.statistical methods and determination of sample size
2.0.statistical methods and determination of sample size
 
Chapter 4(1).pptx
Chapter 4(1).pptxChapter 4(1).pptx
Chapter 4(1).pptx
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Tests
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Statistics and probability
Statistics and probabilityStatistics and probability
Statistics and probability
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
lecture8.ppt
lecture8.pptlecture8.ppt
lecture8.ppt
 
Lecture8
Lecture8Lecture8
Lecture8
 
f and t test
f and t testf and t test
f and t test
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 
The T-test
The T-testThe T-test
The T-test
 

Mehr von nszakir

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositivenszakir
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEnszakir
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Meannszakir
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rulesnszakir
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variablesnszakir
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variablesnszakir
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Modelnszakir
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inferencenszakir
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Designnszakir
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experimentsnszakir
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlationnszakir
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplotsnszakir
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regressionnszakir
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributionsnszakir
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphsnszakir
 

Mehr von nszakir (16)

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositive
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphs
 

KĂŒrzlich hochgeladen

Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerAnamika Sarkar
 

KĂŒrzlich hochgeladen (20)

Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)
Call Us ≜ 8377877756 ≌ Call Girls In Shastri Nagar (Delhi)
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
 

Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Confidence Interval, One-Sample t Test, Matched Pairs t Procedures, Robustness of the t Procedures))

  • 1. INTRODUCTION TO STATISTICS & PROBABILITY Chapter 7: Inference for Distributions Dr. Nahid Sultana 1
  • 2. Chapter 7 Inference for Distributions 7.1 Inference for the Mean of a Population 7.2 Comparing Two Means 2
  • 3. 7.1 Inference for the Mean of a Population 3  The t Distributions  One-Sample t Confidence Interval  One-Sample t Test  Matched Pairs t Procedures  Robustness of the t Procedures
  • 4. 4 Cola manufacturers want to test how much the sweetness of a new cola drink is affected by storage. The sweetness difference due to storage was evaluated by 10 professional tasters (by comparing the sweetness before and after storage): Taster Sweetness difference (D = Before – After) 1 2.0 2 0.4 3 0.7 4 2.0 5 −0.4 6 2.2 7 −1.3 8 1.2 9 1.1 10 2.3 We want to test if storage results in a loss of sweetness: 0”:H;0”:H diffadiff0 >= This looks familiar. However, here we do not know the population parameter σ. This situation is very common with real data. Example – Sweetening colas
  • 5. 5 When σ is unknown The sample s.d. s provides an estimate of the population s.d. σ. When the sample size is large, then s is a good estimate of σ. But when the sample size is small, then s is a poor estimate of σ. The sample is likely to contain elements representative of the whole population. The sample contains only a few individuals.
  • 6. 6 Standard deviation s – standard error s/√n  When σ is not known, we estimate it with the sample standard deviation s.  Then we estimate the standard deviation of by .  This quantity is called the standard error of the sample mean and we denote it by SEM or . Example: A simple random sample of five female basketball players is selected. Their heights (in cm) are 170, 175, 169, 183, and 177. What is the standard error of the mean of these height measurements? Solution: Sample mean = 174.8 Sample s.d, s= √32.2 SEM = = √(32.2/5) = 2.538.
  • 7. 7 The t Distributions Suppose that an SRS of size n is drawn from an N(”,σ) population.  When σ is known, the sampling distribution is N(ÎŒ, σ/√n).  When σ is estimated from the sample standard deviation s, the sampling distribution follows a t-distribution t(ÎŒ, s/√n) with degrees of freedom n − 1.
  • 8. 8 When comparing the density curves of the standard Normal distribution and t distributions, several facts are apparent: The density curves of the t distributions are similar in shape to the standard Normal curve. The spread of the t distributions is a bit greater than that of the standard Normal distribution. The t distributions have more probability in the tails and less in the center than does the standard Normal. As the degrees of freedom increase, the t density curve approaches the standard Normal curve ever more closely. We can use Table D to determine critical values t* for t distributions with different degrees of freedom. The t Distributions
  • 9. 9 Standardizing the data before using Table D As with the normal distribution, the first step is to standardize the data. Then we can use Table D to obtain the area under the curve. Here, ÎŒ is the mean (center) of the sampling distribution, and the standard error of the mean s/√n is its standard deviation (width).
  • 10. 10 Using Table D Suppose you want to construct a 95% confidence interval for the mean ” of a Normal population based on an SRS of size n = 12. What critical t* should you use? In Table D, we consult the row corresponding to df = n – 1 = 11. We move across that row to the entry that is directly above 95% confidence level. Upper-tail probability p df .05 .025 .02 .01 10 1.812 2.228 2.359 2.764 11 1.796 2.201 2.328 2.718 12 1.782 2.179 2.303 2.681 z* 1.645 1.960 2.054 2.326 90% 95% 96% 98% Confidence level C
  • 11. 11 11 One-Sample t Confidence Interval Choose an SRS of size n from a population having unknown mean ”. A level C confidence interval for ” is: where t* is the critical value for the t(n – 1) distribution. The margin of error is This interval is exact when the population distribution is Normal and approximately correct for large n in other cases. The One-Sample t Interval for a Population Mean x ± t * sx n t * sx n  The level C confidence interval is an interval with probability C of containing the true population parameter.  C is the area between −t* and t*.  We find t* from Table D for df = n−1 and confidence level C.
  • 12. 12 Example: Listening to music on cell phones. On average, U.K. subscribers with 3G phones spent an average of 8.3 hours per month listening to full-track music on their cell phones. Suppose we want to determine a 95% confidence interval for the U.S. average and draw the following random sample of size 8 from the U.S. population of 3G subscribers: 5 6 0 4 11 9 2 3 .n-.sx 71df;633,d.s.;5mean,sampleHere ==== The standard error is t∗ = 2.365 The 95% CI is
  • 13. 13 The One-Sample t Test As in the previous chapter, a test of hypotheses requires a few steps: 1. Stating the null and alternative hypotheses (H0 versus Ha) 2. Calculating t and its degrees of freedom 3. Finding the area under the curve with Table D 4. Stating the P-value and interpreting the result t = x − ”0 sx n
  • 14. 14 The One-Sample t Test (Cont
) The P-value is calculated as the corresponding area under the curve, one-tailed or two-tailed depending on Ha:
  • 15. 15 The level of dissolved oxygen (DO) in a stream or river is an important indicator of the water’s ability to support aquatic life. A researcher measures the DO level at 15 randomly chosen locations along a stream. Here are the results in milligrams per liter: We want to perform a test at the α = 0.05 significance level of: H0: ” = 5 Ha: ” < 5 where ” is the actual mean dissolved oxygen level in this stream. Example 4.53 5.04 3.29 5.23 4.13 5.50 4.83 4.40 5.42 6.38 4.01 4.66 2.87 5.73 5.55 A dissolved oxygen level below 5 mg/l puts aquatic life at risk.
  • 16. 16 The P-value is between 0.15 and 0.20, which is greater than our α = 0.05 significance level, - We fail to reject H0. -We don’t have enough evidence to conclude that the mean DO level in the stream is less than 5 mg/l. The sample mean and standard deviation are: P-value The P-value is the area to the left of t = –0.94 under the t distribution curve with df = 15 – 1 = 14. But P(t < –0.94 ) = P(t > 0.94 ) Upper-tail probability p df .25 .20 .15 13 .694 .870 1.079 14 .692 .868 1.076 15 .691 .866 1.074 50% 60% 70% Confidence level C Example (Cont
) H0: ” = 5; Ha: ” < 5
  • 17. Example – Sweetening colas cont
) Is there evidence that storage results in sweetness loss for the new cola recipe at the α=5% level of significance? H0: ÎŒ = 0 versus Ha: ÎŒ > 0 (one-sided test) There is a significant loss of sweetness, on average, following storage.17
  • 18. 18 Matched Pairs t Procedures Matched Pairs t Procedures To compare the responses to the two treatments in a matched-pairs design, find the difference between the responses within each pair. Then apply the one-sample t procedures to these differences. The members of one sample are identical to, or matched (paired) with, the members of the other sample. Example: Pre-test and post-test studies look at data collected on the same sample elements before and after some experiment is performed.
  • 19. 19 Matched Pairs t Procedures Conceptually, this is not different from tests on one population.
  • 20. Example – Sweetening colas (revisited) The sweetness loss due to storage was evaluated by 10 professional tasters (comparing the sweetness before and after storage): Although the text didn’t mention it explicitly, this is a pre-/post-test design and the variable is the difference in cola sweetness before minus after storage. A matched pairs test of significance is indeed just like a one- sample test. 20
  • 21. Example: Does lack of caffeine increase depression? Individuals diagnosed as caffeine dependent are assigned to receive daily pills. Sometimes, the pills contain caffeine and other times they contain a placebo. Depression was assessed. For each individual in the sample, we have calculated a difference in depression score (placebo minus caffeine). Caffeine deprivation causes a significant increase in depression.21