GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 7 SPSS: Recode and Compute.

Slides:



Advertisements
Similar presentations
A bar chart of a quantitative variable with only a few categories (called a discrete variable) communicates the relative number of subjects with each of.
Advertisements

Basics of Biostatistics for Health Research Session 2 – February 14 th, 2013 Dr. Scott Patten, Professor of Epidemiology Department of Community Health.
I OWA S TATE U NIVERSITY Department of Animal Science Using Basic Graphical and Statistical Procedures (Chapter in the 8 Little SAS Book) Animal Science.
Describing Quantitative Variables
DESCRIBING DISTRIBUTION NUMERICALLY
Class 14 Testing Hypotheses about Means Paired samples 10.3 p
Table manners GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 10.
Data analysis: Explore GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 9.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Data analysis: cross-tabulation GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 11.
Chapter 3 Describing Data Using Numerical Measures
Ann Arbor ASA ‘Up and Running’ Series: SPSS Prepared by volunteers of the Ann Arbor Chapter of the American Statistical Association, in cooperation with.
Copyright (c) Bani Mallick1 Lecture 2 Stat 651. Copyright (c) Bani Mallick2 Topics in Lecture #2 Population and sample parameters More on populations.
LSP 121 Week 2 Intro to Statistics and SPSS/PASW.
A Simple Guide to Using SPSS© for Windows
Measures of Central Tendency MARE 250 Dr. Jason Turner.
Text Exercise 1.22 (a) (b) (c) (d) (This part is asking you whether the data looks reasonably bell-shaped.) The distribution looks somewhat close to bell-shaped.
Copyright (c) Bani K. Mallick1 STAT 651 Lecture #15.
Confidence Intervals Confidence Interval for a Mean
Business Statistics BU305 Chapter 3 Descriptive Stats: Numerical Methods.
8/2/2015Slide 1 SPSS does not calculate confidence intervals for proportions. The Excel spreadsheet that I used to calculate the proportions can be downloaded.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
FEBRUARY, 2013 BY: ABDUL-RAUF A TRAINING WORKSHOP ON STATISTICAL AND PRESENTATIONAL SYSTEM SOFTWARE (SPSS) 18.0 WINDOWS.
Documentation and Help GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 13.
BOX PLOTS/QUARTILES. QUARTILES: 3 points in a set of data that separate the set into 4 equal parts. Lower Quartile: Q1 (The median for the lower half.
SW318 Social Work Statistics Slide 1 Estimation Practice Problem – 1 This question asks about the best estimate of the mean for the population. Recall.
CHAPTER 39 Cumulative Frequency. Cumulative Frequency Tables The cumulative frequency is the running total of the frequency up to the end of each class.
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
(c) 2007 IUPUI SPEA K300 (4392) Outline: Numerical Methods Measures of Central Tendency Representative value Mean Median, mode, midrange Measures of Dispersion.
Coding closed questions Training session 5 GAP Toolkit 5 Training in basic drug abuse data management and analysis.
Tutor: Prof. A. Taleb-Bendiab Contact: Telephone: +44 (0) CMPDLLM002 Research Methods Lecture 9: Quantitative.
9/18/2015Slide 1 The homework problems on comparing central tendency and variability extend the focus central tendency and variability to a comparison.
Range, Variance, and Standard Deviation in SPSS. Get the Frequency first! Step 1. Frequency Distribution  After reviewing the data  Start with the “Analyze”
© Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax.
SW388R6 Data Analysis and Computers I Slide 1 Central Tendency and Variability Sample Homework Problem Solving the Problem with SPSS Logic for Central.
Intro to Statistics and SPSS. Mean (average) Median – the middle score (even number of scores or odd number of scores) Percent Rank (percentile) – calculates.
The introduction to SPSS Ⅱ.Tables and Graphs for one variable ---Descriptive Statistics & Graphs.
110/10/2015Slide 1 The homework problems on comparing central tendency and variability extend our focus on central tendency and variability to a comparison.
Data cleaning GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 12.
How to find measures variability using SPSS
By: Amani Albraikan 1. 2  Synonym for variability  Often called “spread” or “scatter”  Indicator of consistency among a data set  Indicates how close.
Basic data analysis. The basic analysis of SPSS that will be introduced in this class  Frequencies  This analysis produces frequency tables showing.
Analyses using SPSS version 19
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.
INVESTIGATION Data Colllection Data Presentation Tabulation Diagrams Graphs Descriptive Statistics Measures of Location Measures of Dispersion Measures.
SW318 Social Work Statistics Slide 1 Measure of Variability: Range (1) This question asks about the range, or minimum and maximum values of the variable.
SPSS- Tutorial The following power-point slides show you how to use some of the features in SPSS. A survey of 20 randomly selected companies asked them.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
1/5/2016Slide 1 We will use a one-sample test of proportions to test whether or not our sample proportion supports the population proportion from which.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
SW388R6 Data Analysis and Computers I Slide 1 Comparing Central Tendency and Variability across Groups Impact of Missing Data on Group Comparisons Sample.
1/23/2016Slide 1 We have seen that skewness affects the way we describe the central tendency and variability of a quantitative variable: if a distribution.
Box Plots March 20, th grade. What is a box plot? Box plots are used to represent data that is measured and divided into four equal parts. These.
MODULE 3: DESCRIPTIVE STATISTICS 2/6/2016BUS216: Probability & Statistics for Economics & Business 1.
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.
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
EDU5950 SEM RELIABILITY ANALYSIS -CRONBACH ALPHA TEST FOR NORMALITY.
An Interactive Tutorial for SPSS 10.0 for Windows©
EMPA Statistical Analysis
Descriptive Statistics
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
DEPARTMENT OF COMPUTER SCIENCE
Five Number Summary and Box Plots
6F Measuring the Spread of Data, 6G Box and Whisker Plots
Box-And-Whisker Plots
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
5 Number Summaries.
Biostatistics Lecture (5).
Presentation transcript:

GAP Toolkit 5 Training in basic drug abuse data management and analysis Training session 7 SPSS: Recode and Compute

Objectives To introduce and demonstrate SPSS tools for recoding variables and creating new variables To introduce and demonstrate the use of SPSS command syntax To introduce and demonstrate Help features in SPSS from a dialogue box

Types of recode A categorical variable into a new set of categories A continuous variable into a categorical variable

Recode approaches Into pre-defined categories of interest Into categories of equal size

Example: pre-defined categories Recode weekly expenditure on drugs into the following categories: –Low expenditure <= £100 a week –High expenditure >= £101 a week

select variable for recoding and click

click here to map old  new values

FrequencyPercentValid percent Cumulative percent ValidLow High Total Weekly drug expenditure

Example: quantiles Recode weekly expenditure into the following: –4 categories, each with approximately the same number of cases (quartiles) –10 categories, each with approximately the same number of cases (deciles)

FrequencyPercentValid percentCumulative percent Valid<=£ £91 <= X <= £ £99 <= X <= £ £106 = £ Total NTILES of Expend

FrequencyPercentageValid percentageCumulative percentage Valid Total NTILES of EXPEND

Compute Creates new variables using: –Standard mathematical operators –A full range of functions –Conditional statements

Transform/Compute click here to define variable type

Type and Label

Yexpend=Expend*52

Explore: Yexpend StatisticStd. error Yearly drug expenditureMean % Confidence Interval for Mean Lower Bound Upper Bound % Trimmed Mean Median Variance Std. Deviation Minimum3848 Maximum6032 Range2184 Interquartile Range Skewness Kurtosis Descriptives

Example 2: Age Convert date of birth to age in years

(DATE.DMY(01,01,2002) - dob) / (365.25*24*60*60)

Explore: Age StatisticStd. error AGEMean % Confidence Interval for Mean Lower Bound22.97 Upper Bound % Trimmed Mean25.21 Median22.84 Variance Std. Deviation8.536 Minimum11 Maximum44 Range32 Interquartile Range12.77 Skewness Kurtosis Descriptives

Help Context-sensitive Help: –Right click on any part of a dialogue box to obtain help Dialogue box Help button

Command language Command-line rather than Windows interface More flexible Reusable Saved as text files

Syntax window Enter SPSS commands: –Type directly –Paste from a dialogue box Run SPSS commands Save as a text file

The Paste button click to copy command into Syntax Window

The Run menu

Syntax for Age

Summary Recode: –Into same variable –Into different variable Compute: –Mathematical operators –Functions Dialogue box Help: –Context-sensitive Help –Dialogue box Help button Command language: –Syntax Window –Dialogue box Paste button