Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

109
Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1

Transcript of Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Page 1: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

1

Intermediate WorkshopSPSS

CSU StanislausMay 2, 2014

Ed Nelson – CSU Fresno

Page 2: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Social Science Research and Instructional Council (SSRIC)

• Discipline council for the social sciences made up of representatives from each campus in the CSU. List of campus representatives can be found at the SSRIC website by clicking on "The Council" and then on “Contact Information“.

• Promotes use of data analysis in research and teaching.

• Other information can be found by going to the SSRIC website.

2

Page 3: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Social Science Data Bases

• The SSRIC helps maintain and promote the use of the social science data bases in the CSU.

• Data bases include:– Inter-university Consortium for Political and Social

Research (ICPSR)– The Field (California) Poll– The Roper Center for Public Opinion Research

3

Page 4: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Agenda for the IntermediateSPSS Workshop

• Cross tabulations– Bivariate– Multivariate

• Comparing means– Independent sample t test– Paired-sample t test– One-way analysis of variance

• Regression and correlation– Bivariate– Multivariate

• Graphs/Charts

4

Page 5: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

5

Getting More Information about the Screen Captures

• The images in this PowerPoint are screen captures from SPSS and various web sites.

• To see a description of the screen capture, right click on the image and then click on Format Picture. Click on Alt Text and a description of the image will appear.

• To close the Alt Text box click on Close.

Page 6: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Overview of SPSS

• SPSS is a statistical package for beginning, intermediate, and advanced data analysis.

• Other statistical packages include SAS, Stata and R.

• Online statistical packages that don’t require site licenses include SDA.

6

Page 7: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Text – SPSS for WindowsVersion 19 A Basic Tutorial

• Authors: Linda Fiddler (Bakersfield), Laura Hecht (Bakersfield), Ed Nelson (Fresno), Elizabeth Nelson (Fresno), Jim Ross (Bakersfield).

• Available from McGraw-Hill Learning Solutions. Call 800-338-3987 to order. Request ISBN 0-07-804018-3.

• Available on the web by going to the SSRIC website and clicking on "Teaching Resources" and then on "Online Textbooks" and then clicking on the SPSS book title. The data set for this tutorial can be downloaded at this site.

• Version 22 will be available soon online. 7

Page 8: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

SPSS Files and Extensions

• Portable file -- .por• Data file -- .sav• Output file -- .spo• Syntax file -- .sps

8

Page 9: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Opening SPSS

• Go to start and find SPSS for Windows.• Click on SPSS 19.0 or the version you have on

your computer to open.• You’ll need to update your SPSS license every

year (or your school technician will do it for you).

9

Page 10: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Opening a SPSS Data File

• File that you created. We talked about this in the last workshop.

• File that you got from someplace else.

10

Page 11: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Opening an Existing File You Got Somewhere Else

• Often you will want to open a data set that you got from someplace else such as:– ICPSR– Roper Center– Field

• These files will usually be in the form of a:– SPSS portable file (.por)– SPSS data file (.sav)– Raw data file with a SPSS syntax file (.sps)– Raw data file without a syntax file

11

Page 13: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Searching for Data from ICPSR

• Click on Find and Analyze Data.• Enter “immigration” in the “Find Data box.• Explore the different ways of browsing. • Click on “Go”.

13

Page 14: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Searching for Data – Find Data

14

Page 15: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Searching Tips

15

Page 16: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

16

Sorting by Time Period

• Arrange the data sets so they go from earliest to latest.

Page 17: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

17

Data Set We’re Using

• We’re going to use ICPSR study number 30205. If you know the study number you can search for it by number. When you do the study 30205 should be near the top of the search results list and will be the study on the next slide.

Page 18: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Study We’re Going to Use

18

Page 19: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

19

More Information about Study

• Double click on the study title to get more information about the study.

Page 20: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

20

More Information about Variables

• Scroll down the study results until you see Variables. Enter “immigration” into the box and click Go.

Page 21: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

21

Q28

• Double click on Q28 to see the frequency distribution for this variable.

Page 22: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

22

