Lecture 10 Inference from Small Samples

1. Introduction to Student's t distribution and its properties

This section introduces the Student's t distribution, its historical origins, its relationship to the standard normal distribution, and the critical role of degrees of freedom in defining its shape.

1.1 Historical Development and Definition

The Student's t distribution was derived by W. S. Gosset in 1908, who published his work under the pseudonym "Student." It is a probability distribution that arises in the context of estimating a population mean when the sample size is small and the population standard deviation is unknown. The statistic associated with this distribution is commonly denoted as tt.

The tt statistic is defined as: t=xˉ−μs/nt = \frac{\bar{x} - \mu}{s / \sqrt{n}} where:

  • xˉ\bar{x} is the sample mean.
  • μ\mu is the population mean.
  • ss is the sample standard deviation.
  • nn is the sample size.

Both xˉ\bar{x} and ss are considered random variables, contributing to the nature of the tt distribution.

1.2 Properties and Comparison with the Standard Normal Distribution

The Student's t distribution shares similarities with the standard normal (z) distribution but possesses distinct characteristics, particularly concerning its tails and dependence on sample size.

1.2.1 Shape and Tails

  • Similarity to z: The t-distribution is conceptually similar to the standard normal distribution, which has a mean of 0 and a variance of 1.
  • Heavier Tails: A key difference is that the t-distribution exhibits "heavier tails" compared to the z-distribution. This means that extreme values are more likely to occur in the t-distribution than in the standard normal distribution. This phenomenon arises because the tt statistic incorporates two random quantities (xˉ\bar{x} and ss), whereas the z statistic typically involves only the sample mean (xˉ\bar{x}) when the population standard deviation (σ\sigma) is known.
  • Approximation to Normal Distribution: As the sample size (nn) becomes large, the t-distribution increasingly approximates the standard normal distribution. This is because as nn increases, the sample standard deviation (ss) becomes a more reliable estimate of the population standard deviation (σ\sigma).

Note: The concept of "heavier tails" implies that the probability density function (PDF) of the t-distribution assigns more probability mass to values far from the mean than the PDF of the standard normal distribution.

1.3 The Role of Degrees of Freedom

The shape of the t-distribution is not fixed but is determined by a parameter known as the degrees of freedom (df).

  • Definition of Degrees of Freedom: For the sample variance s2s^2, the degrees of freedom are calculated as n−1n-1, where nn is the sample size. The formula for sample variance is: s2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1} The term n−1n-1 arises because when calculating the sample variance, one degree of freedom is "lost" due to the constraint that the sum of deviations from the sample mean must be zero (∑i=1n(xi−xˉ)=0\sum_{i=1}^{n} (x_i - \bar{x}) = 0).

  • Impact on Distribution Shape: The number of degrees of freedom directly influences the spread and tail heaviness of the t-distribution.

    • Lower df: With fewer degrees of freedom (i.e., smaller sample sizes), the t-distribution has fatter tails and is more spread out.
    • Higher df: As the degrees of freedom increase, the t-distribution becomes narrower and its tails become lighter, converging towards the standard normal distribution.

Example: For a sample of size n=10n=10, the degrees of freedom are df=10−1=9df = 10 - 1 = 9. This specific value of dfdf dictates the precise shape of the t-distribution used for inference.

1.3.1 Finding Critical Values

Critical values of the t-distribution are determined by both the degrees of freedom and the desired significance level (or tail probability).

Example 10.2: Find a value of tt such that only 1% of all values of tt will be smaller, for a sample of size n=10n = 10 from a normal distribution.

Solution: The degrees of freedom are df=n−1=10−1=9df = n - 1 = 10 - 1 = 9. We are looking for a tt-value with an area of 0.010.01 to its left. Due to the symmetry of the t-distribution around 0, this value is the negative of the tt-value that has 0.010.01 area to its right. Using a t-table or statistical software for df=9df=9 and a tail probability of 0.010.01, we find the critical value to be approximately −2.821-2.821. Thus, t0.01=−2.821t_{0.01} = -2.821 8.

1.4 Assumptions for Using the Student's t Distribution

To make reliable inferences using critical values from the Student's t distribution, certain assumptions about the sample and population must be met:

  • Random Sampling: The sample must be randomly selected from the population.
  • Normality of Population: The population from which the sample is drawn must be normally distributed.

