# Hypothesis test - 2 independent variables

#### AndrosP

##### New Member
Gone through all my notes on this one and raked online but still quite stuck..

___________________________________________________________________________________________________________________________________________________________

Problem

Customers spending on groceries follows a normal distribution with the variance of $3.50. The amount customers spend on non-groceries in same store follows a normal distribution with the variance of$4.10. The store offers a 15% savings on groceries and 20% savings on non-groceries. Assume that expenditure on groceries and non-groceries are independent of each other.

Out of a random sample of 12 customers, the sample average saving is $9.63. Test the hypothesis that the population average saving exceeds$9.33.

________________________________________________________________________________________________________________________________________________________

What I've tried

What I think here is I need to make use of the fact that both random variables are independent. So then, Variance [X+Y] =Var[X] + Var[Y] = $7.60 & hence standard error is sqrt(Var)/sqrt(n) = sqrt(7.6)/sqrt(12) =0.79 To get my test statistic I am stating for the null Ho: sample mean - population mean > 0 or ($9.63-$9.33)/(s.e). I get a Z-score of 0.37 which, from z-table is about .64 or 64% of time population mean exceeds$9.33.

I am not confident at all about this and feel I've done something weird or crazy wrong. The bit about the % of discount maybe relevant but not sure how to incorporate that either. Thankful for any help.