Downloading a File from ICPSR

• Find the section in the study results that describes the data sets.

• Click on whatever you want to download.

Page 23: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Sign in to ICPSR

23

Page 24: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Creating a MyData Account

24

Page 25: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Filling Out the New Account Form

25

Page 26: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Downloading Box

26

Page 27: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Downloading Instructions

• Select “Save File”.• In Firefox file will be saved to your downloads

folder.• File will be saved as a zip file.• Open the zip file.• Keep opening folders until you see

codebook.pdf, questionnaire.pdf and data.sav.

27

Page 28: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Opening the .sav File

• You can move the zip file from the downloads folder to wherever you want to keep it on your hard drive.

• Open SPSS and then open the .sav file.

28

Page 29: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Mini-codebookUtilities/Variables

29

Page 30: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Frequency Distribution for Q28

30

Page 31: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar chart for Q28

31

Page 32: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Bivariate(see chapter 5 in text)

32

Page 33: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Cells Display Box

33

Page 34: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs Statistics Box

34

Page 35: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Percentaged Crosstabs Table for Q28 by REG4

35

Page 36: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Chi Square Table

36

Page 37: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Lambda and Goodman and Kruskal Tau

37

Page 38: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs –Another Example

• Now let’s run a table with USR (urban, suburbs, rural) as our independent variable and Q28 as our dependent variable.

38

Page 39: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Percentaged Crosstabs Table for Q28 by USR

39

Page 40: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Exercises for Crosstabs -- Bivariate

• Now you try some two-variable crosstabs with Q28 as your dependent variable and some other independent variables such as:– Education – EDUCBREAK– Race – Q918– Income – INCOME2– Age – AGEBREAK– Sex – Q921

40

Page 41: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs -- Multivariate

• Let’s run a three- variable table– Dependent variable – Q28– Independent variable– AGEBREAK– Control variable – Q921 (sex)

41

Page 42: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – MultivariateTable for Q28 by Agebreak by Q921 (sex)

42

Page 43: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Chi Square Table

43

Page 44: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Multivariate Table – Interchanging the Control and Independent Variables

• Now let’s interchange the control and independent variables– Dependent variable – Q28– Independent variable – Q921 (sex)– Control variable -- AGEBREAK

44

Page 45: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Multivariate Table for Q28 by Q921 (sex) by Agebreak

45

Page 46: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Rest of the Table

46

Page 47: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Crosstabs – Chi Square Table for Q28 by Q921 (sex) by Agebreak

47

Page 48: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Ways to Compare Means(see ch. 6 in text)

• Independent-sample t test• Paired-sample t test• One-way analysis of variance• For this part of the workshop, we’re going to switch

to the 2010 General Social Survey (GSS) and use a subset that I created for my classes called GSS10a.sav. You’re welcome to use this subset for your classes.

• There is also a subset for the 2012 GSS called Gss12a.sav.

48

Page 49: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means

• Click on Analyze/Compare Means and then on Means.

• Move AGEKDBRN into the “Dependent List”.• Move SEX into the “Independent List”• Click on OK.

49

Page 50: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means – Means Table for Agekdbrn by Sex

50

Page 51: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Means Output for Agekdbrn by Sex

51

Page 52: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means – Other Statistics and Further Breakdowns

• Requesting other statistics – click on “Options” and select the other statistics you would like.

• Further breakdowns – Click on “Next” and select a further breakdown.– Move DEGREE into the “Layer 2” box and click on

“OK” and click on OK. again– After you have done this, move DEGREE into the

“Layer 1” box and SEX into the “Layer 2” box and click on OK.

52

Page 53: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means – Agekdbrn by Degree by Sex

53

Page 54: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means -- Statistics

54

Page 55: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means – Chi Square Table for Agekdbrn by Degree by Sex

55

Page 56: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Comparing Means -- Agekdbrn by Sex by Degree

56

Page 57: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Exercises for Comparing Means

• Compute the mean age (AGE) of respondents who voted for Bush, Kerry, and someone else (PRES04). Which group had the youngest mean age and which had the oldest mean age?

