SlideShare a Scribd company logo
1 of 37
Week 7:
Hypothesis Testing:
               z-test


                        1
Review
   We have seen descriptive statistics, statistical
    procedures to summarize data and describe
    distributions and individual scores.
   We also need inferential statistics, techniques
    that can help us to test hypotheses, to
    generalize results to a given population, and
    to estimate the parameters of a population.


                                                   2
Statistics and Parameters
   Statistics are the facts on which we draw
    conclusions about parameters.
   Sample statistics are only estimates of the
    population parameters.
   We need to know how the sample we have
    taken compares with other samples that
    might be taken from the population.


                                                  3
Sampling distribution of the mean

   Sampling distribution of the mean is the
    distribution of sample means for all samples
    of a given size randomly selected from the
    population.
   If we had generated all possible samples, the
    mean of the possible values of sample mean
    would agree exactly with μ.


                                                    4
Central Limit Theorem for sample mean



   When n (sample size) is large, the sampling
    distribution of sample means will be
    approximately normal (with the approximation
    becoming more precise as n increases).
   When the population distribution is normal,
    the sampling distribution of sample means is
    exactly normal for any sample size n.

                                               5
Example:
   What is the probability of getting a sample
    mean of 104 or higher on an IQ test (μ = 100,
    σ = 15) with a random sample of n = 36?
   Calculate the standard error for samples of n
    = 36:
    (σx) = σ = 15 = 15 = 2.5
         √n √36     6

                                                    6
Draw the distribution of the
sample means:




        92.5    95    97.5    100   102.5   105    107.5

The probability of getting a sample mean of 107.5 is .0013.

The probability of getting a sample mean of 104 or higher is ____.

                                                                     7
We would need to compute a z
score to figure out what the
probability of getting a sample
mean of 104 or higher:
   Compute a z score:

Z = 104 - 100 = 4 = 1.60
    2.5        2.5

0.0548 probability of getting a sample mean of 104.



                                                      8
Steps of Hypothesis Testing

1. State the hypotheses.
2. Set the criterion for rejecting Ho (null hypothesis).
3. Compute the test statistic.
4. Compare test statistic to criterion set.
   * Create a confidence interval and interpret.
5. Decide about null Ho.




                                                           9
1. Stating the Hypotheses
   Null hypothesis (Ho): The hypothesis to be
    tested. Usual states “no difference between
    groups” or “no relationship between
    variables.” Any difference or relationship you
    observe is most likely due to chance.
   Research/Alternative hypothesis (H1):
    Conjecture about one or more population
    parameters.
       Can be non-directional or directional.
                                                     10
Directionality of the test

   A directional alternative hypothesis states
    that the parameter is statistically
    significantly greater than or less than the
    hypothesized value.
   A non-directional alternative hypothesis
    merely states that the parameter is
    statistically significantly different from (not
    equal to) the hypothesized value.
                                                      11
Examples:
   Non-directional hypothesis:
       There is a statistically significant difference in
        males and females on math achievement test
        scores.

       How can we rephrase this to be a directional
        hypothesis?



                                                             12
Errors in Inferential Statistics

   Type I error: Reject Ho when it’s true.
   Type II error: Fail to reject Ho when it’s false.
   We’ll discuss Type I error and Type II error when
    we look at statistical power next week.




                                                        13
2. Setting the Criterion for
Rejecting Ho
   Level of significance (α level): the probability of
    making a Type I error when testing a null
    hypothesis.
   Establish α level before collecting data. Alpha levels:
    .10,.05,.01,.001….
   In deciding to reject the hypothesis at one of these
    levels, the researcher knows that the decision to
    reject the hypothesis may be incorrect 1%, 5%, or
    10% of the time, respectively.



                                                          14
Rejection Region
   The level of significance represents a proportion of area
    in a sampling distribution that equals the probability of
    rejecting the Ho if it is true.
   Rejection region refers to the area of the sampling
    distribution that represents values for the sample means
    that are improbable (possible but highly unlikely) if the
    Ho is true.
   The critical values of the test statistic are those values in
    the sampling distribution that represent the beginning of
    the region of rejection.
   The directionality of the test (one-tailed or two tailed)
    affects the critical values.
                                                                15
   See pages 181 – 188 in text for examples
    depicting the relationship between the critical
    value and rejection region.




                                                  16
