24
INTRODUCTION TO SPSS PART#1 ITEC107 – Introduction to Computing for Pharmacy ITEC107 - Introduction to Computing for Pharmacy 1

Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

  • Upload
    others

  • View
    59

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

INTRODUCTION TO SPSSPART#1

ITEC107 – Introduction to Computing

for Pharmacy

ITEC107 - Introduction to Computing for Pharmacy 1

Page 2: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Outline

■ Introduction

■ Basics of SPSS

■ Basic Structures of SPSS

■ Missing Value

■ Analyze Data

■ Graphing Data

ITEC107 - Introduction to Computing for Pharmacy 2

Page 3: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Objectives

■ To be able to understand basics of SPSS

■ To be able to start SPSS program

■ To be able to apply basic statistics

■ To be able to apply graphing on selected data

ITEC107 - Introduction to Computing for Pharmacy 3

Page 4: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

What is SPSS?

SPSS is a Windows based program that can be used to perform

data entry and analysis and to create tables and graphs. SPSS is

capable of handling large amounts of data and can perform all of

the analyses covered in the text and much more

ITEC107 - Introduction to Computing for Pharmacy 4

Page 5: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Introduction to SPSS

■ SPSS is the acronym of Statistical Package for the Social

Science. SPSS is one of the most popular statistical packages

which can perform highly complex data manipulation and

analysis with simple instructions.

■ We will be work on SPSS 16.0.

ITEC107 - Introduction to Computing for Pharmacy 5

Page 6: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

SPSS Layout

ITEC107 - Introduction to Computing for Pharmacy 6

Page 7: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

SPSS Layout(cont.)

■ SPSS opens directly into an untitled Data Editor.

ITEC107 - Introduction to Computing for Pharmacy 7

Page 8: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

SPSS Layout(cont.)

■ The data in the Data Editor is saved in a file with the

extension .sav

■ Information from the Output Viewer is saved in a file with the

extension .spo

ITEC107 - Introduction to Computing for Pharmacy 8

Page 9: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

How to open SPSS

■ Go to START

■ Click on PROGRAMSspss folder

■ Click on SPSS14

ITEC107 - Introduction to Computing for Pharmacy 9

Page 10: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Opening a data file

■ Click on FILE OPEN DATA

■ Click COMPUTER LOCAL DISK C:/

■ Click PROGRAM FILES SPSS Eval

■ Click TUTORIAL SAMPLE FILES

■ Select CATALOG.SAV

ITEC107 - Introduction to Computing for Pharmacy 10

Page 11: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Basic Structures of SPSS

■ There are two different windows in SPSS

■ 1st – Data Editor Window - shows data in two forms– Data view

– Variable view

■ 2nd – Output viewer Window – shows results of data analysis

■ *You must save the data editor window and output viewer window separately. Make sure to save both if you want to save your changes in data or analysis.*

ITEC107 - Introduction to Computing for Pharmacy 11

Page 12: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Data view vs. Variable view

■ Data view

– Rows are cases

– Columns are variables

■ Variable view

– Rows define the variables

■ Name, Type, Width, Decimals, Label, Missing, etc.

– Scale – age, weight, income

– Nominal – categories that cannot be ranked (ID number)

– Ordinal – categories that can be ranked (level of satisfaction)

ITEC107 - Introduction to Computing for Pharmacy 12

Page 13: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Data view

ITEC107 - Introduction to Computing for Pharmacy 13

Page 14: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Variable view

ITEC107 - Introduction to Computing for Pharmacy 14

Page 15: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Missing Value

■ There are two types of missing values in SPSS: system-missing and user-defined.

■ System-missing data is assigned by SPSS when a function cannot be performed.

ITEC107 - Introduction to Computing for Pharmacy 15

Page 16: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Missing Value(cont.)

■ For example, dividing a number by zero. SPSS indicates that a

value is system-missing by one period in the data cell.

ITEC107 - Introduction to Computing for Pharmacy 16

Page 17: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Analyze data With SPSS

■ Descriptive Statistics:

– Descriptive statistics are numbers that are used to

summarize and describe data. The word "data" refers to

the information that has been collected from an

experiment, a survey, a historical record, etc.

– Descriptive statistics can be used to summarize the

data. If your data is categorical, try the frequencies or

crosstabs procedures. If your data is scale level, try

summaries or descriptives.

ITEC107 - Introduction to Computing for Pharmacy 17

Page 18: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Applying Descriptive Statistics

■ Sample 1

– Click on FILE OPEN DATA

– Click COMPUTER LOCAL DISK C:/

– Click PROGRAM FILES SPSS Eval

– Click TUTORIAL SAMPLE FILES

– Select CATALOG.SAV and open

ITEC107 - Introduction to Computing for Pharmacy 18

Page 19: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Applying Descriptive Statistics(cont.)

■ Lets say we are interested in learning more about the number of customer service representatives (service).

ITEC107 - Introduction to Computing for Pharmacy 19

Page 20: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Applying Descriptive Statistics(cont.)

■ Click ANALYZE

■ Click DESCRIPTIVE STATISTICS

■ Click FREQUENCIES

■ Choose service from thelist.

ITEC107 - Introduction to Computing for Pharmacy 20

Page 21: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Applying Descriptive Statistics(cont.)

■ Sample2

■ Lets say we want to learn more about the number of catalogs mailed (mail).

■ Click ANALYZE

■ Click DESCRIPTIVE STATISTICS

■ Click DESCRIPTIVES

■ Move MAIL over with the arrow

■ Click Options

ITEC107 - Introduction to Computing for Pharmacy 21

OPTIONS – we can choose which statistics we are interested in looking at

We should remember that these descriptive statistics will not always make sense for every variable. For example, we should not be asking for the mean of nominal variables like gender or race.

Page 22: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Graphing Data

■ Click GRAPH

■ Click CHART BUILDER

■ Select chart type

■ Select variables for x and y axis

ITEC107 - Introduction to Computing for Pharmacy 22

Page 23: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

Graphing Data(cont.)

■ There are other ways to make graphs.

■ Click ANALYZE

■ Click DESCRIPTIVE STATISTICS

■ Click FREQUENCIES

■ Click CHART

■ Select CHART type

ITEC107 - Introduction to Computing for Pharmacy 23

Page 24: Introduction to SPSS...Introduction to SPSS SPSS is the acronym of Statistical Package for the Social Science. SPSS is one of the most popular statistical packages which can perform

What we have learned!

■ Basics of SPSS

■ Basic Structures of SPSS

■ Missing Value

■ Analyze Data

■ Graphing Data

ITEC107 - Introduction to Computing for Pharmacy 24