• Compute the mean number of hours that people with different levels of education (DEGREE) watch television (TVHOURS). Who watches more television – those with less education or those with more education?

57

Page 58: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Independent Samplet Test

• Independent samples are samples where the composition of one sample does not influence the composition of the other sample.

• Click on Analyze/Compare Means/Independent Sample T Test.• Select the “Test Variable”. This is the variable that you want

to use to compare the two groups. Let’s use AGEKDBRN as our test variable.

• Click on Define Groups to define the two groups that you want to compare.

58

Page 59: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Independent Sample Box for Agekdbrn by Sex

59

Page 60: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Defining the Groups

• Now indicate the values that define the two groups.

• Males are coded 1 and females are coded 2.• So enter 1 in the Group 1 box and 2 in the

Group 2 box.• Then click on Continue and then on OK.

60

Page 61: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Independent Sample t Test --Define Groups

61

Page 62: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Independent Sample t Test – Group Statistics

62

Page 63: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Independent Sample t Test – t Values

63

Page 64: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Exercises for Independent Sample t Test

• Use the independent sample t test to compare the mean age (AGE) of respondents who believe and do not believe in life after death (POSTLIFE). Which group had the highest mean age? Was the difference statistically significant at the .05 level of significance?

• Compare the mean family income (INCOME06) of men and women (SEX). Who had the higher income? Was it statistically significant at the .05 level of significance?

64

Page 65: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Paired Samples t Test

• Paired samples are samples where the composition of one sample determines the composition of the other sample (e.g., sample of husbands and wives married to each other).

• Click on Analyze/Compare Means/Paired Samples T Test.

65

Page 66: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Paired Samples t Test -- Continued

• Select your paired variables by clicking on the first variable in the list on the left and then clicking on the arrow. Then click on the second variable and click on the arrow again. They should now be in the “Paired Variables” box on the right. Let’s use MAEDUC and PAEDUC as our paired variables.

• Move these two paired variables to the “Paired Variables” box.

• Click on “OK.”

66

Page 67: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Paired Samples t Test Box

67

Page 68: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Paired Samples t Test – Group Statistics

68

Page 69: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Paired Samples t Test – t test value

69

Page 70: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Exercises for Paired Sample t Test

• Use the paired-sample t test to compare mother’s socioeconomic status (MASEI) and father’s socioeconomic status (PASEI). Who has the highest mean socioeconomic status – mothers or fathers? Was the difference statistically significant?

• Compare the mean years of school completed for respondents (EDUC) and their spouses (SPEDUC). Who has the higher years of school completed? Was the difference statistically significant?

70

Page 71: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance

• Now we want to compare means for more than two groups.

• Click on Analyze/Compare Means/Means.• Select the variable that defines your groups by

clicking on it and moving it to the “Independent List” box. Do this for DEGREE.

• Select the variable that you want to use as your comparison variable and move it to the “Dependent List” box. Let’s use AGEKDBRN as our comparison variable.

71

Page 72: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance – Means Box

72

Page 73: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance (continued)

• Click on “Options” to open the “Means: Options” box.

• Click in the “Anova table and eta” box to select it and indicate that you want to do a One-Way ANOVA.

• Click on “Continue” and on “OK.”

73

Page 74: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance – Means: Options Box

74

Page 75: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance – Statistics Report

75

Page 76: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

One-Way Analysis of Variance – ANOVA Table

76

Page 77: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Exercises for One-Way ANOVA

• Compare the number of hours watching television (TVHOURS) for people of different levels of education (DEGREE). Who watches more television – those with more education or those with less education? Was the F-value statistically significant?

77

Page 78: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Correlation and Regression(see chs. 7 and 8 in text)

• Let’s use HRS1 (number of hours worked last week) as our dependent variable.

• We’ll use AGE, EDUC (years of school completed), INCOME06 (family income) and SEI (socioeconomic index) as our independent variables.

78

Page 79: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bivariate Correlation Box

79

Page 80: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Correlation

• Check for multicolinearity which means that two or more of the independent variables are highly intercorrelated.