Important: The validity of inferences drawn using the t-distribution hinges on these assumptions. If the population is not normally distributed and the sample size is small, the t-distribution may not be an appropriate tool. However, the t-distribution is robust to moderate violations of the normality assumption, especially as the sample size increases, due to the Central Limit Theorem's influence.

1.5 Student's t Distribution vs. Standard Normal Distribution (z) in Practice

The choice between using the t-distribution and the standard normal (z) distribution for inference depends on sample size, population distribution, and knowledge of the population standard deviation.

ScenarioPopulation DistributionSample Size (nn)Population Std. Dev. (σ\sigma)Relevant StatisticDistribution Used
Small sample, unknown σ\sigmaNormal<30<30Unknownt=xˉ−μs/nt = \frac{\bar{x} - \mu}{s / \sqrt{n}}tt-distribution with n−1n-1 degrees of freedom
Small sample, known σ\sigmaNormal<30<30Knownz=xˉ−μσ/nz = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}Standard normal distribution (zz)
Large sample, unknown σ\sigmaUnknown≥30\ge30Unknownz≈xˉ−μs/nz \approx \frac{\bar{x} - \mu}{s / \sqrt{n}}Standard normal distribution (zz) (due to CLT)
Large sample, known σ\sigmaNormal≥30\ge30Knownz=xˉ−μσ/nz = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}Standard normal distribution (zz)
Any sample size, known σ\sigmaNormalAnyKnownz=xˉ−μσ/nz = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}Standard normal distribution (zz)

Tip: When the sample size is small (n<30n<30) and the population standard deviation (σ\sigma) is unknown, the t-distribution is the appropriate choice for inference about the population mean, provided the population itself is approximately normally distributed. For larger sample sizes (n≥30n \ge 30), the Central Limit Theorem allows us to use the z-distribution even if σ\sigma is unknown and estimated by ss, as ss becomes a good approximation of σ\sigma.

2. Small-sample inferences for a single population mean

This section details the methodology for conducting hypothesis tests and constructing confidence intervals for a population mean (μ\mu) when dealing with small sample sizes (n<30n < 30).

2.1 Hypothesis testing for a single population mean with small samples

When the population standard deviation (σ\sigma) is unknown and the sample size is small (n<30n < 30), inference about the population mean μ\mu is typically performed using the Student's t-distribution.

2.1.1 Assumptions for small-sample hypothesis testing

A critical assumption for small-sample hypothesis testing concerning a population mean is that the sample is randomly selected from a normally distributed population.

2.1.2 Steps for a small-sample hypothesis test

The process for conducting a small-sample hypothesis test for μ\mu involves the following steps:

  1. Null Hypothesis (H0H_0): State the null hypothesis in the form H0:μ=μ0H_0: \mu = \mu_0, where μ0\mu_0 is the hypothesized population mean.
  2. Alternative Hypothesis (HaH_a): State the alternative hypothesis. This can be one-tailed or two-tailed 12:
    • One-tailed: Ha:μ>μ0H_a: \mu > \mu_0 or Ha:μ<μ0H_a: \mu < \mu_0.
    • Two-tailed: Ha:μ≠μ0H_a: \mu \neq \mu_0.
  3. Test Statistic: Calculate the test statistic using the formula: t=xˉ−μ0s/nt = \frac{\bar{x} - \mu_0}{s/\sqrt{n}} where:
    • xˉ\bar{x} is the sample mean.
    • μ0\mu_0 is the hypothesized population mean.
    • ss is the sample standard deviation.
    • nn is the sample size. The test statistic follows a t-distribution with n−1n-1 degrees of freedom.
  4. Rejection Region: Determine the rejection region based on the alternative hypothesis and the chosen significance level (α\alpha) 13.
    • One-tailed (upper tail): Reject H0H_0 if t>tαt > t_\alpha.
    • One-tailed (lower tail): Reject H0H_0 if t<−tαt < -t_\alpha.
    • Two-tailed: Reject H0H_0 if t>tα/2t > t_{\alpha/2} or t<−tα/2t < -t_{\alpha/2}. The critical values (tαt_\alpha and tα/2t_{\alpha/2}) are found using the t-distribution table, which is based on n−1n-1 degrees of freedom.

Tip: The p-value approach can also be used. 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. Reject H0H_0 if the p-value is less than α\alpha 23.

2.1.3 Example: Testing diamond weight

