The 3x2 table matches your friend's output. Within your output, you should see the following two tables: Select the Chi-square check box in the upper left-hand corner, then click Continue.Ĭlick OK to run the crosstab. This will open the Crosstabs: Statistics window. To produce a Chi-square test of independence, click Statistics. Doing this will reproduce the 3x2 table that your friend made. When the Crosstabs window opens, select the variable ClassRank in the left column and move it to the Row(s) field using the first arrow button, then select variable PickedAMajor in the left column and transfer it to the Column(s) field using the second arrow button. Click Analyze > Descriptive Statistics > Crosstabs. Now we can run our crosstab and verify your friend's results. Click Data > Weight Cases.Ĭlick Weight cases by, then double-click Freq to move it to the Frequency Variable field. Now we need to weight the cases with respect to Freq. After entering the data, your Data View window should look like this: When we go to enter our data in SPSS, we will need to create three new variables: ClassRank, PickedAMajor, and a frequency variable (let's name it "Freq"). So there are 3*2 = 6 unique factor combinations. In this situation, we have two variables: ClassRank (which has three levels) and PickedAMajor (which has two levels). Whenever you want to re-create a frequency table or crosstab, you first need to figure out how many unique combinations of the factors there are, and how many observations there were for each factor combination. You get the feeling that they may have used the Chi-square test of independence, but want to verify this for yourself. You do not see any test statistics anywhere, and it is unclear what test he has run.
You can never prove anything with a hypothesis test-not even if the p-value is really, really small.You immediately notice several things wrong with this report so far: Suppose you are helping a friend with their statistics homework, and see that they have included the following write-up in their report: To turn off an enabled weighting variable, open Weight Cases window again, and click Do not weight cases.To enable a weighting variable, click Weight cases by, then double-click on the name of the weighting variable in the left-hand column to move it to the Frequency Variable field.To turn on case weights, click Data > Weight Cases. Weighting cases in SPSS works the same way for both situations. Many of these surveys include weighting as a part of the study methodology. The Pew Research Center often makes their raw survey data available online to the public.(This often happens with large surveys: a "weighting" variable is developed to adjust a sample's composition to be reflective of the population's composition, or to control for over- or under-reporting from a certain group.) Your data requires adjustments to correct for over- or under-representation of certain characteristics in your sample.The "weight" is the number of occurrences. Your data is in the form of counts (the number of occurrences) of factors or events.Some situations where this can be useful include: In SPSS, weighting cases allows you to assign "importance" or "weight" to the cases in your dataset.