ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Tools for Quantitative Reasoning
    MATH2118
    Progress0 / 27 topics
    Topics
    1. Logic, Logical and Critical Reasoning: Introduction and importance of logic2. Inductive, deductive and abductive approaches of reasoning3. Propositions4. Argutnents (valid and invalid5. Logical connectives6. Truth tables and propositional equivalences7. Logical fallacies8. Venn Diagrams9. Predicates and quantifiers10. Quantitative reasoning exercises using logical reasoning concepts and techniques11. Mathematical Modeling and Analyses12. Introduction to deterministic models13. Use of linear functions for modeling in real-world situations14. Modeling with the system of linear equations and their solutions15. Elementary introduction to derivatives in mathematical modeling16. Linear and exponential growth and decay models17. Quantitative reasoning exercises using mathematical modeling18. Statistical Modeling and Analyses19. Introduction to probabilistic models20. Bivariate analysis, scatter plots21. Simple linear regression model and correlation analysis22. Basics of estimation and confidence interval23. Testing of hypothesis24. z-test25. t-test26. Statistical inference in decision making27. Quantitative reasoning exercises using statistical modeling
    MATH2118›z-test
    Tools for Quantitative ReasoningTopic 24 of 27

    z-test

    5 minread
    928words
    Intermediatelevel

    A z-test is a statistical method used to determine whether there is a significant difference between the means of two groups or whether a sample mean significantly differs from a known population mean. It is based on the assumption that the sampling distribution of the sample mean is normally distributed, especially when the sample size is large (typically n≥30n \geq 30n≥30).

    Key Concepts of the Z-Test

    1. Z-Score:

      • The z-score measures how many standard deviations an element is from the mean. It is calculated as:
      z=xˉ−μσ/nz = \frac{\bar{x} - \mu}{\sigma/\sqrt{n}}z=σ/n​xˉ−μ​
      • Where:
        • xˉ\bar{x}xˉ: Sample mean
        • μ\muμ: Population mean
        • σ\sigmaσ: Population standard deviation
        • nnn: Sample size
    2. Assumptions:

      • The data should be normally distributed, or the sample size should be large enough for the Central Limit Theorem to apply.
      • The population standard deviation (σ\sigmaσ) is known.

    Types of Z-Tests

    1. One-Sample Z-Test:

      • Used to determine whether the mean of a single sample is significantly different from a known population mean.
      • Hypotheses:
        • Null hypothesis (H0H_0H0​): The sample mean is equal to the population mean (xˉ=μ\bar{x} = \muxˉ=μ).
        • Alternative hypothesis (HaH_aHa​: The sample mean is not equal to the population mean (xˉ≠μ\bar{x} \neq \muxˉ=μ).
    2. Two-Sample Z-Test:

      • Used to compare the means of two independent samples.
      • Hypotheses:
        • Null hypothesis (H0H_0H0​): The means of the two samples are equal (μ1=μ2\mu_1 = \mu_2μ1​=μ2​).
        • Alternative hypothesis (HaH_aHa​): The means of the two samples are not equal (μ1≠μ2\mu_1 \neq \mu_2μ1​=μ2​).
      • The formula for the z-score in a two-sample z-test is:
      z=xˉ1−xˉ2σ12n1+σ22n2z = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}z=n1​σ12​​+n2​σ22​​​xˉ1​−xˉ2​​
      • Where:
        • xˉ1,xˉ2\bar{x}_1, \bar{x}_2xˉ1​,xˉ2​: Sample means
        • σ1,σ2\sigma_1, \sigma_2σ1​,σ2​: Population standard deviations
        • n1,n2n_1, n_2n1​,n2​: Sample sizes

    Steps to Conduct a Z-Test

    1. State the Hypotheses:

      • Define the null and alternative hypotheses.
    2. Collect Data:

      • Gather the necessary sample data.
    3. Calculate the Z-Score:

      • Use the appropriate formula based on whether it’s a one-sample or two-sample test.
    4. Determine the Critical Value:

      • Use a z-table (standard normal distribution table) to find the critical z-value based on the desired significance level (α\alphaα), typically 0.05 for a 95% confidence level.
    5. Make a Decision:

      • Compare the calculated z-score to the critical z-value:
        • If ∣z∣>zcritical|z| > z_{\text{critical}}∣z∣>zcritical​: Reject the null hypothesis.
        • If ∣z∣≤zcritical|z| \leq z_{\text{critical}}∣z∣≤zcritical​: Fail to reject the null hypothesis.

    Example of a One-Sample Z-Test

    Scenario: A factory claims that the average lifespan of its light bulbs is 1000 hours. A quality control manager tests a sample of 40 bulbs and finds an average lifespan of 970 hours with a population standard deviation of 120 hours. Is there enough evidence to reject the factory's claim at the 0.05 significance level?

    1. State the Hypotheses:

      • H0:μ=1000H_0: \mu = 1000H0​:μ=1000 (the average lifespan is 1000 hours)
      • Ha:μ≠1000H_a: \mu \neq 1000Ha​:μ=1000 (the average lifespan is not 1000 hours)
    2. Collect Data:

      • Sample mean (xˉ=970\bar{x} = 970xˉ=970), population standard deviation (σ=120\sigma = 120σ=120), sample size (n=40n = 40n=40).
    3. Calculate the Z-Score:

      z=970−1000120/40=−3019≈−1.58z = \frac{970 - 1000}{120/\sqrt{40}} = \frac{-30}{19} \approx -1.58z=120/40​970−1000​=19−30​≈−1.58
    4. Determine the Critical Value:

      • For a two-tailed test at α=0.05\alpha = 0.05α=0.05, the critical z-values are approximately ±1.96.
    5. Make a Decision:

      • Since −1.58-1.58−1.58 is within the range [−1.96,1.96][-1.96, 1.96][−1.96,1.96], we fail to reject the null hypothesis. There is not enough evidence to conclude that the average lifespan is different from 1000 hours.

    Conclusion

    The z-test is a powerful statistical tool for hypothesis testing when the population standard deviation is known and sample sizes are sufficiently large. By following the structured steps of formulating hypotheses, calculating z-scores, and making decisions based on critical values, researchers can effectively test claims and make data-driven conclusions.

    Previous topic 23
    Testing of hypothesis
    Next topic 25
    t-test

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time5 min
      Word count928
      Code examples0
      DifficultyIntermediate