Question

Create two different data sets such that a T test under the assumption of equal variances will reject the null hypothesis, but the T test under the assumption of unequal variances (Hint: Welch's T...

Create two different data sets such that a T test under the assumption of equal variances will reject the null hypothesis, but the T test under the assumption of unequal variances (Hint: Welch's T statistic) will fail to reject the null hypothesis. Explain why the two data sets fail to reject under unequal variance assumption and why it rejects until equal variance assumption.

Thanks

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Two Sample t Test: unequal variances

Theorem 1: Let and ȳ be the sample means and sx and sy be the sample standard deviations of two sets of data of size nx and ny respectively. If x and y are normal, or nx and ny are sufficiently large for the Central Limit Theorem to hold, then the random variable

image740

has distribution T(m) where
n* ly nx-1 ny-1

Observation: The nearest integer to m can be used.

An alternative calculation (Satterthwaite’s correction) of m (which has the same value) is as follows

(n - 1) (ny-1)

where
2 S

Observation: This theorem can be used to test the difference between sample means even when the population variances are unknown and unequal. The resulting test, called, Welch’s t-test, will have a lower number of degrees of freedom than (nx – 1) + ( ny – 1), which was sufficient for the case where the variances were equal. When nxand ny are approximately equal, then the degrees of freedom and the value of t in Theorem 1 are approximately the same as those in Theorem 1 of Two Sample t Test with Equal Variances.

Real Statistics Function: The Real Statistics Resource Pack provides the following supplemental function.

DF_POOLED(R1, R2) = degrees of freedom for the two sample t test for samples in ranges R1 and R2, especially when the two samples have unequal variances (i.e. m in Theorem 1).

Excel Function: Excel provides the function TTEST to handle the various two sample t-tests.

TTEST(R1, R2, tails, type) = p-value of the t-test for the difference between the means of two samples R1 and R2, where tails = 1 (one-tailed) or 2 (two-tailed) and type takes the values:

  1. the samples have paired values from the same population
  2. the samples are from populations with the same variance
  3. the samples are from populations with different variances

These three types correspond to the Excel data analysis tools

  • t-Test: Paired Two Sample for Mean
  • t-Test: Two-Sample Assuming Equal Variance
  • t-Test: Two-Sample Assuming Unequal Variance

Note that the type 3 TTEST uses the value of the degrees of freedom as indicated in Theorem 1 unrounded, while the associated data analysis tool rounds the degrees of freedom as indicated in the theorem to the nearest integer. We will explain the type 1 TTEST in Paired Sample t Test.

This function ignores all empty and non-numeric cells. The value of alpha is assumed to be .05.

Example 1: In Example 1 of Two Sample t Test with Equal Variances, we assumed that the population variances were equal since the sample variances were almost the same. We now repeat the analysis assuming that the variances are not necessarily equal.

We use the Excel formula TTEST(A4:A13,B4:B13,2,3). The first two parameters represent the data for each sample (without labels). The 3rd parameter indicates that we desire a two-tailed test and the 4th parameter indicates a type 3 test. Since

TTEST(A4:A13,B4:B13,2,3) = 0.043456 < .05 = α

we reject the null hypothesis. Note that if we use the type 2 test, TTEST(R1, R2, 2, 2) = 0.043053, the result won’t be very different, thus confirming our assumption that the population variances are almost equal.

Example 2: We repeat the analysis from Example 1 but with different data for the new flavoring.

3 New Old 12 Box Plot 32 45 16 25 35 30 25 20 15 10 18 14 10 18 10 21 12 28 13 40 14 15 10 16 19.8 17 150.6222 18.76667 varia

Figure 1 – Sample data and box plots for Example 2

Clearly, the sample variances are quite unequal. Using the T.TEST function with = 3 we get

T.TEST(A4:A13 ,B4:B13, 2, 3) = 0.05773 > .05 = α

and so this time we cannot reject the null hypothesis (for the two-tailed test). Note that if we had used the test with equal variances, namely T.TEST(A4:A13, B4:B13, 2, 2) = 0.048747 < .05 = α, then we would have rejected the null hypothesis.

We can also use Excel’s t-Test: Two-Sample Assuming Unequal Variances data analysis tool to get the same result (see Figure 2).

35 t-Test: Two-Sample Assuming Unequal Variances 37 38 Mean 39 Variance 40 Observations 41 Hypothesized Mean Difference 42 df

Figure 2 – Data analysis for the data from Figure 1

Observation: Generally, even if one variance is up to 4 times the other, the equal variance assumption will give good results. This rule of thumb is clearly violated in Example 2, and so we need to use the t test with unequal population variances.

Real Statistics Data Analysis Tool: The Real Statistics Resource Pack provides a data analysis tool called T Tests and Non-parametric Equivalents, which combines the analyses for equal and unequal variances, as well as providing confidence intervals and the Cohen effect size. A second measure of effect size is also provided, which we will study in Dichotomous Variables and the t-test.

Example 3: Repeat Example 2 using the Real Statistics data analysis tool.

Enter Ctrl-m and select T Tests and Non-parametric Equivalents from the menu. Fill in the dialog box that appears as shown in Figure 3.

T Tests and Non-parametric Equivalents Input Range 1 Input Range 2 Column headings included with data Alpha0.05 Hyp Mean/Medi

Figure 3 – Dialog box for T Test and Non-parametric Equivalents

Choose the Two independent samples and T test options and press OK. The output appears in Figure 4.

19 T Test: Two Independent Samples 20 21 SUMMARY 22 Groups Count Mean Variance Cohen d 23 New 24 Old 25 Pooled 26 27 T TEST:Figure 4 – Real Statistics data analysis for data from Figure 1

We can see from Figure 4 that the degrees of freedom have been reduced from 18 to 11.208 under the assumption of unequal variances. We can get this same value by using the formula =DF_POOLED(A4:A13, B4:B13).

Observation: The input data for the two independent sample t test can have missing data, indicated by empty cells or cells with non-numeric data. Such cells will be ignored in the analysis.

Add a comment
Know the answer?
Add Answer to:
Create two different data sets such that a T test under the assumption of equal variances will reject the null hypothesis, but the T test under the assumption of unequal variances (Hint: Welch's T...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • State whether the standardized test statistic t indicates that you should reject the null hypothesis. Explain....

    State whether the standardized test statistic t indicates that you should reject the null hypothesis. Explain. (a) t = 2.203 (b) t = 0 (c) t = 2.113 (d) t = - 2.203 1 ro -4 to = 2.158 (a) For t = 2.203, should you reject or fail to reject the null hypothesis? A. Fail to reject Ho, because t> 2.158. B. Reject Ho, because t> 2.158. C. Fail to reject Ho, because t< 2.158. D. Reject Ho, because...

  • State whether the standardized test statistic t indicates that you should reject the null hypothesis Explain...

    State whether the standardized test statistic t indicates that you should reject the null hypothesis Explain (a)t 1.848 (b) t 0 (c)t 1.781 (d)t -1863 .4 (c) For t -1.781, should you reject or fail to reject the null hypothesis? O A. Reject Ho, because t 1.804 O B. Fail to reject Ho, because t> 1.804 O C. Reject Ho, because t< 1.804 O D. Fail to reject Ho. because t-1.804 (d) For t -1.863, should you reject or fail...

  • Test the Hypotheses Below Null Hypothesis: Mean Student Debt in 2011 is equal to Mean Student...

    Test the Hypotheses Below Null Hypothesis: Mean Student Debt in 2011 is equal to Mean Student Debt in 2007 Alternative Hypothesis: Mean Student Debt in 2011 is not equal to Mean Student Debt in 2007 Alpha Level = 0.05 F-Test Two-Sample for Variances Variable 1 Variable 2 Mean 3925.76 2876.82 Variance 222129.8188 140278.3547 Observations 50 50 df 49 49 F 1.583493186 P(F<=f) one-tail 0.055512364 F Critical one-tail 1.607289463 Run an F-test for two sample variances using an alpha level of...

  • Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance...

    Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance test or two-sample t test), you must 1. Choose the appropriate test based on the information you are given 2. State null and alternative hypotheses 3. Choose a one or two tailed test and explain why you chose that test 4. Calculate the appropriate test statistic, showing all work neatly. This includes calculations of means, standard deviations, etc. 5. Draw the appropriate conclusions (i.e.,...

  • Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance...

    Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance test or two-sample t test), you must 1. Choose the appropriate test based on the information you are given 2. State null and alternative hypotheses 3. Choose a one or two tailed test and explain why you chose that test 4. Calculate the appropriate test statistic, showing all work neatly. This includes calculations of means, standard deviations, etc. 5. Draw the appropriate conclusions (i.e.,...

  • Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance...

    Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance test or two-sample t test), you must 1. Choose the appropriate test based on the information you are given 2. State null and alternative hypotheses 3. Choose a one or two tailed test and explain why you chose that test 4. Calculate the appropriate test statistic, showing all work neatly. This includes calculations of means, standard deviations, etc. 5. Draw the appropriate conclusions (i.e.,...

  • Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample vari...

    Important instructions: For all situations requiring a hypothesis test (z test, one-sample t test, one-sample variance test or two-sample t test), you must 1. Choose the appropriate test based on the information you are given 2. State null and alternative hypotheses 3. Choose a one or two tailed test and explain why you chose that test 4. Calculate the appropriate test statistic, showing all work neatly. This includes calculations of means, standard deviations, etc. 5. Draw the appropriate conclusions (i.e.,...

  • Before performing a t-test to determine if the two groups are different, researchers must first ascertain...

    Before performing a t-test to determine if the two groups are different, researchers must first ascertain if the variance in the two groups is the same using an F test. Indicate whether the hypothesis below is the null or alternate hypothesis for the F test. The variance in group A is not equal to the variance in group B Calculate the F statistic for this data set and report it in the box below, rounded to two decimal places. Use...

  • Consider a normally distributed population with unknown variance ơ2. To test the null hypothesis that σ2 is equal t...

    Consider a normally distributed population with unknown variance ơ2. To test the null hypothesis that σ2 is equal to σ. we collect a sample of size n form the population and then calculate the sample variance S2. It is well known that we would fail-to-reject the null hypothesis if the following holds: 1-2n-1n-1 Note: χ2.v is such that P(x:Xp.v), and χ is a chi-squared random variable with v degrees of freedom. Use the above result to develop a hypothesis testing...

  • please help with t test snd hypothesesis If we reject a null hypothesis at the 1%...

    please help with t test snd hypothesesis If we reject a null hypothesis at the 1% significance level, then we have hypothesis is false. evidence that the null For this problem create your own t-test and state your null hypothesis, alternative hypothesis Draw out the normal distribution curve and the critical region. You can assume a two tail test. Label the critical region. strong weak non existent

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT