Professional Documents
Culture Documents
SPSS Tests-Mann Whitney, Krushkal Wallis, Linear Regression
SPSS Tests-Mann Whitney, Krushkal Wallis, Linear Regression
Hypothesis:
Null Hypothesis: There is no difference between the mean ratings of men and women.
Alternative Hypothesis: There is difference between the mean ratings of men and women.
Critical Value: 8; Reject the null hypothesis if U ≤ 8.
Alpha Value: α = 0.05
Test Statistics:
Test Statistics b
Rating
"Television"
Mann-Whitney U 21.000 Ranks
Wilcoxon W 49.000 Gend Mean Sum of
Z -.447 er N Rank Ranks
Asymp. Sig. (2-tailed) .655 Rating Fema 7 7.00 49.00
Exact Sig. [2*(1-tailed .710a "Television" le
Sig.)] Male 7 8.00 56.00
Exact Sig. (2-tailed) .710 Total 14
Exact Sig. (1-tailed) .355
Point Probability .045
a. Not corrected for ties.
b. Grouping Variable: Gender
Result: Since U ≥ 8 and all the P values is more than 0.05, we accept the null hypothesis.
Conclusion: The mean ratings of men and women are equal. It didn't show a gender difference.
Kruskal-Wallis H Test
Question: Three teaching methods were tested on a group of 19 students with homogeneous
backgrounds in statistics and comparable aptitudes. Each student was randomly assigned to a
method and at the end of a 6-week program was given a standardized exam. The results are
shown in the table below. Test for a difference in distributions (medians) of the test scores for the
different teaching methods using the Kruskal-Wallis test.
Teaching Test Score Teaching Test Score Teaching Test Score
Method Method Method
Method A 97 Method B 85 Method C 92
Method A 90 Method B 88 Method C 71
Method A 93 Method B 82 Method C 75
Method A 77 Method B 87 Method C 79
Method A 90 Method B 63 Method C 72
Method A 100 Method B 83 Method C 68
Method B 75
Hypothesis:
Null Hypothesis: The median test scores are equal.
Alternative Hypothesis: Not all of the median test scores are equal.
Critical Value: 5.730; Reject if chi-square≥ 5.730
Alpha Value: α = 0.05
Test Statistics:
Ranks
Test Statisticsa,b
Teaching
Test Score
Method N Mean Rank
Chi-Square 7.509
Test Score Method A 6 15.00
df 2
Method B 7 8.79
Asymp. Sig. .023
Method C 6 6.42
a. Kruskal Wallis Test
b. Grouping Variable: Teaching Total 19
Method
Result: Since chi-square value 7.509 is greater
than the critical value 5.730 and p-value 0.023 is less than the alpha value 0.05, we reject the null
hypothesis.
Conclusion:
We can conclude that, not all the median test scores are equal, there is a difference in the median
test scores (and, hence, the mean test scores) among the three teaching methods.
Linear Regression
Question: The table below shows the years of experience of 20 salesperson and their last years sale in
dollar. Is there any correlation between their years of experience and sales?
Years of Experience Sales (Dollar) Years of Experience Sales (Dollar)
2.0 5350 2.0 4100
2.0 4320 3.0 6200
2.4 5300 2.0 2150
8.0 18400 4.0 7800
2.8 4500 3.4 6740
5.0 11900 3.0 6200
1.5 3100 5.0 11040
6.0 13400 6.8 13500
3.0 5580 6.0 12300
4.0 8800 3.2 6340
Hypothesis:
Null Hypothesis: There is no correlation between years of experience and last year sales.
Alternative Hypothesis: There is a correlation between years of experience and last year sales.
Critical Value: 0.444. (Degree of freedom=n-2=18)
Alpha Value: α = 0.05
Test Statistics:
ANOVAb
Sum of
Model Squares df Mean Square F Sig.
1 Regression 3.281E8 1 3.281E8 458.438 .000a
Residual 1.288E7 18 715674.001
Total 3.410E8 19
a. Predictors: (Constant), Years of experience
b. Dependent Variable: Last year sales
Coefficientsa
Unstandardized Standardized
Coefficients Coefficients