SPSS 202: Data Management by SPSS (Workshop) Dr. Daisy Dai Department of Medical Research 1.

Slides:



Advertisements
Similar presentations
SPSS Basics I Dr. Isaac Gusukuma Department of Social Work, Sociology and Criminal Justice Dr. Trent Terrell Department of Psychology NOTE: Accessing Workshop.
Advertisements

1 SPSS Tutorial 101: Import, Merge and Save Data Sets Dr. Daisy Dai Department of Medical Research.
By Hui Bian Office for Faculty Excellence Spring
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Google Apps Access Google Apps from the Parkland Intranet Page:
POGS ISIS Excel Instructions
1 SPSS 202: Linear and Logistic Regression Using SPSS (Workshop) Dr. Daisy Dai Department of Medical Research.
Copyright © 2009, Biddle Consulting Group, Inc. 1 Using the Export Wizard Training Presentation Click on the screen or press the right arrow key (  )
©2004, 2006, 2008 UIW Department of Instructional Technology Meat and Potatoes SPSS Presented by Terence Peak.
ICCS 2009 IDB Workshop, 18 th February 2010, Madrid Using the IEA IDB Analyzer to merge and analyze data.
Introduction to SPSS Opening the program Type in data Open an existing data set For now, click “Cancel”
How to enter data in SPSS
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
A Simple Guide to Using SPSS© for Windows
Introduction to SPSS Descriptive Statistics. Introduction to SPSS Statistics Program for the Social Sciences (SPSS) Commonly used statistical software.
SPSS 1: An Introduction to the Statistical Package SPSS Suzie Cro MRC Clinical Trials Unit.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Pet Fish and High Cholesterol in the WHI OS: An Analysis Example Joe Larson 5 / 6 / 09.
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
Introduction to SPSS (For SPSS Version 16.0)
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Refworks Presented by Margaret Clark, Reference Librarian FSU College of Law Library September 20, 2005.
Coding for Excel Analysis Optional Exercise Map Your Hazards! Module, Unit 2 Map Your Hazards! Combining Natural Hazards with Societal Issues.
SMART Response Initial Set-up: Windows PC Teacher and Class Set-up Creating a Quiz, Test, or Survey Delivering an Assessment Reports Additional Question.
Introducing... NPF Connect Press [Space Bar] to continue...
Gadgets & More…. “Date Range” Gadgets Allows you to choose a specific date, before or after a date or a range of dates using the Workflows calendar.
Data Analysis Using SPSS
Running CSDW Reports How to Log On, Run and Export CSDW Reports and Set User Preferences.
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Roper Center for Public Opinion Research Social Science Research and Instructional Council June, 2015.
TIMES 3 Technological Integrations in Mathematical Environments and Studies Jacksonville State University 2010.
DO NOW: Step 1: Cut out the 3 handouts for “Google Drive”. Step 2: Paste each one down in order starting on the back of Page 1. Write the number 2, 3,
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Questionnaire Development: SPSS and Reliability Personality Lab October 8, 2010.
State of Kansas Travel Authorizations Statewide Management, Accounting and Reporting Tool Entering a Travel Authorization Navigation: Employee Self Service.
Moodle with Style Integrating new technologies to empower learning and transform leadership.
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 Office Management Tools BBA 5 th (Group C, D, F) Final Exam Course By: Saima Gul.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
1 SPSS 201: Using SPSS to Perform Commonly Used Statistical Testing in Medical Research (Workshop) Dr. Daisy Dai Department of Medical Research.
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.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Import Testing Data Presented by: Adrian Ruiz Presented by: Adrian Ruiz.
Getting Started with Word & Saving Guided Lesson.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
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.
Using SPSS Next. An Introduction SPSS (the Statistical Package for the Social Sciences)
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.,
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.
Analyzing Data. Learning Objectives You will learn to: – Import from excel – Add, move, recode, label, and compute variables – Perform descriptive analyses.
Education And Training CTC IT DIVISION PivotLink User Training April 2010.
Data Entry, Coding & Cleaning SPSS Training Thomas Joshua, MS July, 2008.
Logging Into Windows XP for first time (labs only!)
Introduction to SPSS July 28, :00-4:00 pm 112A Stright Hall
Downloading and Preparing a StudentVoice File for SPSS
Introduction to SPSS.
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
DEPARTMENT OF COMPUTER SCIENCE
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Data Entry and Managment
ACE Secure Data Portal - Accounts Tab - Statements
By A.Arul Xavier Department of mathematics
Tutorial 12 Managing and Securing a Database
Presentation transcript:

