Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS -...

31
Introduction to SPSS Danielle J. Rieger, M.A., Ph.D. Candidate SPSS Statistical Consultant

Transcript of Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS -...

Page 1: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Introduction to SPSSDanielle J. Rieger, M.A., Ph.D. Candidate

SPSS Statistical Consultant

Page 2: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Contact:[email protected]

[email protected]

https://library.carleton.ca/services/statistical-consulting

Page 3: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Introduction to SPSSV. 27

https://carleton.ca/its/all-services/computers/site-licensed-software/spss/

Page 4: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Ask Questions

Page 5: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Are you excited to learn about SPSS?

Page 6: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Workshop Overview1.1 Introduction to SPSS

- Orientation

1.2 Tutorial: Getting Started- Create an SPSS file- Clean Data

1.3 Tutorial: Analyses- Output- Graphs

1.4 Syntax

Page 7: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Workshop Overview1.1 Introduction to SPSS

- Orientation

1.2 Tutorial: Getting Started- Create an SPSS file- Clean Data

1.3 Tutorial: Analyses- Output- Graphs

1.4 Syntax

Page 8: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Workshop Overview1.1 Introduction to SPSS

- Orientation

1.2 Tutorial: Getting Started- Create an SPSS file- Clean Data

1.3 Tutorial: Analyses- Output- Graphs

1.4 Syntax

Page 9: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Workshop Overview1.1 Introduction to SPSS

- Orientation

1.2 Tutorial: Getting Started- Create an SPSS file- Clean Data

1.3 Tutorial: Analyses- Output- Graphs

1.4 Syntax

Page 10: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Introduction to SPSS: OrientationSPSS Files:

- Data File (.sav)Master File/Spreadsheet:

Data ViewVariable View

- Output File (.spv)Results

- Syntax File (.sps)Instructions

Page 11: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Measurement ScalesContinuous Variables

- Ratio

- Interval

Categorical Variables- Nominal

- Ordinal

Page 12: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Measurement ScalesContinuous Variables

- Ratio (includes true zero)height, age, km

- Interval (no true zero)temperature, intelligence test score

Categorical Variables- Nominal (categories)

married/widowed/divorced/single

- Ordinal (categories with order)

Primary

School

Secondary

School

Trade

School

Undergraduate Post

Graduate

Page 13: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Measurement Scales in SPSSContinuous Variables

- Ratio

- Interval

Categorical Variables- Nominal

- Ordinal

Scale

Ordinal

Nominal

Page 14: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Tutorial: Getting StartedCreate an SPSS File:

- Open/Import files into SPSS- Merge and Match files

Inspect Data:- Data characteristics

Clean Data:- Recode/Create Variables- Identify duplicate/missing cases- Filter/Delete cases

Page 15: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Tutorial: Getting StartedCreate an SPSS File:

- Open/Import files into SPSS- Merge and Match files

Inspect Data:- Data characteristics

Clean Data:- Recode/Create Variables- Identify duplicate/missing cases- Filter/Delete cases

Page 16: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files1. Add Variables

2. Add Cases

Page 17: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add CasesSample 1

ID Age Intake Assessment

1 22 Moderate

2 34 High

3 32 Low

4 44 High

Sample 2

ID Age Intake Assessment

55 58 Moderate

56 18 Moderate

57 27 High

58 36 High

Page 18: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add CasesSample 1

ID Age Intake Assessment

1 22 Moderate

2 34 High

3 32 Low

4 44 High

Sample 2

ID Age Intake Assessment

55 58 Moderate

56 18 Moderate

57 27 High

58 36 High

Page 19: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add CasesSamples 1 & 2

ID Age Intake Assessment

1 22 Moderate

2 34 High

3 32 Low

4 44 High

55 58 Moderate

56 18 Moderate

57 27 High

58 36 High

Page 20: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add VariablesFile 1

ID Age Risk Level

1 22 Moderate

2 34 High

3 32 Low

4 44 High

5 59 Low

6 18 Moderate

File 2

ID Recidivism - 12 Months

1 Violation

2 New Sentence

3 Revocation

4

5 Violation

6

Page 21: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add VariablesFile 1

ID Age Risk Level

1 22 Moderate

2 34 High

3 32 Low

4 44 High

5 59 Low

6 18 Moderate

File 2

ID Recidivism - 12 Months

1 Violation

2 New Sentence

3 Revocation

4

5 Violation

6

Page 22: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Merge and Match Files: Add VariablesFile 1

ID Age Risk Level

1 22 Moderate

2 34 High

3 32 Low

4 44 High

5 59 Low

6 18 Moderate

File 2

ID Recidivism -

12 Months

1 Violation

2 New Sentence

3 Revocation

4

5 Violation

6

+ =

Merged Files

ID Age Risk Level Recidivism -

12 Months

1 22 Moderate Violation

2 34 High New Sentence

3 32 Low Revocation

4 44 High

5 59 Low Violation

6 18 Moderate

Page 23: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Tutorial: Getting StartedCreate an SPSS File:

- Open/Import files into SPSS- Merge and Match files

Inspect Data:- Data characteristics

Clean Data:- Recode/Create Variables- Identify duplicate/missing cases- Filter/Delete cases

Page 24: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

CongratulationsYou have created your SPSS file.

Now for Analyses.

Page 25: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Tutorial: AnalysesDescriptives

- Frequencies- Crosstabulations

Graphs

Analyses- Chi-Square- T-Tests- ANOVA- Regression- Assumptions Testing

Page 26: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Syntax- Don’t be scared

Page 27: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Syntax- Don’t be scared

- Same as doing analyses, just “Paste” instead of “OK”

Page 28: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Syntax- Don’t be scared

- Same as doing analyses, just “Paste” instead of “OK”

- Save code in syntax file

Page 29: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Syntax- Don’t be scared

- Same as doing analyses, just “Paste” instead of “OK”

- Save code in syntax file

- Make notes-to-self

Page 30: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

Syntax: Same as Analyses, just paste instead of OKDescriptives

- Frequencies- Crosstabulations

Graphs

Analyses- Chi-Square- T-Tests- ANOVA- Regression- Assumptions Testing

Page 31: Introduction to SPSS - Carleton University · Workshop Overview 1.1 Introduction to SPSS - Orientation 1.2 Tutorial: Getting Started - Create an SPSS file - Clean Data 1.3 Tutorial:

[email protected]

[email protected]

https://library.carleton.ca/services/statistical-consulting