Applied Business Statistics: Hypothesis Testing - Single Sample Part 4

Hypothesis Testing: Single Sample t-test with a Proportion

This section delves into hypothesis testing for a single sample using a t-test specifically for proportions, utilizing a real-world example of a discrimination lawsuit.

Case P: Discriminatory Hiring Lawsuit

  • Scenario: Company X is facing a lawsuit for discriminatory hiring practices, alleging a significantly greater number of men than women have been hired, despite an equal pool of qualified candidates. In the last year, only 1818 out of 5050 hires (36%36\%) were women.

  • Question: Is there sufficient evidence to conclude that the company is hiring significantly more men than women?

  • Variables and Notation:

    • π\pi (pi): Represents the true proportion of men hired by the company (population parameter).

    • pˉ\bar{p} (p-hat): Represents the sample proportion of men hired from the 5050 observations (32/50=0.6432/50 = 0.64 or 64%64\%). This is the mean of a dichotomous variable (coded 11 for men, 00 for women).

  • Why Not "Eyeball" the Data?

    • Intuition is poor at considering sample size.

    • Difficulty in discerning significant versus insignificant differences.

    • Legal Context: Decisions have serious implications (e.g., changes in hiring policies, financial compensation). Therefore, rigorous statistical testing is required, not just visual assessment.

Hypothesis Testing Steps

The following steps are applied to the Company X lawsuit scenario:

  1. Formulating Hypotheses:

    • Null Hypothesis (H0H_0): π=0.50\pi = 0.50 (The true proportion of men hired is not significantly different from 0.500.50, meaning an equal proportion of men and women are hired, indicating no discrimination).

    • This assumption is based on the information that there is an equal number of qualified men and women in the applicant pool.

    • It reflects the legal principle of "innocent until proven guilty", placing the burden of proof on the plaintiff (the person making the accusation of discrimination).

    • Alternative Hypothesis (H1H_1): \pi > 0.50 (The true proportion of men hired is significantly greater than 0.500.50, indicating discriminatory hiring practices against women).

    • This is a one-sided test because the lawsuit alleges discrimination specifically against women (meaning more men are hired), not just a difference in either direction.

  2. Setting the Significance Level (α\alpha):

    • The significance level (α\alpha) is the probability of rejecting the null hypothesis when it is actually true (Type I Error).

    • In legal contexts especially, a commonly accepted level is α=0.05\alpha = 0.05 (or a 5%5\% chance of Type I Error).

    • This means if the p-value is less than or equal to 0.050.05, we reject H0H_0.

  3. Checking Assumptions:

    • Random Sample: The 5050 hires must represent a random sample of current hiring practices. While not explicitly stated as random, for analysis, we assume representativeness.

    • Independence: Each hiring decision must be independent of others.

    • Sample Size: For a t-test for proportions, we approximate the binomial distribution with a normal distribution. This approximation is generally considered valid if both nπ<em>010n\pi<em>0 \geq 10 and n(1π</em>0)10n(1-\pi</em>0) \geq 10.

      • In this case, n=50n = 50 and under H<em>0H<em>0, π</em>0=0.50\pi</em>0 = 0.50.

      • nπ0=50×0.50=25n\pi_0 = 50 \times 0.50 = 25

      • n(1π0)=50×(10.50)=25n(1-\pi_0) = 50 \times (1-0.50) = 25

      • Since both are 2525, which is greater than 1010, the sample size assumption is met, and a t-test is appropriate.

  4. Calculating the Test Statistic:

    • The formula for the z-test statistic for a single proportion is:

      z=pˉπ<em>0π</em>0(1π0)nz = \frac{\bar{p} - \pi<em>0}{\sqrt{\frac{\pi</em>0(1-\pi_0)}{n}}}

    • Where:

      • pˉ\bar{p} is the sample proportion (0.640.64)

      • π0\pi_0 is the hypothesized population proportion under the null hypothesis (0.500.50)

      • nn is the sample size (5050)

    • Substituting the values:

      z=0.640.500.50(10.50)50=0.140.2550=0.140.005z = \frac{0.64 - 0.50}{\sqrt{\frac{0.50(1-0.50)}{50}}} = \frac{0.14}{\sqrt{\frac{0.25}{50}}} = \frac{0.14}{\sqrt{0.005}}

      z=0.140.070711.98z = \frac{0.14}{0.07071} \approx 1.98

  5. Determining the p-value:

    • The p-value is the probability of observing a test statistic as extreme as, or more extreme than, the one calculated, assuming the null hypothesis is true.

    • Since this is a one-sided test (H_1: \pi > 0.50), we need to find the probability of a z-score greater than or equal to 1.981.98

    • Using a standard normal distribution table or statistical software, the p-value for z1.98z \approx 1.98 is approximately P(Z > 1.98) = 1 - P(Z \leq 1.98) = 1 - 0.9761 = 0.0239.

  6. Making a Decision:

    • Compare p-value to α\alpha: Our calculated p-value is 0.02390.0239 and our significance level α\alpha is 0.050.05.

    • Since p{value} (0.0239) < \alpha (0.05), we reject the null hypothesis (H</em>0H</em>0).

  7. Formulating a Conclusion:

    • Based on the statistical analysis, there is sufficient evidence (p-value = 0.02390.0239) to conclude that the true proportion of men hired by Company X is significantly greater than 0.500.50.

    • This suggests that the company is hiring significantly more men than women, supporting the claim of discriminatory hiring practices against women.