In: Math
random sample of 33 33 professional baseball salaries from 1985 through 2015 was selected. The league of the player (American or National) was also recorded. Salary (in thousands of dollars) and league are shown in the accompanying table. Test the hypothesis that there is a difference in the mean salary of players in each league. Assume the distributions are Normal enough to use the t-test. Use a significance level of 0.05 0.05.
there is no data in question
Let
X1 bar = 5.76 and X2 bar = 5.42
S1 = 1.14 and S2 = 1.12
n1 = 33 and n2 = 33
Test the hypothesis that there is a difference in the mean salary of players in each league
Follow the procedure if you have different values or Data
If data are given
Excel:
Mean = AVERAGE(A2:A34)
SD = STDEV(A2:A34)
same as for the second sample also (replace A with B)

In case equal variance is rejected

But Here in this example, an equal variance is not rejected So,



there is no difference in the mean salary of players in each league
(If P-value < 0.05, H0 is rejected and there is a difference in the mean salary of players in each league)