SPSS 202: Data Management by SPSS (Workshop) Dr. Daisy Dai Department of Medical Research 1

Log in SPSS CMH offers server version SPSS 18. Any employee can log in SPSS from your employee account. Go to Enter cmh user name and password. Click SPSS 18 icon. 2

SPSS Data Entry SPSS data can be entered manually. – The format is ready for analysis. SAS, Excel, txt, etc. data can be easily imported to SPSS. SPSS data files are saved as “SPSS data document (.sav)”. SPSS output files are saved as “SPSS viewer document (.spv)”. 3

SPSS Data Entry SPSS has a few unique features in data entry. – Categorical variables need to be coded. For instance, code male as 1 and female as 0 or vice versa. – When you have two treatments, test and control, please use 1 for test and 0 for control. – Categorical variables that are not coded in other sourced data files will not be imported or analyzed properly in SPSS. – Continuous variables don’t need coding. – Missing values needs to be defined in “variable view” page. 4

Example: CDC Survey Data An allergy survey was conducted in 2005 and 2006 to children more than 1 year old. Two data sets, allergy questionnaire and demographic information, are saved in sas export format. 5

CDC Survey Data 6

Tasks Import these two SAS data files (demo_d.xpt, agq_d.xpt) to SPSS and save them as SPSS data file. Sort each data set by study ID. Merge allergy variables and demographic variables. Save new data set as SPSS data file. 7

Task 1: Import Data We need to import two data sets to SPSS. – Allergy qustionaire: aqq_d.xpt (xpt is sas Xport Tranport File) – Demographic information: demo_d.xpt Please note that SPSS is on server and data must be saved in shared drive such as u drive or w drive. You will not be able to find the file in SPSS if you save them on your local disk. 8

Task 1: Import demo_d.xpt Click “File”, “Open”, “Data”. Select the folder where demo_d.xpt is saved. Choose “SAS (…)” for Files of Type. Select demo_d.xpt. Click “Open”. 9

Task 1: Import Data Select the folder. Choose agg_d file. Select xpt format. Click Open. Note: SPSS is compatible with other commonly used statistical and data management software packages. Excel, SAS, Access files are all convertible to SPSS. 10

Since this is not a SPSS data file, there is no file name (untitled) in the upper left corner. 11

Save demo_d f as SPSS data. Click “File”, “Save As”. File name: demo_d Save as type: SPSS7.0 (*sav). Click “Save”. 12

Missing Data In the data set, missing is in “.”, which is automatically treated missing. If missing data is in blank, then click “Missing”, “Discrete missing values” and enter a space. 13

Task 1: Import agq_d.xpt and save it as agq_d.sav(Exercise) 14

Task 2: Sort Data Variable to be sort: SEQN, that is, Respondent sequence number. 15

Task 2: Sort agq_d.sav Data Select aqd_d.sav data. Go to Data and select Sort Cases. On Sort Cases page, select the variable, Respondent sequence number. Click on right arrow. Choose Ascending or Descending. Click OK. 16

Practice Now let’s repeat this process by doing the following: – Open the demographic data, demo_d.xpt. – Sort the data by variable, Respondent Sequence Number. 17

Sort Variables “Sort variable” is different from “Sort Cases”. This function rearranges the columns of data. “Sort Case” rearranges the rows of data. 18

Task 3: Merge Two Data Sets Two data sets need to be linked by key variables. In our case, the key variable is SEQN- Respondent Sequence Number. Make sure the key variable has the same name and variable type in two data sets. Both data sets needs to be sorted by the key variable. 19

Task 3: Merge Two Data Sets Under demo_d.sav data set, go to Data -> Merge File -> Add Variables 20

Task 3: Merge Two Data Sets Choose “An open data set”. Click “agq_d.save” and “Continue”. 21

Merge two files 22

Split Files Very often, we like to perform separate analysis by groups (also called strata.) We can do so in SPSS by splitting files for groups. Task: In demo_d.save. Split the file by gender then get the mean of age for each gender group. 23

Split File Under demo_d.sav, click “Data”, “Split File”. Choose “Organize output by groups” Select “Gender” Choose “Sort the file by grouping variables”. Click “Ok”. 24

25

Split Files Cancel the split file function when the task is done. Go to “Data”, “Split Files”. Check “Analyze all cases, do not create groups”. This is default. 26

Compute Variables Can be used to create new variables. Task 1: create a new variable age (month) for the existing variable age (year) Task 2: Log-transform age variable. 27

Compute Variables Under demo_d.xpt, go to “Transform”, “Compute Variable”. 28

Log transform variables 29