SlideShare a Scribd company logo
Hypothesis Testing
(Statistical Significance)
1
Hypothesis Testing
Goal: Make statement(s) regarding unknown population
parameter values based on sample data
Elements of a hypothesis test:
Null hypothesis - Statement regarding the value(s) of unknown
parameter(s). Typically will imply no association between
explanatory and response variables in our applications (will
always contain an equality)
Alternative hypothesis - Statement contradictory to the null
hypothesis (will always contain an inequality)
The level of significant (Alpha) is the maximum probability of
committing a type I error. P(type I error)= alpha
Definitions
Rejection (alpha, α) Region:
Represents area under the curve that is used to reject the null
hypothesis
Level of Confidence, 1 - alpha (a):
Also known as fail to reject (FTR) region
Represents area under the curve that is used to fail to reject the
null hypothesis
FTR
H0
α/2
α/2
3
1 vs. 2 Sided Tests
Two-sided test
No a priori reason 1 group should have stronger effect
Used for most tests
Example
H0: μ1 = μ2
HA: μ1 ≠ μ2
One-sided test
Specific interest in only one direction
Not scientifically relevant/interesting if reverse situation true
Example
H0: μ1 ≤ μ2
HA: μ1 > μ2
4
Example: It is believed that the mean age of smokers in San
Bernardino is 47. Researchers from LLU believe that the
average age is different than 47.
Hypothesis
H0:μ = 47
HA: μ ≠ 47
μ = 47
α /2 = 0.025
Fail to Reject (FTR)
α /2 = 0.025
5
Three Approaches to Reject or Fail to Reject A Null
Hypothesis:
1a. Confidence interval
Calculate the confidence interval
Decision Rule:
a. If the confidence interval (CI) includes the null, then the
decision must be to fail to reject the H0.
b. If the confidence interval (CI) does not include the null, then
the decision must be to reject the H0.
6
1b. Confidence interval to compare groups
Calculate the confidence interval for each group
Decision Rule:
a. If the confidence interval (CI) overlap, then the decision must
be to fail to reject the H0.
b. If the confidence interval (CI) do not include the null, then
the decision must be to reject the H0.
7
2.Test Statistic
Calculate the test statistic (TS)
Obtain the critical value (CV) from the reference table
Decision Rule:
a. If the test statistic is in the FTR region, then the decision
must be to fail to reject the H0.
b. If the test statistic is in the rejection region, then the decision
must be to reject the H0.
FTR
CV
TS
Since the test statistic is in the rejection region, reject the H0
FTR
CV
Since the test statistic is in the fail to reject region, fail to reject
the H0
TS
CV
CV
8
3. P-Value
Choose α
Calculate value of test statistic from your data
Calculate P- value from test statistic
Decision Rule:
a. If the p-value is less than the level of significance, α, then
the decision must be to reject H0.
b. If the p-value is greater than or equal to the level of
significance ,α, then the decision must be to fail to reject H0.
FTR
CV
TS
FTR
CV TS
P-value
P-value
9
Types of Errors!
Types of Errors TruthHypothesis
TestingDecision
Based on a Random
Sample1-α
(Correct Decision)Type II error (β)
Type I error (α)
1-β ( Power)
(Correct Decision)
Fail to Reject H0
Reject H0
The Null Hypothesis
(H0) is True
The Null Hypothesis
(H0) is False
The level of significant (Alpha) is the maximum probability of
committing a type I error. P(type I error)= alpha
11
FTR
CV
H0 is True
ts
Since the H0 is true and we decide to accept it, we have thus
made a correct decision
Correct Decision
12
FTR
ts
CV
H0 is True
Since the H0 is true and we decide to reject it, we have thus
made an incorrect decision leading to Type I error
Alpha (α) Error
13
ts
FTR
CV
H0 is False
Since the H0 is False and we decide to reject it, we have thus
made a correct decision
Power
14
FTR
ts
CV
H0 is False
Since the H0 is False and we decide to accept it, we have thus
made an incorrect decision leading to type II error.
Beta, β, Error
15
Null Hypothesis
True
Fail to reject
Reject
False
Reject
Correct Decision
Type I
Error
Fail to Reject
Type II
Error
Correct
Decision
How to Reduce Errors
Alpha error is reduced by increasing the confidence interval or
reducing bias
Beta error is reduced by increasing the sample size
Alpha and beta are inversely related
Example
What type of error was possibly committed in the above
example?
How would you reduce the error?
ANOVA
GROUPS
763.000
2
381.500
31.918
.000
251.000
21
11.952
1014.000
23
Between Groups
Within Groups
Total
Sum of
Squares
df
Mean Square
F
Sig.
Understanding Inferential Statistics—Estimation
Types of StatisticsThe choice of a type of analysis is based on:
Research questions.
The type of data collected.
Audience who will receive the results.
Descriptive & Inferential Statistics
Statistical Methods
*
Inference Process
Population
Sample
Sample statistic (`X, Ps )
Estimation & Hypothesis testing
*
Point Estimating &Population Parameters
Population Parameters
µ = Population mean
σ = Population standard deviation
σ2 = Population variance
π = Population proportion
N = The size of the population you can generalize to
Sample Statistics (Point Estimates)
= Mean point Estimate
S = Standard deviation point estimate
S2 = Variance point estimate
P = Proportion point estimate
n = The size of a sample taken from a population
Population Parameter is Unknown
Sample
Statistics
Population Parameters are usually represented by Greek
lettersPoint estimates are usually represented by Roman letters
*
Point Estimating &Population ParametersCharacteristic
measuresPoint estimates
(Sample)Parameters
(Population)MeanµStandard
deviationSσVarianceS2σ2ProportionPπ
Population Parameters are usually represented by Greek
lettersPoint estimates are usually represented by Roman letters
*
Point estimation involves the use of sampledata to calculate a
single value (known as a statistic) which is to serve as a "best
guess" for an unknown population parameter.
Interval estimation is the use of sampledata to calculate an
interval of possible (or probable) values of an unknown
population parameter.
*
Example 1:
The College Board reports that the scores on the 2010 SAT
mathematics test were normally distributed. A sample of 25
scores had a mean of 510. Assume the population standard
deviation is 100. Construct a 95% confidence interval for the
population mean score on the 2010 SAT math test.
Interval Estimation of Population Mean
*For α = 0.05 (95% CI), we get Zα/2 = Z0.025 = 1.96. Interval
Estimation of Population Mean (µ) with Known Variance (σ
Known)
Interpretation: We are 95% confidant that the population mean
SAT score on the 2010 mathematics SAT test lies between
470.8 and 549.2
Solution
:
n = 25, = 510, σ = 100
Example 2:
Estimate with 95% confidence interval the mean cholesterol
level for freshman nursing students using a sample of 30
students who have an average cholesterol of 180mg/dl and a
standard deviation of 34mg/dl. Interval Estimation of
Population Mean (µ) with Unknown Variance (σ Unknown)
Recall,
Note: Since σ ( Standard deviation of the population) is
unknown, we will use s (standard deviation of the sample) in
place of σ. When s is used instead of σ, an error is introduced
because s is only an estimate of σ. We will substitute the Z
value with a another value called the student’s t or just t to
account for this additional error.
If σ is known:
If σ is unknown:
Thus:
d.f * = n-1 = 30-1=29
* Degrees of freedom (d.f) is the number of values that are free
to vary when computing a statistic
Interpretation: we are 95% confidant that the freshman nursing
students population mean cholesterol level is between 167.31
and 192.69

More Related Content

DOCX
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
PPTX
Statr session 15 and 16
PPT
Business Statistics Chapter 9
PDF
Unit 4b- Hypothesis testing and confidence intervals (Slides - up to slide 17...
PPTX
STATISTIC ESTIMATION
PPTX
Inferential Statistics
PDF
Lecture 15 - Hypothesis Testing (1).pdf
DOCX
Inferential statistics
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
Statr session 15 and 16
Business Statistics Chapter 9
Unit 4b- Hypothesis testing and confidence intervals (Slides - up to slide 17...
STATISTIC ESTIMATION
Inferential Statistics
Lecture 15 - Hypothesis Testing (1).pdf
Inferential statistics

Similar to Hypothesis Testing (Statistical Significance)1Hypo.docx (20)

DOCX
Hypothesis Testing Definitions A statistical hypothesi.docx
PDF
SectionVNoteswithAnswers STATS _000 (1).pdf
PPTX
Hypothesis_Testing_Statistic_Zscore.pptx
PPTX
Session 12_Hypothesis Testing-Single Sample Tests.pptx
PDF
XỬ LÝ SỐ LIỆU TRONG PHÂN TÍCH DƯỢC_02.pdf
PPT
hypothesis test
PPTX
Data Science : Unit-I -Hypothesis and Inferences.pptx
PPTX
Hypothsis testing
PPTX
Basic stat analysis using excel
PPT
chapter- 10 One-Sample Tests of Hypothesis
PDF
hypothesis_testing-ch9-39-14402.pdf
PPT
Study unit 4 (oct 2014)
PPT
Study unit 4 (oct 2014)
PPT
Chapter 10
PDF
Hypothesis testing
PPT
5--Test of hypothesis statistics (part_1).ppt
PDF
Modern Marketing Research Concepts Methods and Cases 2nd Edition Feinberg Sol...
PPTX
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
PPTX
7. hypothesis_tot (1)................pptx
PPT
Test signal for the patient and the rest of the week after Christmas
Hypothesis Testing Definitions A statistical hypothesi.docx
SectionVNoteswithAnswers STATS _000 (1).pdf
Hypothesis_Testing_Statistic_Zscore.pptx
Session 12_Hypothesis Testing-Single Sample Tests.pptx
XỬ LÝ SỐ LIỆU TRONG PHÂN TÍCH DƯỢC_02.pdf
hypothesis test
Data Science : Unit-I -Hypothesis and Inferences.pptx
Hypothsis testing
Basic stat analysis using excel
chapter- 10 One-Sample Tests of Hypothesis
hypothesis_testing-ch9-39-14402.pdf
Study unit 4 (oct 2014)
Study unit 4 (oct 2014)
Chapter 10
Hypothesis testing
5--Test of hypothesis statistics (part_1).ppt
Modern Marketing Research Concepts Methods and Cases 2nd Edition Feinberg Sol...
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
7. hypothesis_tot (1)................pptx
Test signal for the patient and the rest of the week after Christmas
Ad

More from adampcarr67227 (20)

DOCX
You are a project manager and believe that your initiative would be .docx
DOCX
You are a project manager at a food agricultural organization and yo.docx
DOCX
You are a nursing educator and you are given an assignment to teach .docx
DOCX
You are a paralegal working at law office of James Adams, Esq. On No.docx
DOCX
you are a paralegal working at the law office of Smith & Smith. The .docx
DOCX
You are a police officer who has been selected to participate in a p.docx
DOCX
You are a newly-minted, tax-paying and law-abiding, permanent res.docx
DOCX
You are a new university police chief in a medium-sized city, an.docx
DOCX
You are a native speaker of French living in a mainly English speaki.docx
DOCX
You are a new high school teacher, and have been captured at the end.docx
DOCX
You are a member of the Human Resource Department of a medium-sized .docx
DOCX
You are a network analyst on the fly-away team for the FBIs cyberse.docx
DOCX
You are a member of the senior management staff at XYZ Corporation. .docx
DOCX
You are a member of the senior hospital administration. You become a.docx
DOCX
YOU ARE A MEMBER OF THE SENIOR HOSPITAL ADMINISTRATI.docx
DOCX
You are a member of the Human Resource Department of a medium-si.docx
DOCX
You are a member of the American Indian tribe. Think about how your .docx
DOCX
You are a juvenile justice consultant creating a proposal that w.docx
DOCX
You are a journalist and you have been sent off to write a story abo.docx
DOCX
You are a juvenile court probation officer. You have a choice of.docx
You are a project manager and believe that your initiative would be .docx
You are a project manager at a food agricultural organization and yo.docx
You are a nursing educator and you are given an assignment to teach .docx
You are a paralegal working at law office of James Adams, Esq. On No.docx
you are a paralegal working at the law office of Smith & Smith. The .docx
You are a police officer who has been selected to participate in a p.docx
You are a newly-minted, tax-paying and law-abiding, permanent res.docx
You are a new university police chief in a medium-sized city, an.docx
You are a native speaker of French living in a mainly English speaki.docx
You are a new high school teacher, and have been captured at the end.docx
You are a member of the Human Resource Department of a medium-sized .docx
You are a network analyst on the fly-away team for the FBIs cyberse.docx
You are a member of the senior management staff at XYZ Corporation. .docx
You are a member of the senior hospital administration. You become a.docx
YOU ARE A MEMBER OF THE SENIOR HOSPITAL ADMINISTRATI.docx
You are a member of the Human Resource Department of a medium-si.docx
You are a member of the American Indian tribe. Think about how your .docx
You are a juvenile justice consultant creating a proposal that w.docx
You are a journalist and you have been sent off to write a story abo.docx
You are a juvenile court probation officer. You have a choice of.docx
Ad

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
GDM (1) (1).pptx small presentation for students
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Lesson notes of climatology university.
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
master seminar digital applications in india
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
01-Introduction-to-Information-Management.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
FourierSeries-QuestionsWithAnswers(Part-A).pdf
RMMM.pdf make it easy to upload and study
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Renaissance Architecture: A Journey from Faith to Humanism
GDM (1) (1).pptx small presentation for students
STATICS OF THE RIGID BODIES Hibbelers.pdf
Lesson notes of climatology university.
102 student loan defaulters named and shamed – Is someone you know on the list?
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Insiders guide to clinical Medicine.pdf
Cell Types and Its function , kingdom of life
master seminar digital applications in india
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
PPH.pptx obstetrics and gynecology in nursing
2.FourierTransform-ShortQuestionswithAnswers.pdf
01-Introduction-to-Information-Management.pdf

Hypothesis Testing (Statistical Significance)1Hypo.docx

  • 1. Hypothesis Testing (Statistical Significance) 1 Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample data Elements of a hypothesis test: Null hypothesis - Statement regarding the value(s) of unknown parameter(s). Typically will imply no association between explanatory and response variables in our applications (will always contain an equality) Alternative hypothesis - Statement contradictory to the null hypothesis (will always contain an inequality) The level of significant (Alpha) is the maximum probability of committing a type I error. P(type I error)= alpha Definitions Rejection (alpha, α) Region: Represents area under the curve that is used to reject the null hypothesis Level of Confidence, 1 - alpha (a): Also known as fail to reject (FTR) region Represents area under the curve that is used to fail to reject the null hypothesis
  • 2. FTR H0 α/2 α/2 3 1 vs. 2 Sided Tests Two-sided test No a priori reason 1 group should have stronger effect Used for most tests Example H0: μ1 = μ2 HA: μ1 ≠ μ2 One-sided test Specific interest in only one direction Not scientifically relevant/interesting if reverse situation true Example H0: μ1 ≤ μ2 HA: μ1 > μ2 4 Example: It is believed that the mean age of smokers in San Bernardino is 47. Researchers from LLU believe that the average age is different than 47. Hypothesis H0:μ = 47 HA: μ ≠ 47
  • 3. μ = 47 α /2 = 0.025 Fail to Reject (FTR) α /2 = 0.025 5 Three Approaches to Reject or Fail to Reject A Null Hypothesis: 1a. Confidence interval Calculate the confidence interval Decision Rule: a. If the confidence interval (CI) includes the null, then the decision must be to fail to reject the H0. b. If the confidence interval (CI) does not include the null, then the decision must be to reject the H0. 6 1b. Confidence interval to compare groups Calculate the confidence interval for each group Decision Rule:
  • 4. a. If the confidence interval (CI) overlap, then the decision must be to fail to reject the H0. b. If the confidence interval (CI) do not include the null, then the decision must be to reject the H0. 7 2.Test Statistic Calculate the test statistic (TS) Obtain the critical value (CV) from the reference table Decision Rule: a. If the test statistic is in the FTR region, then the decision must be to fail to reject the H0. b. If the test statistic is in the rejection region, then the decision must be to reject the H0. FTR CV TS Since the test statistic is in the rejection region, reject the H0 FTR CV
  • 5. Since the test statistic is in the fail to reject region, fail to reject the H0 TS CV CV 8 3. P-Value Choose α Calculate value of test statistic from your data Calculate P- value from test statistic Decision Rule: a. If the p-value is less than the level of significance, α, then the decision must be to reject H0. b. If the p-value is greater than or equal to the level of significance ,α, then the decision must be to fail to reject H0. FTR CV TS FTR
  • 6. CV TS P-value P-value 9 Types of Errors! Types of Errors TruthHypothesis TestingDecision Based on a Random Sample1-α (Correct Decision)Type II error (β) Type I error (α) 1-β ( Power) (Correct Decision) Fail to Reject H0 Reject H0 The Null Hypothesis (H0) is True
  • 7. The Null Hypothesis (H0) is False The level of significant (Alpha) is the maximum probability of committing a type I error. P(type I error)= alpha 11 FTR CV H0 is True ts Since the H0 is true and we decide to accept it, we have thus made a correct decision Correct Decision 12 FTR ts CV H0 is True
  • 8. Since the H0 is true and we decide to reject it, we have thus made an incorrect decision leading to Type I error Alpha (α) Error 13 ts FTR CV H0 is False Since the H0 is False and we decide to reject it, we have thus made a correct decision Power 14 FTR ts
  • 9. CV H0 is False Since the H0 is False and we decide to accept it, we have thus made an incorrect decision leading to type II error. Beta, β, Error 15 Null Hypothesis True Fail to reject Reject False Reject Correct Decision
  • 10. Type I Error Fail to Reject Type II Error Correct Decision
  • 11. How to Reduce Errors Alpha error is reduced by increasing the confidence interval or reducing bias Beta error is reduced by increasing the sample size Alpha and beta are inversely related Example What type of error was possibly committed in the above example? How would you reduce the error? ANOVA GROUPS 763.000 2 381.500 31.918 .000 251.000 21 11.952 1014.000 23 Between Groups Within Groups Total Sum of Squares df
  • 12. Mean Square F Sig. Understanding Inferential Statistics—Estimation Types of StatisticsThe choice of a type of analysis is based on: Research questions. The type of data collected. Audience who will receive the results. Descriptive & Inferential Statistics Statistical Methods * Inference Process Population Sample Sample statistic (`X, Ps )
  • 13. Estimation & Hypothesis testing * Point Estimating &Population Parameters Population Parameters µ = Population mean σ = Population standard deviation σ2 = Population variance π = Population proportion N = The size of the population you can generalize to Sample Statistics (Point Estimates) = Mean point Estimate S = Standard deviation point estimate S2 = Variance point estimate P = Proportion point estimate n = The size of a sample taken from a population Population Parameter is Unknown Sample Statistics Population Parameters are usually represented by Greek lettersPoint estimates are usually represented by Roman letters *
  • 14. Point Estimating &Population ParametersCharacteristic measuresPoint estimates (Sample)Parameters (Population)MeanµStandard deviationSσVarianceS2σ2ProportionPπ Population Parameters are usually represented by Greek lettersPoint estimates are usually represented by Roman letters * Point estimation involves the use of sampledata to calculate a single value (known as a statistic) which is to serve as a "best guess" for an unknown population parameter. Interval estimation is the use of sampledata to calculate an interval of possible (or probable) values of an unknown population parameter. * Example 1: The College Board reports that the scores on the 2010 SAT mathematics test were normally distributed. A sample of 25
  • 15. scores had a mean of 510. Assume the population standard deviation is 100. Construct a 95% confidence interval for the population mean score on the 2010 SAT math test. Interval Estimation of Population Mean *For α = 0.05 (95% CI), we get Zα/2 = Z0.025 = 1.96. Interval Estimation of Population Mean (µ) with Known Variance (σ Known) Interpretation: We are 95% confidant that the population mean SAT score on the 2010 mathematics SAT test lies between 470.8 and 549.2 Solution : n = 25, = 510, σ = 100
  • 16. Example 2: Estimate with 95% confidence interval the mean cholesterol level for freshman nursing students using a sample of 30 students who have an average cholesterol of 180mg/dl and a standard deviation of 34mg/dl. Interval Estimation of Population Mean (µ) with Unknown Variance (σ Unknown) Recall, Note: Since σ ( Standard deviation of the population) is unknown, we will use s (standard deviation of the sample) in place of σ. When s is used instead of σ, an error is introduced because s is only an estimate of σ. We will substitute the Z value with a another value called the student’s t or just t to account for this additional error. If σ is known:
  • 17. If σ is unknown: Thus: d.f * = n-1 = 30-1=29 * Degrees of freedom (d.f) is the number of values that are free to vary when computing a statistic Interpretation: we are 95% confidant that the freshman nursing students population mean cholesterol level is between 167.31 and 192.69