Below is the output for monthly salaries for recent business interns by region, Los Angles (LA) and San Francisco (SF).
t.test(Amount ~ Location, data = money)
##
## Welch Two Sample t-test
##
## data: Amount by Location
## t = -1.25, df = 223.89, p-value = 0.0789
## alternative hypothesis: true difference in means is not equal to
0
## 95 percent confidence interval:
## -4.09 4.09
## sample estimates:
## mean in group LA mean in group SF
##
2343 2367
a) Student independent sample 't' test was used for testing the mean significance difference between two groups.
b) Ho: (OR)
Ho: There is no mean difference in monthly salaries for recent business interns by region, Los Angles (LA) and San Francisco (SF).
Against
Ha: (OR)
Ha: There is a mean difference in monthly salaries for recent business interns by region, Los Angles (LA) and San Francisco (SF).
c) t-statistic = -1.25
d) Assumptions:
1) The variable must be measured at either interval or ratio level of measurement
2) The two groups from which you collect the data must be independent of one another.
3) The data must be normally distributed.
4) The variance in the population must be equal for both the groups.
e) P-Value = 0.0789
f) Here P = 0.0789 > 0.05
Hence we fail to reject the null hypothesis.
Get Answers For Free
Most questions answered within 1 hours.