Introduction to SPSS for GHA Staff Prof Gwilym Pryce: Tutors: George Vlachos, Christian Holz Lab notes based on material by John.

Slides:



Advertisements
Similar presentations
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Advertisements

A Simple Guide to Using SPSS© for Windows
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
Introduction to SPSS Descriptive Statistics. Introduction to SPSS Statistics Program for the Social Sciences (SPSS) Commonly used statistical software.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 1 Chicago School of Professional Psychology.
Quantitative Data Analysis Definitions Examples of a data set Creating a data set Displaying and presenting data – frequency distributions Grouping and.
Summary of Quantitative Analysis Neuman and Robson Ch. 11
Presentation of Data.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Mann-Whitney U Test PowerPoint Prepared by Alfred.
Introduction to SPSS (For SPSS Version 16.0)
Central Tendency In general terms, central tendency is a statistical measure that determines a single value that accurately describes the center of the.
Examining Univariate Distributions Chapter 2 SHARON LAWNER WEINBERG SARAH KNAPP ABRAMOWITZ StatisticsSPSS An Integrative Approach SECOND EDITION Using.
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
PY550 Research and Statistics Dr. Mary Alberici Central Methodist University.
Organizing Your Data for Statistical Analysis in SPSS
Overview; Variables, Constants, Tables & Graphs Dr Gwilym Pryce
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 12 Describing Data.
Chapter 1 Descriptive Analysis. Statistics – Making sense out of data. Gives verifiable evidence to support the answer to a question. 4 Major Parts 1.Collecting.
Copyright © 2012 by Nelson Education Limited.2-1 Chapter 2 Basic Descriptive Statistics: Percentages, Ratios and Rates, Tables, Charts, and Graphs.
Data Presentation.
Chapter 1 Displaying the Order in a Group of Numbers and… Intro to SPSS (Activity 1) Thurs. Aug 22, 2013.
Using the Frequencies Procedure in SPSS 9.0 for Windows © by Julia Hartman © Copyright 2000, Julia Hartman.
Tutor: Prof. A. Taleb-Bendiab Contact: Telephone: +44 (0) CMPDLLM002 Research Methods Lecture 9: Quantitative.
Basic Descriptive Statistics Percentages and Proportions Ratios and Rates Frequency Distributions: An Introduction Frequency Distributions for Variables.
Data Analysis Using SPSS
Variable  An item of data  Examples: –gender –test scores –weight  Value varies from one observation to another.
Introduction to SPSS Edward A. Greenberg, PhD
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Quantitative Skills 1: Graphing
The introduction to SPSS Ⅱ.Tables and Graphs for one variable ---Descriptive Statistics & Graphs.
Statistics for the Social Sciences Psychology 340 Spring 2009 Review of SPSS basics.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 4 l Introduction to Statistical Software Package 4.1 Data Input 4.2 Data Editor 4.3 Data.
1 Course review, syllabus, etc. Chapter 1 – Introduction Chapter 2 – Graphical Techniques Quantitative Business Methods A First Course
CHAPTER 20 Representing Quantitative Data. Why ‘re’present your numbers? Few people can extract meaning from arrays of numbers. Summarising them – whether.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Chi-Square Goodness-of-Fit Test PowerPoint Prepared.
What is SPSS  SPSS is a program software used for statistical analysis.  Statistical Package for Social Sciences.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
Introduction to SPSS Prof. Ramez Bedwani. Outcomes By the end of this lecture, the student will be able to Know definition, uses and types of statistics.
1 An Introduction to SPSS for Windows Jie Chen Ph.D. 6/4/20161.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
Dr. Engr. Sami ur Rahman Research Methods in Computer Science Lecture: Data Analysis (Introduction to SPSS)
Perform Descriptive Statistics Section 6. Descriptive Statistics Descriptive statistics describe the status of variables. How you describe the status.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
1 UNIT 13: DATA ANALYSIS. 2 A. Editing, Coding and Computer Entry Editing in field i.e after completion of each interview/questionnaire. Editing again.
Using SPSS Next. An Introduction SPSS (the Statistical Package for the Social Sciences)
LECTURE 02 Descriptive Statistics MGT 601. Descriptive Statistics Table 1: Wages of 120 workers in Dollars
1 PEER Session 02/04/15. 2  Multiple good data management software options exist – quantitative (e.g., SPSS), qualitative (e.g, atlas.ti), mixed (e.g.,
Elementary Analysis Richard LeGates URBS 492. Univariate Analysis Distributions –SPSS Command Statistics | Summarize | Frequencies Presents label, total.
Graphs with SPSS Aravinda Guntupalli. Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is.
Educational Research Descriptive Statistics Chapter th edition Chapter th edition Gay and Airasian.
IENG-385 Statistical Methods for Engineers SPSS (Statistical package for social science) LAB # 1 (An Introduction to SPSS)
Data Entry, Coding & Cleaning SPSS Training Thomas Joshua, MS July, 2008.
© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
If sig is less than 0.05 (A) then the test is significant at 95% confidence (B) then the test is significant at 90% confidence (C) then the test is significant.
Introduction to SPSS Review of Concepts (stats and scales) Data entry (the workspace and labels) – By hand – Import Excel Running an analysis-
Introduction to Marketing Research
Center of Statistical Analysis
SPSS For a Beginner CHAR By Adebisi A. Abdullateef
EMPA Statistical Analysis
Introduction to SPSS SOCI 301 Lab session.
Introduction to SPSS.
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
DEPARTMENT OF COMPUTER SCIENCE
Social Science Research Design and Statistics, 2/e Alfred P
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Biostatistics Lecture (2).
Presentation transcript:

Introduction to SPSS for GHA Staff Prof Gwilym Pryce: Tutors: George Vlachos, Christian Holz Lab notes based on material by John Malcolm

Plan: A. Data Types –1. Variables –2. Constants B. Introduction to SPSS –1. SPSS Menu Bar –2. File Types C. Tabulating Data –1. Categorical variables –2. Continuous variables D. Graphing Data –1. Categorical variables –2. Continuous variables

A. Data Types 1. Variables 2. Constants

1. What is a variable? –A measurement or quantity that can take on more than one value: E.g. size of planet: varies from planet to planet E.g. weight:varies from person to person E.g. gender:varies from person to person E.g. fear of crime:varies from person to person E.g. income:varies from HH to HH –I.e. values vary across ‘individuals’ = the objects described by our data

Individuals = basic units of a data set whom we observe or experiment on in a controlled way –not necessary persons (could be schools, organisations, countries, groups, policies, or objects such as cars or safety pins) Variables = information that can vary across the individuals we observe –e.g. age, height, gender, income, exam scores, whether signed Nuclear Test Ban Treaty

Variable Type, for Coding Purposes: Variable View of the Data

Variable Type for Coding Purposes: Available data types in SPSS are as follows: –Numeric – the default for new variables –Comma –Dot –Scientific Notation –Date –String

Numeric –A variable whose values are numbers. Values are displayed in standard numeric format. –The Data Editor accepts numeric values in standard format or in scientific notation. Comma –A numeric variable whose values are displayed with commas delimiting every three places, and with the period as a decimal delimiter. –The Data Editor accepts numeric values for comma variables with or without commas, or in scientific notation. Values cannot contain commas to the right of the decimal indicator.

Dot –A numeric variable whose values are displayed with periods delimiting every three places and with the comma as a decimal delimiter. –The Data Editor accepts numeric values for dot variables with or without periods, or in scientific notation. Values cannot contain periods to the right of the decimal indicator. Scientific notation –A numeric variable whose values are displayed with an imbedded E and a signed power-of-ten exponent. –The Data Editor accepts numeric values for such variables with or without an exponent. The exponent can be preceded either by E or D with an optional sign, or by the sign alone--for example, 123, 1.23E2, 1.23D2, 1.23E+2, and even

Date –A numeric variable whose values are displayed in one of several calendar-date or clock-time formats. Select a format from the list. You can enter dates with slashes, hyphens, periods, commas, or blank spaces as delimiters. The century range for two-digit year values is determined by your Options settings (from the Edit menu, choose Options and click the Data tab). Custom currency –A numeric variable whose values are displayed in one of the custom currency formats that you have defined in the Currency tab of the Options dialog box. Defined custom currency characters cannot be used in data entry but are displayed in the Data Editor.

String –Values of a string variable are not numeric and therefore are not used in calculations. –They can contain any characters up to the defined length. –Uppercase and lowercase letters are considered distinct. –Also known as an alphanumeric variable.

Conceptual Approach to Variable Type: Numeric = values are numbers that can be used in calculations. String = Values are not numeric, and hence not used in calculations. –But can often be coded: I.e. transformed into a numerical variable: e.g. If (LA = ‘Aberdeen’) X = 1. If (LA = ‘East Renfrewshire’) X = 2. etc.

Continuous vs Categorical Continuous (or Scale or quantitative Variables) = data values are numeric values on an interval or ratio scale –(e.g., age, income). Scale variables must be numeric. –E.g. dimmer switch: brightness of light can be measured along a continuum from dark to full brightness Categorical Variables = variables that have values which fall into two or more discrete categories –E.g. conventional light switch: either total darkness or full brightness, on or off. –Male or female, employment category, country of origin

Two types of Categorical variables: Ordinal & Nominal Ordinal variables = Data values represent categories with some intrinsic order –(e.g., low, medium, high; strongly agree, agree, disagree, strongly disagree). –Ordinal variables can be either string (alphanumeric) or numeric values that represent distinct categories (e.g., 1=low, 2=medium, 3=high).

Ordinal variables: Values fall within discrete but ordered categories –I.e. the sequence of categories has meaning e.g. education categories: –1 = primary –2 = secondary –3 = college –4 = university undergraduate –5 = university postgraduate masters –6 = university postgraduate phd e.g. 1= Very poor, 2= poor, 3=good, 4=very good

Nominal variables Nominal Variables = Data values represent categories with no intrinsic order –sequence of categories is arbitary -- ordering has no meaning in and of itself: e.g. country of origin: Wales, Scotland, Germany… e.g. make of car: Ford, Vauxhall e.g. job category e.g. company division –Nominal variables can be either string (alphanumeric) or numeric values that represent distinct categories (e.g., 1=Male, 2=Female).

2. What is a constant? –A measurement or quantity that has only one value for all the objects described in our data –Also called a ‘scalar’ or ‘intercept’ or ‘parameter’ E.g. speed of light in a vacuum:constant for all light transmissions E.g. ratio of diameter to circumf.: constant for all circles E.g. ave. increase in life expectancy:constant at 1 year pa since 1900 E.g. Price elasticity of housing supply:assumed constant for a particular market

Often it is a constant that want to estimate: –we employ statistical techniques to estimate ‘parameters’ or ‘constants’ that summarise or link variables. e.g. mean = ‘typical’ value of a variable = measure of central tendency e.g. standard deviation = measure of the variability of a variable = measure of spread e.g. correlation coefficient = measures the correlation between two variables e.g. slope coefficients = how much y increases when x increases

Plan: A. Data Types –1. Variables –2. Constants B. Introduction to SPSS –1. SPSS Menu Bar –2. File Types C. Tabulating Data –1. Categorical variables –2. Continuous variables D. Graphing Data –1. Categorical variables –2. Continuous variables

B. Introduction to SPSS 1. SPSS Menu Bar When you first open SPSS, you will usually be presented with a blank Data View window –The Data View lists variables as columns and observations (also called “cases” or “individuals”) as rows Data View without and with data looks like this…

Data View of Home Sales data:

Variable View looks like this…

Variable View of Home Sales data:

SPSS Menu Bar

B.2. File Types & SPSS Structure If you try opening a new file (File, New), you will see that you are presented with five choices of file type. These choices reflect the basic structure of SPSS: –Data –Syntax Steep learning curve, but essential for larger projects –Backup –Record/checking –Re-use –Output Graphs, tables, commands, error messages

SPSS Scripting Facility The scripting facility allows you to automate tasks, including: –Automatically customize output in the Viewer. –Open and save data files. –Display and manipulate dialog boxes. –Run data transformations and statistical procedures using command syntax. –Export charts as graphic files in a number of formats.

Plan: A. Data Types –1. Variables –2. Constants B. Introduction to SPSS –1. SPSS Menu Bar –2. File Types C. Tabulating Data –1. Categorical variables –2. Continuous variables D. Graphing Data –1. Categorical variables –2. Continuous variables

C. Tabulating Data 1. Categorical Data: Frequency Tables –E.g. Neighbourhood type (House Sales data) Analyse, Descriptive Statistics, Frequencies

Categorical Data: Crosstabs (2-Way Tables) –E.g. Does Ethnic Minority Status affect job type? (Emplment data) Analyse, Descriptive Statistics, Crosstabs

2. Scale Data Scale or quantitative data: usually a measurement of size or quantity –not meaningful to report % or count Not unless you break the variale into categories (& then it becomes categorical data!) e.g. income bands = “grouped data” Tables of raw data not much use unless only a few values...

How tabulate 129,000 observations?

Tables of Summary Statistics for Continuous Data: Descriptives Function in SPSS: –E.g. House Sales data On SPSS Menu Bar select: –Analyze, Descriptive Statistics, Descriptives

Explore Function in SPSS: –On SPSS Menu Bar select: Analyze, Descriptive Statistics, Explore

Plan: A. Data Types –1. Variables –2. Constants B. Introduction to SPSS –1. SPSS Menu Bar –2. File Types C. Tabulating Data –1. Categorical variables –2. Continuous variables D. Graphing Data –1. Categorical variables –2. Continuous variables

D. Graphs of Variables: 1. Graphs of Categorical Data Pie Charts –If all the categories sum to a meaningful total, then you can use a pie chart –Pie charts emphasise the differences in proportions between categories –OK for a single snapshot, but not very good for showing trends would need to have a separate pie chart for each year

On SPSS Menu Bar select: Graphs, Pie, Summaries for Groups of Cases

Bar Charts –can show either % or count –not very good for showing trends in more than one category

Beware of scaling...

D. Graphs of Variables: 2. Graphs of Continuous Data What are we interested in when describing data? E.g. income: –Is income evenly spread? –Or are most people rich? –Or are most people poor? –Or are most reasonably well off? This are all questions about the variable’s Distribution –We can represent the whole data set with one picture...

On SPSS Menu Bar select: Graphs, Histogram, and select variable

Summary A. Data Types –1. Variables –2. Constants B. Introduction to SPSS –1. SPSS Menu Bar –2. File Types C. Tabulating Data –1. Categorical variables –2. Continuous variables D. Graphing Data –1. Categorical variables –2. Continuous variables