• The correlation between EDUC and SEI is .529. That’s pretty high but not so high as to be a serious problem.

• If it was higher, then we would probably want to drop one of these two variables.

80

Page 81: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Correlation Matrix

81

Page 82: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression

• Now let’s run a multiple regression.• Click on Analyze/Regression/Linear.

82

Page 83: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Linear Regression Box

83

Page 84: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression Coefficients

84

Page 85: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression ANOVA Table

85

Page 86: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression R and R Squared Values

86

Page 87: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression -- Multicolinearity

• If we’re still worried about multicolinearity, let’s run another regression equation leaving out SEI.

• Dropping SEI will allow us to see if the regression coefficients for age and education change without SEI in the equation.

87

Page 88: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Regression Coefficients – Checking on Multicolinearity

88

Page 89: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

ANOVA Table when SEI is Dropped from the Equation

89

Page 90: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

R and R Squared when SEI is Dropped from the Equation

90

Page 91: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Charts/Graphs(see ch. 9 in text)

• Bar charts• Boxplots

91

Page 92: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

General Information About Graphs

• There are several ways to produce charts in SPSS.

• We’ll be using chart builder.

92

Page 93: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar Chart

• We’ll use the GSS10A data set.• Click on Graphs and then on Chart Builder.• Make sure that the Gallery tab is selected and then

click on Bar.• Click on the top left bar chart (i.e., simple bar chart)

and drag it up to the top box.• Click on DEGREE and drag it to the X axis so your

screen looks like the next slide.

93

Page 94: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Chart Builder – Bar Chart

94

Page 95: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar Chart for Degree

95

Page 96: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar Chart Instructions for Displaying Percents

• Now let’s change the bar chart so it displays percents.

• You’ll see the Elements Properties box on the right. Click on Bar 1.

• Under statistics click on the drop-down arrow and select percentages.

• Now you screen should look like the next slide.

96

Page 97: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar Chart Properties Box

97

Page 98: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Bar Chart Instructions for Adding Title

• Click on Apply.• Now let’s give the chart a title.• Click on the Titles/Footnotes tab and then

check the Title 1 Box.• Enter “Highest Degree Earned” in the Content

box.• Your screen should look like the next slide.

98

Page 99: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Chart Builder – Adding Title and Percentages

99

Page 100: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

100

Bar Chart For Degreewith Title and Percentages

• Click on Apply and then on OK and your bar chart should appear.

Page 101: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Boxplots

• Click on Graphs and then on Chart Builder.• Make sure the Gallery tab is selected.• Click on boxplot and then click on the top left boxplot

(i.e., simple boxplot) and drag it to the window above.

• Click on HRS1 (i.e., hours worked last week) and drag it to the Y axis.

• Your screen should look like the next slide.

101

Page 102: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Boxplots Chart Builder

102

Page 103: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

103

Boxplots for hrs1

• Click on OK and your boxplot should appear.

Page 104: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Interpreting the Boxplot

• The top of the box is the third quartile and the bottom of the box is the first quartile.

• The solid horizontal line in the box is the median or second quartile.

• The lines extending up and down from the box are measures of variation.

• The circles are extreme outliers and the numbers next to the circles are the case identification numbers of the outliers..

104

Page 105: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Getting Separate Boxplotsfor Males and Females

• Now let’s get two boxplots – one for males and one for females.

• Click on SEX and drag it to the X axis so your screen looks like this.

• Then click on OK to get the boxplots.

105

Page 106: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Getting Boxplots for Males and Females

106

Page 107: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

107

Boxplots for Males and Females

Page 108: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

Where do you go from here?

• Explore the help menu.• Spend some time playing with SPSS.• Try out different ways of analyzing your data.• Consult a person trained in statistics if you

have questions about what statistical procedures to use or how to interpret them.

108

Page 109: Intermediate Workshop SPSS CSU Stanislaus May 2, 2014 Ed Nelson – CSU Fresno 1.

How to contact me

• Ed Nelson• CSU Fresno• [email protected]• 559-978-9391 (cell)

109