3. Computing test statistic to
compute P-value
   P value: The probability of obtaining a value of the
    test statistic that is as likely or more likely to reject
    Ho as the actual observed value of the test
    statistic.
   P value Ranges from 0 to 1.
   Answers: If the populations really have the same
    mean overall, what is the probability that random
    sampling would lead to a difference between
    sample means as large (or larger) than you
    observed?
   Do we want a large or small p value?
                                                                17
Interpreting P-value
   “The probability is greater than .05 that the
    observed sample mean would have occurred
    by chance if the null hypothesis were true” (p.
    195).
       The difference between the sample mean and the
        hypothesized value of the population is sufficient
        (or not sufficient) enough to attribute it to anything
        other than sampling error.


                                                             18
4. Compare P value to preset threshold value:
Create confidence interval “Interval Estimate”
     Confidence Interval: Provides an indication of how
      accurately the sample mean estimates population
      mean.
     An interval of possible values for population mean in
      place of using just a single value of sample mean.
     Confidence Coefficient = 1-α
     When α=.05, a 95% confidence interval indicates
      that 95% of the time in repeated sampling, intervals
      calculated will contain the population mean (true
      parameter).

                                                          19
5. Make Decision about Ho
 1.   If P value is less than the threshold, state that
      you “reject the null hypothesis” and conclude
      that the difference is “statistically significant.”

 2. If P value is greater than the threshold, state that
       you “fail to reject the null hypothesis” and
       conclude that the difference is “not statistically
       significant.” The difference is within distribution
       of sampling fluctuation.


                                                             20
Revisiting Hypothesis Testing
Steps:
o   State hypotheses.
o   Set criterion.
o   Compute appropriate test statistic to compute the
    P value.
o   Compare the P value to the preset threshold
    value.
o   Make decision.




                                                        21
Z-test
   Determine the magnitude of the difference
    between sample mean and population
    mean.

   The population mean μ and its standard
    deviation σ are known.



                                                22
Z-test Example 1: non-
directional




                         23
1. State hypotheses:

Ho: Children who learn whole language approach do not
    statistically significantly differ from the average child in word
    recognition (µ = 75%, σ = 5%).

    In symbols: Ho: µ = 75%.

H1: Children who learn whole language approach statistically
     significantly differ from the average child with respect to
     word recognition (µ = 75%, σ = 5%).

    In symbols: H1: µ ≠ 75%.

                                                                    24
2. Set Criterion for Decision
α = 0.05, thus the critical values (C.V.) are ± 1.96.

                          Rejection region   Rejection region




                                                                25
3. Collect data and compute
test statistic
Sample mean= 78%
Population mean = 75%
                                This is the test statistic
σ = 5%                            which is a z –score
                                    (unit: standard
n = 50                                 deviation)


     x−µ
Z=   σ     .78 - .75 = 0.03     = 4.24
       n    .05 /√50 .05 /√50

                                                             26
4. Compare P value to criterion
  set.
    Critical values are
   determined by alpha
levels and indicate where                          Plot test statistic
  your rejection region                            to see if in
          begins                                   rejection region



                                                    4.24




 If the test statistic is in the rejection region, reject the null
 hypothesis. In other words, if the test statistic exceeds the           27
 critical value, reject the null hypothesis.
5. Make Decision

   We reject the null hypothesis and conclude
    that children who learn the whole language
    statistically significantly differ from the
    average child in word recognition, z = 4.24, p
    < .05.



                                                     28
Compute confidence interval
  Alpha set a 0.05. Thus, we build a 95% confidence interval and
   the critical values are ± 1.96.
CI95 = μ ± Critical value (σ )          Standard error
                           √n
CI95% = .75 ± 1.96 (.05 / √50 ) = .75 ± .01 =

