Part 4 Syntax or point-and-click?. British Social Attitudes 1986 Q.114, page 43b.

Slides:



Advertisements
Similar presentations
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps.
Advertisements

Data, Tables and Graphs Presentation. Types of data Qualitative and quantitative Qualitative is descriptive (nominal, categories), labels or words Quantitative.
Advance to next slide1 Interactive Introduction to SPSS Statistical Software Elizabeth Bigham, Ph.D. California State University San Marcos May
SW388R7 Data Analysis & Computers II Slide 1 Solving Problems in SPSS The data sets Options for variable lists in statistical procedures Options for variable.
©2004, 2006, 2008 UIW Department of Instructional Technology Meat and Potatoes SPSS Presented by Terence Peak.
Introduction to SPSS Opening the program Type in data Open an existing data set For now, click “Cancel”
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
SPSS Introductory Workshop Humboldt State University May 6, /6/2011www.ssric.org.
A Simple Guide to Using SPSS© for Windows
Introduction to SPSS (For SPSS Version 16.0)
Stata Introduction Sociology 229A, Class 2 Copyright © 2008 by Evan Schofer Do not copy or distribute without permission.
SW318 Social Work Statistics Slide 1 Using SPSS for Graphic Presentation  Various Graphics in SPSS  Pie chart  Bar chart  Histogram  Area chart 
Correlation Question 1 This question asks you to use the Pearson correlation coefficient to measure the association between [educ4] and [empstat]. However,
Questionnaire Development Part II: SPSS, Reliability, and Validity Personality Lab October 11, 2010.
CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH (CSSCR) UNIVERSITY OF WASHINGTON Fall Quarter, 2012 Prepared by Eric Hamilton INTRODUCTION TO SPSS (AND.
Introduction to SPSS (For SPSS Version 16.0)
SW388R6 Data Analysis and Computers I Slide 1 Chi-square Test of Goodness-of-Fit Key Points for the Statistical Test Sample Homework Problem Solving the.
Chapter Sixteen Starting the Data Analysis Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
DEVELOPING A CODING SCHEME AND SETTING UP YOUR SPSS DATA FILE
Part 3: European Social Survey Variable names.
Organizing Your Data for Statistical Analysis in SPSS
Chapter Sixteen Starting the Data Analysis Angel Gillis & Winston Jackson Research for Nurses: Research for Nurses: Methods and Interpretation.
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Data Screening & Descriptives. Typical class… Lecture (Theory)
SW388R6 Data Analysis and Computers I Slide 1 Central Tendency and Variability Sample Homework Problem Solving the Problem with SPSS Logic for Central.
Copyright 2010, The World Bank Group. All Rights Reserved. Data Processing and Tabulation, Part I.
COMMUNICATION ARTS RESEARCH CA3011 A. Parichart W. and A. Chulamani C.
Knowing Understanding the Basics Writing your own code SAS Lab.
DLI Boot Camp 2011 Finding Statistics: Tools and Techniques Jean Blackburn Vancouver Island University Library SDA.
Questionnaire Development: SPSS and Reliability Personality Lab October 8, 2010.
SW318 Social Work Statistics Slide 1 Compare Central Tendency & Variability Group comparison of central tendency? Measurement Level? Badly Skewed? MedianMeanMedian.
Using the SDA on the Web Ed Nelson, CSU Fresno Social Science Research and Instructional Council.
1 Filling in the blanks with PROC FREQ Bill Klein Ryerson University.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
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.
Clods’ Guide 2 Pre-course questionnaire Exercises on full cumulative data 1.
SW318 Social Work Statistics Slide 1 Frequency: Nominal Variable Practice Problem This question asks the frequency of widowed respondents of the survey.
Perform Descriptive Statistics Section 6. Descriptive Statistics Descriptive statistics describe the status of variables. How you describe the status.
11/16/2015Slide 1 We will use a two-sample test of proportions to test whether or not there are group differences in the proportions of cases that have.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Chapter 16 Starting the Data Analysis Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
European Quality of Life Survey 2007 (UKDS: SN 6299)SN 6299.
RESEARCH METHODS IN TOURISM Nicos Rodosthenous PhD 25/04/ /4/20131Dr Nicos Rodosthenous.
CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH (CSSCR) UNIVERSITY OF WASHINGTON SPRING 2013 CONSULTANT: SHIN HAENG LEE Introduction to SPSS.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
PSC 47410: Data Analysis Workshop  What’s the purpose of this exercise?  The workshop’s research questions:  Who supports war in America?  How consistent.
Set-up a Data Entry Page Section 3. Set Up Columns Switch to Variable View. At the bottom left of your screen there are two tabs (Data View and Variable.
Chapter 3: Organizing Data. Raw data is useless to us unless we can meaningfully organize and summarize it (descriptive statistics). Organization techniques.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
PSY6010: Statistics, Psychometrics and Research Design Professor Leora Lawton Spring 2007 Wednesdays 7-10 PM Room 204.
FORMAT statements can be used to change the look of your output –if FORMAT is in the DATA step, then the formats are permanent and stored with the dataset.
Using SPSS Next. An Introduction SPSS (the Statistical Package for the Social Sciences)
Data Management Research Methods Professional Development Institute December 4, 2015.
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.
Education 793 Class Notes Cross-tabulations Presentation 3.
Entering Data in SPSS Open SPSS. Select the radio button beside ‘type in data’. Click OK. At the bottom of the SPSS spreadsheet, select variable view.
SPSS Statistical Package for Social Sciences Setting up an SPSS Data File Department of Psychology California State University Northridge
Analyzing Data. Learning Objectives You will learn to: – Import from excel – Add, move, recode, label, and compute variables – Perform descriptive analyses.
The Research Process First, Collect data and make sure that everything is coded properly, things are not missing. Do this for whatever program your using.
Survey Training Pack Session 16 – Custom Tables in SPSS.
Data Entry, Coding & Cleaning SPSS Training Thomas Joshua, MS July, 2008.
Introduction to the SPSS Interface
Introduction to SPSS July 28, :00-4:00 pm 112A Stright Hall
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
SPSS Setting up an SPSS Data File
SPSS Overview COM 631/731.
Week 3 Lecture Notes PSYC2021: Winter 2019.
Introduction to the SPSS Interface
Presentation transcript:

Part 4 Syntax or point-and-click?

British Social Attitudes 1986 Q.114, page 43b

Open blank data file

Open a new syntax file and write: title 'Page 43b of BSA 1986'. data list file 'f:bsa86.dat' records 23 /15 v v v v

Page 43b of BSA 1986 Data List will read 23 records from F:\bsa86.dat Variable Rec Start End Format V F2.0 V F1.0 V F1.0 V F2.0 SPSS reports how data will be read

Data editor fills Name Type Width and Decimals columns

var labels v1508 'Q105a Household size‘ v1510 'Q105b Marital status‘ v1511 'Q106a Sex of respondent‘ v1512 'Q106b Age of respondent last birthday'. value labels v 'Married‘ 2 'Living together‘ 3 'Sep or div‘ 4 'Widowed‘ 5 'Not married' 8 'DK' 9 'N/A‘ /v 'Men' 2 'Women'. save out 'f:page43b.sav'. Now write: missing values v1508 v1512 (98,99) v1510 (8,9).

Data editor fills Missing column

and Label and Values columns page43b.sav has also been saved to drive f:

Adjust column widths to see what you've got

What's in the file?

Utilities…Variables lets you slide up and down, but that's all

Utilities…File info.. sends (too much) file information to output

What point-and-click can’t do

display.

display labels.

display variables.

V2018 V2019 V2020 V2021 V2022 V Number of cases read: 5 Number of cases listed: 5 list list v2018 to v2023 /cases 5.

A useful trick

Using COMPUTE to generate groups Instead of using IF or DO IF… END IF… Use compute and recode Check frequencies Run crosstab Compute newvar=var1*10 + var2 Recode into desired groups

Bloomsbury and Islington Health and Lifestyle survey 1988 freq var v670 v715. cro v715 by v670. Check frequencies and run a crosstab with:

Frequency count for component variables

Intermediate crosstab

Create new variable with: compute famstat=v670*10+v715. recode famstat ( =1) (22 23=2) ( =3)(12 13=4) (else=sysmis). value labels famstat 1 'Single: no kids' 2 'Couple: no kids' 3 'Single: + kids' 4 'Couple: + kids'. freq var famstat.

Frequency count for new variable

Another useful trick

Using COMPUTE to recode To reverse values on items in a scale Add 1 to the highest code value Subtract the item value from this figure eg: Agree – Disagree scale coded 1-5 Subtracting the item value from 6 reverses it

And one more

Using MEANS to get % Choose a value or values to investigate Recode these to 100 and everything else to zero Run MEANS The figures are percentages and the row totals are the base n

…and now Let Battle Begin!