ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalMS-251Single Sample One Two …
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    MS-251

    Probability and Statistics

    Progress0 / 36 done
    Topics36
    1Statistics and Data Analysis2Statistical Inference3Samples, Populations, and the Role of Probability4Sampling Procedures5Discrete and Continuous Data6Statistical Modeling7Types of Statistical Studies
    8Sample Space, Events, Counting Sample Points9Probability of an Event10Additive Rules11Conditional Probability12Independence and the Product Rule13Bayes’ Rule14Random Variables and Probability Distributions
    15Mean of a Random Variable16Variance and Covariance of Random Variables17Means and Variances of Linear Combinations of Random Variables18Chebyshev’s Theorem19Discrete Probability Distributions20Continuous Probability Distributions21Fundamental Sampling Distributions22Sampling Distributions and Data Descriptions23Random Sampling24Sampling Distributions25Sampling Distribution of Means and the Central Limit Theorem26Sampling Distribution of S227t-Distribution28F-Quantile and Probability Plots29Single Sample & One- and Two-Sample Estimation Problems30Single Sample & One- and Two-Sample Tests of Hypotheses31The Use of P-Values for Decision Making in Testing Hypotheses
    32Linear Regression and Correlation33Least Squares and the Fitted Model34Multiple Linear Regression and Certain Nonlinear Regression Models35Linear Regression Model Using Matrices36Properties of the Least Squares Estimators
    11 min read
    Topic 29 of 36
    Topic Study Note Illustration
    29

    Single Sample & One- and Two-Sample Estimation Problems

    In statistics, estimation involves using sample data to estimate population parameters. Estimation problems can be classified into single-sample problems (where you have data from one sample) and...

    Single Sample & One- and Two-Sample Estimation Problems

    In statistics, estimation involves using sample data to estimate population parameters. Estimation problems can be classified into single-sample problems (where you have data from one sample) and two-sample problems (where you compare two independent samples). These problems are fundamental in hypothesis testing, confidence intervals, and regression analysis.

    1. Single-Sample Estimation Problems

    A single-sample estimation problem arises when you are given data from a single sample and are tasked with estimating a population parameter, such as the mean or proportion, or making inferences about the population from which the sample was drawn.

    a. Estimating the Population Mean (μ\muμ)

    When the population mean μ\muμ is unknown and we have a sample of data, we can estimate it using the sample mean xˉ\bar{x}xˉ. If the population variance σ2\sigma^2σ2 is known, we use the normal distribution; if unknown, we use the t-distribution.

    1. Confidence Interval for the Mean (When σ\sigmaσ is known):

      • Formula: μ=xˉ±zα/2×σn\mu = \bar{x} \pm z_{\alpha/2} \times \frac{\sigma}{\sqrt{n}}μ=xˉ±zα/2​×n​σ​ Where:
        • xˉ\bar{x}xˉ = sample mean,
        • σ\sigmaσ = population standard deviation (known),
        • nnn = sample size,
        • zα/2z_{\alpha/2}zα/2​ = z-value for the confidence level (e.g., for a 95% confidence interval, z=1.96z = 1.96z=1.96).
    2. Confidence Interval for the Mean (When σ\sigmaσ is unknown):

      • Formula: μ=xˉ±tα/2×sn\mu = \bar{x} \pm t_{\alpha/2} \times \frac{s}{\sqrt{n}}μ=xˉ±tα/2​×n​s​ Where:
        • xˉ\bar{x}xˉ = sample mean,
        • sss = sample standard deviation,
        • nnn = sample size,
        • tα/2t_{\alpha/2}tα/2​ = t-value for the confidence level with n−1n-1n−1 degrees of freedom.

    b. Estimating the Population Proportion (ppp)

    When estimating the proportion of a population that has a certain characteristic, the sample proportion p^\hat{p}p^​ is used to estimate the population proportion ppp.

    • Confidence Interval for the Proportion:
      • Formula: p=p^±zα/2×p^(1−p^)np = \hat{p} \pm z_{\alpha/2} \times \sqrt{\frac{\hat{p}(1 - \hat{p})}{n}}p=p^​±zα/2​×np^​(1−p^​)​​ Where:
        • p^\hat{p}p^​ = sample proportion,
        • nnn = sample size,
        • zα/2z_{\alpha/2}zα/2​ = z-value for the desired confidence level (e.g., for a 95% confidence interval, z=1.96z = 1.96z=1.96).

    2. One-Sample Hypothesis Testing

    One-sample hypothesis testing involves using sample data to test hypotheses about a population parameter (such as the population mean or proportion). The two main types of tests are one-sample z-tests and one-sample t-tests.

    a. One-Sample z-Test for the Mean (When Population Variance is Known)

    • Hypothesis:

      • Null hypothesis (H0H_0H0​): μ=μ0\mu = \mu_0μ=μ0​ (Population mean equals a specific value)
      • Alternative hypothesis (HAH_AHA​): μ≠μ0\mu \neq \mu_0μ=μ0​ (Population mean is different from the specific value)
    • Test Statistic:

      z=xˉ−μ0σnz = \frac{\bar{x} - \mu_0}{\frac{\sigma}{\sqrt{n}}}z=n​σ​xˉ−μ0​​

      Where:

      • xˉ\bar{x}xˉ = sample mean,
      • μ0\mu_0μ0​ = hypothesized population mean,
      • σ\sigmaσ = known population standard deviation,
      • nnn = sample size.
    • Decision Rule:

      • If ∣z∣>zα/2|z| > z_{\alpha/2}∣z∣>zα/2​, reject H0H_0H0​.

    b. One-Sample t-Test for the Mean (When Population Variance is Unknown)

    When the population variance is unknown, we use the t-distribution for hypothesis testing.

    • Hypothesis:

      • Null hypothesis (H0H_0H0​): μ=μ0\mu = \mu_0μ=μ0​
      • Alternative hypothesis (HAH_AHA​): μ≠μ0\mu \neq \mu_0μ=μ0​
    • Test Statistic:

      t=xˉ−μ0snt = \frac{\bar{x} - \mu_0}{\frac{s}{\sqrt{n}}}t=n​s​xˉ−μ0​​

      Where:

      • xˉ\bar{x}xˉ = sample mean,
      • μ0\mu_0μ0​ = hypothesized population mean,
      • sss = sample standard deviation,
      • nnn = sample size.
    • Decision Rule:

      • If ∣t∣>tα/2,n−1|t| > t_{\alpha/2, n-1}∣t∣>tα/2,n−1​, reject H0H_0H0​.

    3. Two-Sample Estimation Problems

    In two-sample estimation problems, we compare the means or proportions of two independent samples to draw inferences about the population parameters. The two main types are two-sample z-tests for means (when population variances are known) and two-sample t-tests for means (when population variances are unknown), as well as tests for comparing proportions.

    a. Two-Sample z-Test for the Difference Between Means (When Population Variances are Known)

    • Hypothesis:

      • Null hypothesis (H0H_0H0​): μ1=μ2\mu_1 = \mu_2μ1​=μ2​ (The two population means are equal)
      • Alternative hypothesis (HAH_AHA​): μ1≠μ2\mu_1 \neq \mu_2μ1​=μ2​
    • Test Statistic:

      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\bar{x}_1xˉ1​ and xˉ2\bar{x}_2xˉ2​ are the sample means,
      • σ12\sigma_1^2σ12​ and σ22\sigma_2^2σ22​ are the population variances (known),
      • n1n_1n1​ and n2n_2n2​ are the sample sizes.
    • Decision Rule:

      • If ∣z∣>zα/2|z| > z_{\alpha/2}∣z∣>zα/2​, reject H0H_0H0​.

    b. Two-Sample t-Test for the Difference Between Means (When Population Variances are Unknown)

    • Hypothesis:

      • Null hypothesis (H0H_0H0​): μ1=μ2\mu_1 = \mu_2μ1​=μ2​
      • Alternative hypothesis (HAH_AHA​): μ1≠μ2\mu_1 \neq \mu_2μ1​=μ2​
    • Test Statistic:

      t=xˉ1−xˉ2s12n1+s22n2t = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}t=n1​s12​​+n2​s22​​​xˉ1​−xˉ2​​

      Where:

      • xˉ1\bar{x}_1xˉ1​ and xˉ2\bar{x}_2xˉ2​ are the sample means,
      • s12s_1^2s12​ and s22s_2^2s22​ are the sample variances,
      • n1n_1n1​ and n2n_2n2​ are the sample sizes.
    • Degrees of Freedom: The degrees of freedom (df) for this test is calculated using the Welch-Satterthwaite equation:

      df=(s12n1+s22n2)2(s12n1)2n1−1+(s22n2)2n2−1df = \frac{\left( \frac{s_1^2}{n_1} + \frac{s_2^2}{n_2} \right)^2}{\frac{\left( \frac{s_1^2}{n_1} \right)^2}{n_1 - 1} + \frac{\left( \frac{s_2^2}{n_2} \right)^2}{n_2 - 1}}df=n1​−1(n1​s12​​)2​+n2​−1(n2​s22​​)2​(n1​s12​​+n2​s22​​)2​
    • Decision Rule:

      • If ∣t∣>tα/2,df|t| > t_{\alpha/2, df}∣t∣>tα/2,df​, reject H0H_0H0​.

    c. Two-Sample z-Test for Proportions

    When comparing two proportions, we use the two-sample z-test for proportions.

    • Hypothesis:

      • Null hypothesis (H0H_0H0​): p1=p2p_1 = p_2p1​=p2​ (The two population proportions are equal)
      • Alternative hypothesis (HAH_AHA​): p1≠p2p_1 \neq p_2p1​=p2​
    • Test Statistic:

      z=p^1−p^2p^(1−p^)(1n1+1n2)z = \frac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}(1 - \hat{p}) \left( \frac{1}{n_1} + \frac{1}{n_2} \right)}}z=p^​(1−p^​)(n1​1​+n2​1​)​p^​1​−p^​2​​

      Where:

      • p^1\hat{p}_1p^​1​ and p^2\hat{p}_2p^​2​ are the sample proportions,
      • p^=x1+x2n1+n2\hat{p} = \frac{x_1 + x_2}{n_1 + n_2}p^​=n1​+n2​x1​+x2​​ is the pooled sample proportion,
      • n1n_1n1​ and n2n_2n2​ are the sample sizes.
    • Decision Rule:

      • If ∣z∣>zα/2|z| > z_{\alpha/2}∣z∣>zα/2​, reject H0H_0H0​.

    Summary

    • Single-sample estimation problems involve estimating population parameters (mean or proportion) from a single sample, using confidence intervals or hypothesis tests.
    • One-sample hypothesis tests (e.g., z-tests, t-tests) test if a population parameter (mean or proportion) is equal to a specific value.
    • Two-sample estimation problems involve comparing two independent samples to estimate and compare their population parameters (means or proportions). Common tests include the two-sample z-test and t-test for means and the two-sample z-test for proportions.
    ← Previous topic 28
    F-Quantile and Probability Plots
    Next topic 30 →
    Single Sample & One- and Two-Sample Tests of Hypotheses

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    11mremaining
    1.9kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Probability and Statistics