# Nonparametric Analysis Problem Set 9

ProblemSet9.xlsNonparametric AnalysisUse the data set in the Problem Set Data document.First we are going to see if males and females differ in their choice of college major. Since both variables are measured on a categorical scale, we have to use a chi-square test to address this question. You can learn about chi-squares on pp. 735-46 of the textbook. Next, we are going to compare coffee drinkers and non-coffee drinkers on the amount of coffee they consume. The grouping variable is labeled Coffee (1 = coffee drinker, 0 = non-coffee drinker), and the outcome variable is labeled Num_cups. First state the name of the parametric test that would typically be used to compare the results of two groups. (1 point)Then look at the distribution of the data to determine if the assumptions of this test are met. An easy way to do this would be to go to AnalyzeâDescriptive StatisticsâFrequencies. Enter the outcome variable (Num_cups) in the âVariable(s)â box. Then click on Charts and then on Histograms. Click Continue, then OK to run the analysis. Paste the histogram here (2 points)c) After taking a look at the distribution of the data, state why these data violate a key assumption of parametric tests. (2 points).d) Find the medians of the 2 groups. One way to do this is to go to Analyze-Descriptive Statistics–Explore. Enter Coffee under Factor List and Num_cups under Dependent List. Click OK to run the analysis. List the medians of the coffee and non-coffee groups here. (2 points)e) Now conduct a Mann-Whitney U test to see if the two groups differ in the amount of coffee consumed. You can learn more about the Mann-Whitney U test on pp. 217-228 of the SPSS book.To conduct the test, go to AnalyzeâNonparametric TestsâIndependent Samples. Under the Objective tab, click on âCustomize Analysis.â Under the Fields tab, drag Coffee to the box labeled Groups and Num_cups to the box labeled Test Fields. Under the Settings tab, click on Customize Tests, then on Mann-Whitney U (2 samples).Click Run to run the analysis. Paste here the table labeled âHypothesis Test Summary.â (2 points)f) Explain your results using APA formatting. See section 6.4.6 in the SPSS book for an example, but donât worry about effect sizes (r).To write up the results, youâll need to double click on the Hypothesis Test Summary table to see the value of the Mann-Whitney U statistic and the Standardized Test Statistic (z), but you donât need to paste these detailed results here.If the groups differed, please donât just state that they differed significantly; instead, explain which group drank significantly more coffee than which other groups(6 points: 1 point for correctly stating the name of the test, 1 point for including the medians, 1 point for the correct value of the Mann-Whitney U statistic, 1 point for the correct value of the z statistic, 1 point for the correct p value, and 1 point for correctly interpreting the result).