[.74, .76]

   95% of all possible means for samples of size 50 in the population
    will fall between 74% and 76%.

   Our sample mean of 78% falls outside of the interval we built.


                                                                         29
Z-test Example 2: Directional




                                30
1. State hypotheses:
Ho: Babies born to mothers who smoke do not
    significantly differ in birth weight than the
    average baby (µ = 7.5, σ = 1.2).
 Ho: µ = 7.5
H1: Babies born to mothers who smoke weigh
    significantly less than the average baby at
    birth (µ = 7.5, σ = 1.2).
 H1: µ < 7.5.

                                                    31
2. Set Criterion.
α = 0.05
 Since this is a directional test, only look at
  one side (tail) of the distribution.
 What is the z-score corresponding to 0.05?
     1.64 + 1.65 / 2 = 1.645.
     Use - 1.645 since the hypothesized mean is
      smaller than the population mean in the H1.



                                                    32
3. Compute Test Statistic.
Sample mean = 7.1
Population mean = 7.5
σ = 1.2                     This is the test statistic
                              which is a z –score
                                (unit: standard
n = 50                             deviation)

   x−µ
Z=     = 7.1 – 7.5 = -.40 = -2.36
   σ     1.2 /√50 1.2 /√50
     n
                                                   33
4. Compare P value to criterion
set.



         -2.36




                                  34
5. Make Decision.
We reject the null hypothesis and conclude
 that babies born to mothers who smoke
 weigh statistically significantly less than the
 average baby at birth, z = -2.36, p < .05.




                                                   35
Compute confidence interval:
CI95 = μ ± Critical value (σ )
                          √n
CI95 = 7.5 - 1.645 (1.2) = 7.22
                      √50
   Directional test: Any group of 50 babies born to
    mothers who smoke who are less than 7.22
    pounds are significantly lower than the
    average baby.
                                                   36
Recommended note cards:
   Steps in hypothesis testing
   Critical values associated with alpha levels of .05
    and .01 (most commonly used) for a one and two-
    tailed test. Use page 189 in your text as a guide.
   Z-test
       When to use a Z-test
       Formula for computing a Z-test
   Confidence interval
       Formula
       Interpretation
                                                          37

More Related Content

What's hot

wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank testraj shekar
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestSahil Jain
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantPRAJAKTASAWANT33
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,Naveen K L
 
Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testingAmitaChaudhary19
 
Inferential statictis ready go
Inferential statictis ready goInferential statictis ready go
Inferential statictis ready goMmedsc Hahm
 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence intervalHomework Guru
 
Advance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestAdvance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestJoshua Batalla
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introductionGeetika Gulyani
 
What is a one sample wilcoxon test
What is a one sample wilcoxon testWhat is a one sample wilcoxon test
What is a one sample wilcoxon testKen Plummer
 
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
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements DrZahid Khan
 

What's hot (20)

wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testing
 
Inferential statictis ready go
Inferential statictis ready goInferential statictis ready go
Inferential statictis ready go
 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence interval
 
Advance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestAdvance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank Test
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Degree of freedom.pptx
Degree of freedom.pptxDegree of freedom.pptx
Degree of freedom.pptx
 
What is a one sample wilcoxon test
What is a one sample wilcoxon testWhat is a one sample wilcoxon test
What is a one sample wilcoxon test
 
T test
T testT test
T test
 
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...
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Variability
VariabilityVariability
Variability
 

Similar to Hypothesis Testing: z-test Explained

20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhdHimanshuSharma723273
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsMaria Theresa
 
Inferential statistics hand out (2)
Inferential statistics hand out (2)Inferential statistics hand out (2)
Inferential statistics hand out (2)Kimberly Ann Yabut
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis TestingSr Edith Bogue
 
Lecture2 hypothesis testing
Lecture2 hypothesis testingLecture2 hypothesis testing
Lecture2 hypothesis testingo_devinyak
 
What So Funny About Proportion Testv3
What So Funny About Proportion Testv3What So Funny About Proportion Testv3
What So Funny About Proportion Testv3ChrisConnors
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesissvmmcradonco1
 
