14.4k views
4 votes
Bank of America's Consumer Spending Survey collected data on annual credit card charges in seven different categories of expenditures: transportation, groceries, dining out, household expenses, home furnishings, apparel, and entertainment. Using data from a sample of credit card accounts, assume that each account was used to identify the annual credit card charges for groceries (population 1) and the annual credit card charges for dining out (population 2). Using the difference data, the sample mean difference was , and the sample standard deviation was .

User Rominf
by
4.4k points

1 Answer

3 votes

Answer:

a) Null hypothesis:
\mu_d= 0

Alternative hypothesis:
\mu_d \\eq 0

b)
t=(\bar d -0)/((s_d)/(√(n)))=(850 -0)/((1123)/(√(42)))=4.905

The next step is calculate the degrees of freedom given by:


df=n-1=42-1=41

Now we can calculate the p value, since we have a left tailed test the p value is given by:


p_v =2*P(t_((41))>4.905) =0.000015

So the p value is lower than any significance level given, so then we can conclude that we can reject the null hypothesis that the difference between he two groups are equal.

Explanation:

Assuming the following questions:

We assume the following data:
n = 42 ,\bar d= 850 , s_d = 1123

Previous concepts

A paired t-test is used to compare two population means where you have two samples in which observations in one sample can be paired with observations in the other sample. For example if we have Before-and-after observations (This problem) we can use it.

a. Formulate the null and alternative hypotheses to test for no difference between the population mean credit card charges for groceries and the population mean credit card charges for dining out.

The system of hypothesis for this case are:

Null hypothesis:
\mu_2- \mu_1 = 0

Alternative hypothesis:
\mu_2 -\mu_1 \\eq 0

Or equivalently

Null hypothesis:
\mu_d= 0

Alternative hypothesis:
\mu_d \\eq 0

b. Use a .05 level of significance. Can you conclude that the population means differ? What is the p-value?


t=(\bar d -0)/((s_d)/(√(n)))=(850 -0)/((1123)/(√(42)))=4.905

The next step is calculate the degrees of freedom given by:


df=n-1=42-1=41

Now we can calculate the p value, since we have a left tailed test the p value is given by:


p_v =2*P(t_((41))>4.905) =0.000015

So the p value is lower than any significance level given, so then we can conclude that we can reject the null hypothesis that the difference between he two groups are equal.

User Edtruant
by
4.7k points