A new process for producing synthetic diamonds is profitable only if the average weight is greater than 0.5 karat. A sample of six diamonds yielded weights of.46,.61,.52,.48,.57, and.54 karat. Using a 5% significance level, do these measurements provide sufficient evidence that the average weight exceeds 0.5 karat? Assume the diamond weights follow a normal distribution 17.

  • Hypotheses:
    • H0:μ=0.5H_0: \mu = 0.5
    • Ha:μ>0.5H_a: \mu > 0.5
  • Sample Statistics:
    • Sample size, n=6n = 6
    • Sample mean, xˉ=0.53\bar{x} = 0.53 karat
    • Sample standard deviation, s=0.0559s = 0.0559 karat
  • Test Statistic: t=0.53−0.50.0559/6≈1.32t = \frac{0.53 - 0.5}{0.0559/\sqrt{6}} \approx 1.32 The degrees of freedom are df=n−1=6−1=5df = n - 1 = 6 - 1 = 5 18 19.
  • Rejection Region: For a one-tailed test with α=0.05\alpha = 0.05 and df=5df = 5, the critical value t0.05t_{0.05} is 2.015 We reject H0H_0 if t>2.015t > 2.01521.
  • Conclusion: The calculated test statistic (t=1.32t = 1.32) does not fall in the rejection region (1.32≯2.0151.32 \ngtr 2.015). Therefore, we fail to reject H0H_0. There is not sufficient evidence to indicate that the mean diamond weight exceeds 0.5 karat 22.

2.1.4 Example: Testing paint coverage

A paint manufacturer claims that a gallon covers 400 square feet. A sample of 10 gallons yielded actual coverages (in square feet): 310, 311, 412, 368, 447, 376, 303, 410, 365, 350. Do these data indicate that the average coverage differs from 400 square feet? Find the p-value. Assume coverage follows a normal distribution 24 25.

  • Hypotheses:
    • H0:μ=400H_0: \mu = 400
    • Ha:μ≠400H_a: \mu \neq 400
  • Sample Statistics:
    • Sample size, n=10n = 10
    • Sample mean, xˉ=364.2\bar{x} = 364.2 square feet
    • Sample standard deviation, s=45.75s = 45.75 square feet
  • Test Statistic: t=364.2−40045.75/10≈−2.45t = \frac{364.2 - 400}{45.75/\sqrt{10}} \approx -2.45 The degrees of freedom are df=n−1=10−1=9df = n - 1 = 10 - 1 = 9 26.
  • P-value: For a two-tailed test, the p-value is P(t≤−2.45)+P(t≥2.45)P(t \le -2.45) + P(t \ge 2.45). Using a t-distribution table with df=9df=9, the value t=2.45t=2.45 falls between t0.025=2.262t_{0.025} = 2.262 and t0.010=2.821t_{0.010} = 2.821. Thus, the right-tail area P(t≥2.45)P(t \ge 2.45) is between 0.01 and 0.025. The p-value is therefore between 2×0.01=0.022 \times 0.01 = 0.02 and 2×0.025=0.052 \times 0.025 = 0.05 27 28.
  • Conclusion: If α=0.05\alpha = 0.05, H0H_0 is rejected because the p-value is less than 0.05. There is sufficient evidence to indicate that the average coverage differs from 400 square feet.

2.2 Small-sample confidence intervals for a single population mean

A confidence interval provides a range of plausible values for the population mean μ\mu when the sample size is small and the population standard deviation σ\sigma is unknown.

2.2.1 Construction of a small-sample confidence interval

The formula for a (1−α)100%(1-\alpha)100\% confidence interval for μ\mu when σ\sigma is unknown and the population is normally distributed is:

xˉ±tα/2(sn)\bar{x} \pm t_{\alpha/2} \left( \frac{s}{\sqrt{n}} \right)

where:

  • xˉ\bar{x} is the sample mean.
  • ss is the sample standard deviation.
  • nn is the sample size.
  • tα/2t_{\alpha/2} is the critical value from the t-distribution with n−1n-1 degrees of freedom, corresponding to an upper-tail probability of α/2\alpha/2. The term s/ns/\sqrt{n} is the estimated standard error of the mean 16.

Important: The critical value tα/2t_{\alpha/2} is found using the t-distribution table with n−1n-1 degrees of freedom 14.

2.2.2 Example: Confidence interval for paint coverage

