In: Statistics and Probability
You wish to test the claim that the first population mean is greater than the second population mean at a significance level of α=0.002α=0.002.
Ho:μ1=μ2
Ha:μ1>μ2
You obtain the following two samples of data.
| Sample #1 | Sample #2 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
  | 
  | 
Ho :   µ1 - µ2 =   0  
           
   
Ha :   µ1-µ2 >   0  
           
   
          
           
   
Level of Significance ,    α =   
0.002          
       
          
           
   
Sample #1   ---->   sample 1  
           
   
mean of sample 1,    x̅1=   59.68  
           
   
standard deviation of sample 1,   s1 =   
5.00          
       
size of sample 1,    n1=   12  
           
   
          
           
   
Sample #2   ---->   sample 2  
           
   
mean of sample 2,    x̅2=   40.12  
           
   
standard deviation of sample 2,   s2 =   
18.53          
       
size of sample 2,    n2=   12  
           
   
          
           
   
difference in sample means =    x̅1-x̅2 =   
59.6750   -   40.1   =  
19.56  
          
           
   
pooled std dev , Sp=   √([(n1 - 1)s1² + (n2 -
1)s2²]/(n1+n2-2)) =    13.5721  
           
   
std error , SE =    Sp*√(1/n1+1/n2) =   
5.5408          
       
          
           
   
t-statistic = ((x̅1-x̅2)-µd)/SE = (  
19.5583   -   0   ) /   
5.54   =   3.5299
          
           
   
Degree of freedom, DF=   n1+n2-2 =   
22          
       
p-value =        0.0009 [excel
function: =T.DIST.RT(t stat,df) ]  
          
Conclusion:     p-value <α , Reject null
hypothesis          
   
The sample data support the claim that the first population mean is greater than the second population mean.
................
THANKS
revert back for doubt
please upvote