Probability and basic statistics with R
Probability and basic statistics with RProbability and basic statistics with R
Probability and basic statistics with RAlberto Labarga
 

Similar to Hypothesis Testing: z-test Explained (20)

Tests of significance
Tests of significanceTests of significance
Tests of significance
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Inferential statistics hand out (2)
Inferential statistics hand out (2)Inferential statistics hand out (2)
Inferential statistics hand out (2)
 
Elements of inferential statistics
Elements of inferential statisticsElements of inferential statistics
Elements of inferential statistics
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
L hypo testing
L hypo testingL hypo testing
L hypo testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
Hypo
HypoHypo
Hypo
 
312320.pptx
312320.pptx312320.pptx
312320.pptx
 
Lecture2 hypothesis testing
Lecture2 hypothesis testingLecture2 hypothesis testing
Lecture2 hypothesis testing
 
What So Funny About Proportion Testv3
What So Funny About Proportion Testv3What So Funny About Proportion Testv3
What So Funny About Proportion Testv3
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
 
Statistics
StatisticsStatistics
Statistics
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
 
Statistics
StatisticsStatistics
Statistics
 
Probability and basic statistics with R
Probability and basic statistics with RProbability and basic statistics with R
Probability and basic statistics with R
 
Test of hypotheses part i
Test of hypotheses part iTest of hypotheses part i
Test of hypotheses part i
 

More from shoffma5

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grantshoffma5
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanksshoffma5
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculumshoffma5
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Testshoffma5
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samplesshoffma5
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anovashoffma5
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Testshoffma5
 
Error And Power
Error And PowerError And Power
Error And Powershoffma5
 
Variables
 Variables Variables
Variablesshoffma5
 
Standard Scores
Standard ScoresStandard Scores
Standard Scoresshoffma5
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)shoffma5
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabiltyshoffma5
 
Objective Items
Objective ItemsObjective Items
Objective Itemsshoffma5
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rulesshoffma5
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1shoffma5
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)shoffma5
 
Grading 101
Grading 101Grading 101
Grading 101shoffma5
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessmentshoffma5
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7reviewshoffma5
 

More from shoffma5 (20)

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanks
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculum
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
 
Error And Power
Error And PowerError And Power
Error And Power
 
Variables
 Variables Variables
Variables
 
Standard Scores
Standard ScoresStandard Scores
Standard Scores
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabilty
 
Objective Items
Objective ItemsObjective Items
Objective Items
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rules
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)
 
Grading 101
Grading 101Grading 101
Grading 101
 
Essays
EssaysEssays
Essays
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessment
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7review
 

Recently uploaded

Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...ShrutiBose4
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfRbc Rbcua
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCRashishs7044
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 

Recently uploaded (20)

Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...
Ms Motilal Padampat Sugar Mills vs. State of Uttar Pradesh & Ors. - A Milesto...
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdf
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 