Using the data from Example 10.4 (paint coverage), find a 95% confidence interval for the true average coverage of the paint 29.

  • Sample Statistics:
    • Sample size, n=10n = 10
    • Sample mean, xˉ=364.2\bar{x} = 364.2 square feet
    • Sample standard deviation, s=45.75s = 45.75 square feet
  • Confidence Level: 95%, so α=0.05\alpha = 0.05.
  • Critical Value: For a 95% confidence interval with n=10n=10 (df=9df=9), tα/2=t0.025=2.262t_{\alpha/2} = t_{0.025} = 2.262 20.
  • Confidence Interval Calculation: 364.2±2.262(45.7510)364.2 \pm 2.262 \left( \frac{45.75}{\sqrt{10}} \right) 364.2±2.262(14.47)364.2 \pm 2.262 (14.47) 364.2±32.77364.2 \pm 32.77 The interval is (364.2−32.77,364.2+32.77)(364.2 - 32.77, 364.2 + 32.77), which is (331.43,396.97)(331.43, 396.97) square feet.

Note: The text states the interval is 330.6 to 399.8, which is slightly different. This might be due to rounding in the intermediate steps or a slightly different value used for ss. Assuming the provided example solution's calculation:

The average area covered by 1 gallon of this paint lies in the interval 330.6 to 399.8 square feet.

Increasing the sample size generally leads to a more precise interval estimate (a shorter interval) 30.

3. Small-sample inferences for the difference between two population means (independent samples)

This section details statistical methods for comparing the means of two independent populations when working with small sample sizes, assuming equal population variances, and covers hypothesis testing and confidence interval construction.

3.1 Assumptions for small-sample inferences

For small-sample inferences regarding the difference between two population means from independent samples, the following assumptions are critical:

  • Normality: The populations from which the samples are drawn are normally distributed.
  • Independence: The samples are randomly and independently selected.
  • Equal Variances: The variances of the two populations, denoted as σ12\sigma_1^2 and σ22\sigma_2^2, are equal.

3.2 Hypothesis testing for the difference between two means

When comparing two independent population means, μ1\mu_1 and μ2\mu_2, with small samples and assuming equal variances, a t-test is employed.

3.2.1 Null and alternative hypotheses

The general form of the hypotheses is:

  • Null Hypothesis (H0H_0): (μ1−μ2)=D0(\mu_1 - \mu_2) = D_0
    • D0D_0 represents a specific hypothesized difference between the population means. Commonly, D0=0D_0 = 0 is used to test for equality of means.
  • Alternative Hypothesis (HaH_a): This can be one-tailed or two-tailed.
    • One-tailed test: Ha:(μ1−μ2)>D0H_a: (\mu_1 - \mu_2) > D_0 or Ha:(μ1−μ2)<D0H_a: (\mu_1 - \mu_2) < D_0.
    • Two-tailed test: Ha:(μ1−μ2)≠D0H_a: (\mu_1 - \mu_2) \neq D_0 35.

3.2.2 Test statistic

The test statistic used is a t-statistic, calculated as follows 36: t=(xˉ1−xˉ2)−D0sp2(1n1+1n2)t = \frac{(\bar{x}_1 - \bar{x}_2) - D_0}{\sqrt{s_p^2 \left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} where:

  • xˉ1\bar{x}_1 and xˉ2\bar{x}_2 are the sample means for the two independent samples.
  • D0D_0 is the hypothesized difference between population means specified in the null hypothesis.
  • n1n_1 and n2n_2 are the sizes of the two independent samples.
  • sp2s_p^2 is the pooled estimate of the common population variance, calculated as: sp2=(n1−1)s12+(n2−1)s22n1+n2−2s_p^2 = \frac{(n_1-1)s_1^2 + (n_2-1)s_2^2}{n_1 + n_2 - 2}
    • s12s_1^2 and s22s_2^2 are the sample variances for the two independent samples.

The pooled variance, sp2s_p^2, serves as an unbiased estimator of the common population variance σ2\sigma^2 under the assumption of equal variances. The test statistic follows a Student’s t-distribution with n1+n2−2n_1 + n_2 - 2 degrees of freedom (df) 33 34.

3.2.3 Rejection region and decision

The decision to reject or fail to reject the null hypothesis depends on the calculated test statistic and a predetermined significance level (α\alpha).

  • Critical values: Critical values for the t-distribution, denoted as tαt_\alpha for one-tailed tests and tα/2t_{\alpha/2} for two-tailed tests, are obtained from t-tables using the degrees of freedom (n1+n2−2)(n_1 + n_2 - 2) 38.

  • Rejection criteria:

    • One-tailed test: Reject H0H_0 if t>tαt > t_\alpha (for Ha:(μ1−μ2)>D0H_a: (\mu_1 - \mu_2) > D_0) or if t<−tαt < -t_\alpha (for Ha:(μ1−μ2)<D0H_a: (\mu_1 - \mu_2) < D_0).
    • Two-tailed test: Reject H0H_0 if t>tα/2t > t_{\alpha/2} or t<−tα/2t < -t_{\alpha/2}.
    • P-value approach: Reject H0H_0 if the calculated p-value is less than α\alpha 37.

Example: In Example 10.5, the calculated t-statistic was 1.651.65. With α=0.05\alpha = 0.05 and 1616 degrees of freedom, the critical value t0.05t_{0.05} for a one-tailed test is 1.7461.746. Since 1.65<1.7461.65 < 1.746, the null hypothesis is not rejected.

3.3 Confidence interval for the difference between two means

A confidence interval provides a range of plausible values for the true difference between two population means, μ1−μ2\mu_1 - \mu_2, based on sample data.

3.3.1 Formula for the confidence interval

A small-sample (1−α)100%(1-\alpha)100\% confidence interval for (μ1−μ2)(\mu_1 - \mu_2) for independent samples with equal variances is constructed as follows: (xˉ1−xˉ2)±tα/2sp2(1n1+1n2)(\bar{x}_1 - \bar{x}_2) \pm t_{\alpha/2} \sqrt{s_p^2 \left(\frac{1}{n_1} + \frac{1}{n_2}\right)} where:

  • (xˉ1−xˉ2)(\bar{x}_1 - \bar{x}_2) is the difference between the sample means.
  • tα/2t_{\alpha/2} is the critical value from the t-distribution with n1+n2−2n_1 + n_2 - 2 degrees of freedom for a confidence level of (1−α)(1-\alpha).
  • sp2s_p^2 is the pooled estimate of the common population variance.
  • n1n_1 and n2n_2 are the sample sizes.

Important Note: The interval is centered around the observed difference in sample means. The margin of error is determined by the critical t-value, the pooled standard error, and the sample sizes 39.

3.4 Illustrative example: Online vs. Classroom learning

Example 10.5 demonstrates the application of these small-sample inference procedures to compare the achievement of students in online versus classroom course formats, using final exam scores [40-48]

3.4.1 Problem setup

The objective was to determine if the average grade for students taking the course online is significantly higher than for those attending classroom lecture sessions, using a significance level of α=0.05\alpha = 0.05 42.

  • Let μ1\mu_1 be the mean score for the online group and μ2\mu_2 for the classroom group.
  • The hypotheses were set as H0:μ1=μ2H_0: \mu_1 = \mu_2 (or H0:(μ1−μ2)=0H_0: (\mu_1 - \mu_2) = 0) versus Ha:μ1>μ2H_a: \mu_1 > \mu_2 (or Ha:(μ1−μ2)>0H_a: (\mu_1 - \mu_2) > 0) 43.
  • The sample sizes were n1=9n_1 = 9 for the online group and n2=9n_2 = 9 for the classroom group.

3.4.2 Assumptions check

The assumptions of normality and equal variances were considered. Stem-and-leaf plots suggested that the normality assumption was not unreasonable. The sample standard deviations (s1≈4.94s_1 \approx 4.94 and s2≈4.48s_2 \approx 4.48) were not sufficiently different to doubt the equal variance assumption 44.

3.4.3 Calculation and conclusion

The pooled estimate of the common variance (sp2s_p^2) was calculated, followed by the test statistic 45 46. sp2≈21.72s_p^2 \approx 21.72 t=(xˉ1−xˉ2)−0sp2(1n1+1n2)≈1.65t = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{s_p^2 \left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} \approx 1.65 The test statistic t=1.65t = 1.65 was compared to the critical value t0.05=1.746t_{0.05} = 1.746 for a one-tailed test with 1616 degrees of freedom. Since 1.65<1.7461.65 < 1.746, the null hypothesis was not rejected 47.

The conclusion was that there is insufficient evidence to indicate that the average online course grade is higher than the average classroom course grade at the 5%5\% level of significance 48.

3.5 Determining p-values

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

Example: For Example 10.5, the observed t-statistic was 1.651.65. The p-value for the one-tailed test is P(t>1.65)P(t > 1.65) with 1616 degrees of freedom. By consulting t-tables, it was determined that t0.05=1.746t_{0.05} = 1.746 and t0.01=1.337t_{0.01} = 1.337. Since 1.337<1.65<1.7461.337 < 1.65 < 1.746, the p-value lies between 0.010.01 and 0.050.05 Specifically, the p-value is between 0.050.05 and 0.100.10. As this p-value is greater than the significance level of 0.050.05, the result is typically reported as not significant 49 50.

4. Inferences for the difference between two population means when variances are unequal

This section details the procedure for making inferences about the difference between two independent population means when their variances are unequal.

4.1 The Welch-Satterthwaite procedure

When the variances of two independent populations (σ12\sigma^2_1 and σ22\sigma^2_2) are not equal, the standard pooled estimator for the common variance is inappropriate. Instead, each population variance must be estimated by its corresponding sample variance (s12s^2_1 and s22s^2_2). This leads to an alternative inferential procedure that utilizes an approximate t distribution in repeated sampling.

4.1.1 Test statistic

The familiar test statistic for the difference between two population means is adapted for unequal variances: t=(xˉ1−xˉ2)−(μ1−μ2)s12n1+s22n2t = \frac{(\bar{x}_1 - \bar{x}_2) - (\mu_1 - \mu_2)}{\sqrt{\frac{s^2_1}{n_1} + \frac{s^2_2}{n_2}}} where:

  • xˉ1\bar{x}_1 and xˉ2\bar{x}_2 are the sample means of the two populations.
  • μ1\mu_1 and μ2\mu_2 are the population means.
  • s12s^2_1 and s22s^2_2 are the sample variances.
  • n1n_1 and n2n_2 are the sample sizes.

4.1.2 Approximating degrees of freedom

A key challenge when variances are unequal and sample sizes are small is determining the appropriate degrees of freedom for the t-distribution. A common method, known as the Welch-Satterthwaite procedure, provides an approximation for the degrees of freedom (ν\nu). The formula for approximating the degrees of freedom is: ν≈(s12n1+s22n2)2(s12n1)2n1−1+(s22n2)2n2−1\nu \approx \frac{\left(\frac{s^2_1}{n_1} + \frac{s^2_2}{n_2}\right)^2}{\frac{\left(\frac{s^2_1}{n_1}\right)^2}{n_1 - 1} + \frac{\left(\frac{s^2_2}{n_2}\right)^2}{n_2 - 1}} The degrees of freedom (ν\nu) for the t-distribution are then taken as the integer part of this calculated value. This approximation ensures that the t-distribution provides a reasonable model for the sampling distribution of the test statistic, even without equal variances.

Note: This procedure is generally recommended when the ratio of the two sample variances (slarge2/ssmall2s^2_{large} / s^2_{small}) is far from 1, indicating a significant difference in population variances. 51.

Example: Suppose we have two independent samples with the following statistics: sample mean 1 = 10, sample variance 1 = 4, sample size 1 = 10; sample mean 2 = 12, sample variance 2 = 9, sample size 2 = 15. We want to test the hypothesis that μ1−μ2=0\mu_1 - \mu_2 = 0. First, we calculate the test statistic: t=(10−12)−0410+915=−20.4+0.6=−21=−2t = \frac{(10 - 12) - 0}{\sqrt{\frac{4}{10} + \frac{9}{15}}} = \frac{-2}{\sqrt{0.4 + 0.6}} = \frac{-2}{\sqrt{1}} = -2 Next, we approximate the degrees of freedom: ν≈(410+915)2(410)210−1+(915)215−1=(0.4+0.6)20.169+0.3614≈10.0178+0.0257≈10.0435≈22.98\nu \approx \frac{\left(\frac{4}{10} + \frac{9}{15}\right)^2}{\frac{\left(\frac{4}{10}\right)^2}{10 - 1} + \frac{\left(\frac{9}{15}\right)^2}{15 - 1}} = \frac{(0.4 + 0.6)^2}{\frac{0.16}{9} + \frac{0.36}{14}} \approx \frac{1}{0.0178 + 0.0257} \approx \frac{1}{0.0435} \approx 22.98 We would use ν=22\nu = 22 degrees of freedom for our t-test. 53.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also