Hypothesis Testing: z-test Explained

  • 2. Review  We have seen descriptive statistics, statistical procedures to summarize data and describe distributions and individual scores.  We also need inferential statistics, techniques that can help us to test hypotheses, to generalize results to a given population, and to estimate the parameters of a population. 2
  • 3. Statistics and Parameters  Statistics are the facts on which we draw conclusions about parameters.  Sample statistics are only estimates of the population parameters.  We need to know how the sample we have taken compares with other samples that might be taken from the population. 3
  • 4. Sampling distribution of the mean  Sampling distribution of the mean is the distribution of sample means for all samples of a given size randomly selected from the population.  If we had generated all possible samples, the mean of the possible values of sample mean would agree exactly with μ. 4
  • 5. Central Limit Theorem for sample mean  When n (sample size) is large, the sampling distribution of sample means will be approximately normal (with the approximation becoming more precise as n increases).  When the population distribution is normal, the sampling distribution of sample means is exactly normal for any sample size n. 5
  • 6. Example:  What is the probability of getting a sample mean of 104 or higher on an IQ test (μ = 100, σ = 15) with a random sample of n = 36?  Calculate the standard error for samples of n = 36: (σx) = σ = 15 = 15 = 2.5 √n √36 6 6
  • 7. Draw the distribution of the sample means: 92.5 95 97.5 100 102.5 105 107.5 The probability of getting a sample mean of 107.5 is .0013. The probability of getting a sample mean of 104 or higher is ____. 7
  • 8. We would need to compute a z score to figure out what the probability of getting a sample mean of 104 or higher:  Compute a z score: Z = 104 - 100 = 4 = 1.60 2.5 2.5 0.0548 probability of getting a sample mean of 104. 8
  • 9. Steps of Hypothesis Testing 1. State the hypotheses. 2. Set the criterion for rejecting Ho (null hypothesis). 3. Compute the test statistic. 4. Compare test statistic to criterion set. * Create a confidence interval and interpret. 5. Decide about null Ho. 9
  • 10. 1. Stating the Hypotheses  Null hypothesis (Ho): The hypothesis to be tested. Usual states “no difference between groups” or “no relationship between variables.” Any difference or relationship you observe is most likely due to chance.  Research/Alternative hypothesis (H1): Conjecture about one or more population parameters.  Can be non-directional or directional. 10
  • 11. Directionality of the test  A directional alternative hypothesis states that the parameter is statistically significantly greater than or less than the hypothesized value.  A non-directional alternative hypothesis merely states that the parameter is statistically significantly different from (not equal to) the hypothesized value. 11
  • 12. Examples:  Non-directional hypothesis:  There is a statistically significant difference in males and females on math achievement test scores.  How can we rephrase this to be a directional hypothesis? 12
  • 13. Errors in Inferential Statistics  Type I error: Reject Ho when it’s true.  Type II error: Fail to reject Ho when it’s false.  We’ll discuss Type I error and Type II error when we look at statistical power next week. 13
  • 14. 2. Setting the Criterion for Rejecting Ho  Level of significance (α level): the probability of making a Type I error when testing a null hypothesis.  Establish α level before collecting data. Alpha levels: .10,.05,.01,.001….  In deciding to reject the hypothesis at one of these levels, the researcher knows that the decision to reject the hypothesis may be incorrect 1%, 5%, or 10% of the time, respectively. 14
  • 15. Rejection Region  The level of significance represents a proportion of area in a sampling distribution that equals the probability of rejecting the Ho if it is true.  Rejection region refers to the area of the sampling distribution that represents values for the sample means that are improbable (possible but highly unlikely) if the Ho is true.  The critical values of the test statistic are those values in the sampling distribution that represent the beginning of the region of rejection.  The directionality of the test (one-tailed or two tailed) affects the critical values. 15
  • 16. See pages 181 – 188 in text for examples depicting the relationship between the critical value and rejection region. 16
  • 17. 3. Computing test statistic to compute P-value  P value: The probability of obtaining a value of the test statistic that is as likely or more likely to reject Ho as the actual observed value of the test statistic.  P value Ranges from 0 to 1.  Answers: If the populations really have the same mean overall, what is the probability that random sampling would lead to a difference between sample means as large (or larger) than you observed?  Do we want a large or small p value? 17
  • 18. Interpreting P-value  “The probability is greater than .05 that the observed sample mean would have occurred by chance if the null hypothesis were true” (p. 195).  The difference between the sample mean and the hypothesized value of the population is sufficient (or not sufficient) enough to attribute it to anything other than sampling error. 18
  • 19. 4. Compare P value to preset threshold value: Create confidence interval “Interval Estimate”  Confidence Interval: Provides an indication of how accurately the sample mean estimates population mean.  An interval of possible values for population mean in place of using just a single value of sample mean.  Confidence Coefficient = 1-α  When α=.05, a 95% confidence interval indicates that 95% of the time in repeated sampling, intervals calculated will contain the population mean (true parameter). 19
  • 20. 5. Make Decision about Ho 1. If P value is less than the threshold, state that you “reject the null hypothesis” and conclude that the difference is “statistically significant.” 2. If P value is greater than the threshold, state that you “fail to reject the null hypothesis” and conclude that the difference is “not statistically significant.” The difference is within distribution of sampling fluctuation. 20
  • 21. Revisiting Hypothesis Testing Steps: o State hypotheses. o Set criterion. o Compute appropriate test statistic to compute the P value. o Compare the P value to the preset threshold value. o Make decision. 21
  • 22. Z-test  Determine the magnitude of the difference between sample mean and population mean.  The population mean μ and its standard deviation σ are known. 22
  • 23. Z-test Example 1: non- directional 23
  • 24. 1. State hypotheses: Ho: Children who learn whole language approach do not statistically significantly differ from the average child in word recognition (µ = 75%, σ = 5%). In symbols: Ho: µ = 75%. H1: Children who learn whole language approach statistically significantly differ from the average child with respect to word recognition (µ = 75%, σ = 5%). In symbols: H1: µ ≠ 75%. 24
  • 25. 2. Set Criterion for Decision α = 0.05, thus the critical values (C.V.) are ± 1.96. Rejection region Rejection region 25
  • 26. 3. Collect data and compute test statistic Sample mean= 78% Population mean = 75% This is the test statistic σ = 5% which is a z –score (unit: standard n = 50 deviation) x−µ Z= σ .78 - .75 = 0.03 = 4.24 n .05 /√50 .05 /√50 26
  • 27. 4. Compare P value to criterion set. Critical values are determined by alpha levels and indicate where Plot test statistic your rejection region to see if in begins rejection region 4.24 If the test statistic is in the rejection region, reject the null hypothesis. In other words, if the test statistic exceeds the 27 critical value, reject the null hypothesis.
  • 28. 5. Make Decision  We reject the null hypothesis and conclude that children who learn the whole language statistically significantly differ from the average child in word recognition, z = 4.24, p < .05. 28
  • 29. Compute confidence interval  Alpha set a 0.05. Thus, we build a 95% confidence interval and the critical values are ± 1.96. CI95 = μ ± Critical value (σ ) Standard error √n CI95% = .75 ± 1.96 (.05 / √50 ) = .75 ± .01 = [.74, .76]  95% of all possible means for samples of size 50 in the population will fall between 74% and 76%.  Our sample mean of 78% falls outside of the interval we built. 29
  • 30. Z-test Example 2: Directional 30
  • 31. 1. State hypotheses: Ho: Babies born to mothers who smoke do not significantly differ in birth weight than the average baby (µ = 7.5, σ = 1.2). Ho: µ = 7.5 H1: Babies born to mothers who smoke weigh significantly less than the average baby at birth (µ = 7.5, σ = 1.2). H1: µ < 7.5. 31
  • 32. 2. Set Criterion. α = 0.05  Since this is a directional test, only look at one side (tail) of the distribution.  What is the z-score corresponding to 0.05?  1.64 + 1.65 / 2 = 1.645.  Use - 1.645 since the hypothesized mean is smaller than the population mean in the H1. 32
  • 33. 3. Compute Test Statistic. Sample mean = 7.1 Population mean = 7.5 σ = 1.2 This is the test statistic which is a z –score (unit: standard n = 50 deviation) x−µ Z= = 7.1 – 7.5 = -.40 = -2.36 σ 1.2 /√50 1.2 /√50 n 33
  • 34. 4. Compare P value to criterion set. -2.36 34
  • 35. 5. Make Decision. We reject the null hypothesis and conclude that babies born to mothers who smoke weigh statistically significantly less than the average baby at birth, z = -2.36, p < .05. 35
  • 36. Compute confidence interval: CI95 = μ ± Critical value (σ ) √n CI95 = 7.5 - 1.645 (1.2) = 7.22 √50  Directional test: Any group of 50 babies born to mothers who smoke who are less than 7.22 pounds are significantly lower than the average baby. 36
  • 37. Recommended note cards:  Steps in hypothesis testing  Critical values associated with alpha levels of .05 and .01 (most commonly used) for a one and two- tailed test. Use page 189 in your text as a guide.  Z-test  When to use a Z-test  Formula for computing a Z-test  Confidence interval  Formula  Interpretation 37