Using SPSS for Windows Part II Jie Chen Ph.D. Phone: 617 287 5241 10/6/20151.

Slides:



Advertisements
Similar presentations
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Advertisements

5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
WINKS SDA Statistical Data Analysis (Windows Kwikstat) Getting Started Guide.
Outliers Split-sample Validation
Detecting univariate outliers Detecting multivariate outliers
© Copyright 2000, Julia Hartman 1 An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Multiple Linear Regression Next.
Project #3 by Daiva Kuncaite Problem 31 (p. 190)
A Simple Guide to Using SPSS© for Windows
Outliers Split-sample Validation
Introduction to SPSS Descriptive Statistics. Introduction to SPSS Statistics Program for the Social Sciences (SPSS) Commonly used statistical software.
SW318 Social Work Statistics Slide 1 Using SPSS for Graphic Presentation  Various Graphics in SPSS  Pie chart  Bar chart  Histogram  Area chart 
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Assumption of Homoscedasticity
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
8/9/2015Slide 1 The standard deviation statistic is challenging to present to our audiences. Statisticians often resort to the “empirical rule” to describe.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
SW388R7 Data Analysis & Computers II Slide 1 Multiple Regression – Split Sample Validation General criteria for split sample validation Sample problems.
FEBRUARY, 2013 BY: ABDUL-RAUF A TRAINING WORKSHOP ON STATISTICAL AND PRESENTATIONAL SYSTEM SOFTWARE (SPSS) 18.0 WINDOWS.
Introduction to SPSS (For SPSS Version 16.0)
Chapter 2 Querying a Database
Slide 1 SOLVING THE HOMEWORK PROBLEMS Simple linear regression is an appropriate model of the relationship between two quantitative variables provided.
SW388R7 Data Analysis & Computers II Slide 1 Logistic Regression – Hierarchical Entry of Variables Sample Problem Steps in Solving Problems.
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
SW388R7 Data Analysis & Computers II Slide 1 Assumption of Homoscedasticity Homoscedasticity (aka homogeneity or uniformity of variance) Transformations.
Using the Frequencies Procedure in SPSS 9.0 for Windows © by Julia Hartman © Copyright 2000, Julia Hartman.
SPSS Presented by Chabalala Chabalala Lebohang Kompi Balone Ndaba.
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
Creating Tables and Lists Lesson 9. Skills Matrix SKILL #MATRIX SKILL 4.2.1Create tables and lists 4.2.2Sort content 4.3.1Apply Quick Styles to tables.
Then click the box for Normal probability plot. In the box labeled Standardized Residual Plots, first click the checkbox for Histogram, Multiple Linear.
Basic data analysis. The basic analysis of SPSS that will be introduced in this class  Frequencies  This analysis produces frequency tables showing.
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.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
11/4/2015Slide 1 SOLVING THE PROBLEM Simple linear regression is an appropriate model of the relationship between two quantitative variables provided the.
1 An Introduction to SPSS for Windows Jie Chen Ph.D. 6/4/20161.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
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.
September 18-19, 2006 – Denver, Colorado Sponsored by the U.S. Department of Housing and Urban Development Conducting and interpreting multivariate analyses.
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.
SW318 Social Work Statistics Slide 1 Percentile Practice Problem (1) This question asks you to use percentile for the variable [marital]. Recall that the.
SW388R6 Data Analysis and Computers I Slide 1 Percentiles and Standard Scores Sample Percentile Homework Problem Solving the Percentile Problem with SPSS.
You can sort Access data so you can view records in the order you want to view them, and you can filter data so you only see the records you want to see.
Chapter 22: Building Multiple Regression Models Generalization of univariate linear regression models. One unit of data with a value of dependent variable.
SPSS Workshop Day 2 – Data Analysis. Outline Descriptive Statistics Types of data Graphical Summaries –For Categorical Variables –For Quantitative Variables.
SW388R7 Data Analysis & Computers II Slide 1 Detecting Outliers Detecting univariate outliers Detecting multivariate outliers.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Selecting Cases PowerPoint Prepared by Alfred.
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Prepared by the Academic Faculty Members of IT. Tables Creating Tables. Merging Cells. Splitting Cells. Sorting Tables. Performing Calculations.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Analyzing Data. Learning Objectives You will learn to: – Import from excel – Add, move, recode, label, and compute variables – Perform descriptive analyses.
Introduction to Eviews Eviews Workshop September 6, :30 p.m.-3:30 p.m.
IENG-385 Statistical Methods for Engineers SPSS (Statistical package for social science) LAB # 1 (An Introduction to SPSS)
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.
An Interactive Tutorial for SPSS 10.0 for Windows©
Plug-In T7: Problem Solving Using Access 2007
Introduction to SPSS.
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
DEPARTMENT OF COMPUTER SCIENCE
Microsoft Office Illustrated
Multiple Regression – Split Sample Validation
Performing the Runs Test Using SPSS
Presentation transcript:

Using SPSS for Windows Part II Jie Chen Ph.D. Phone: /6/20151

Table of Contents Data management – Computing new variables – To sort data – Data selection and split files – Merging files Statistical procedures – Linear regressions – Regression for aggregated data – Chi-square test for grouped data – Nonparametric tests – Testing Normality 10/6/20152

3 Computing New Variables Open data sample1.sav To compute a new variable we can – Use a standard formula – Use a statistical function to compute

10/6/20154 Using a Formula To compute the average income for the past three years for each person: Click Compute in the Transform menu, Enter the new variable with the name of “mean” for the target variable Mean = (ptoi92+ptoi93+ptotinc)/3 Click OK to compute the mean

10/6/20155 Using a Statistical Function Click the Compute in the Transform menu Click the Reset button to clear the old formula Enter average as the target variable Locate Mean on function list and move it to the Numeric Expression area (using Up arrow ) Enter ptoi92, ptoi93 and ptotinc inside the parentheses Click OK to compute the average

Log transformation Click the Compute in the Transform menu Click the Reset button to clear the old formula Enter lnincome as the target variable Click on Arithmetic in Function group: text box Locate Ln on functions and Special Variables: list and move it to the Numeric Expression area (using Up arrow ) Enter ptotinc inside the parentheses Click OK to compute log of ptotinc.

10/6/20157 Sorting Data Sorting data involves reordering of data using values of one or more variables. Sorting data on one variable Sorting data on more than one variables

10/6/20158 Sorting Data on One Variable Click Data/Sort Cases in the Data Editor Window Click age and move it to the “Sort by:” text box Click Ascending radio button Click OK

10/6/20159 Data Sorted by Age

10/6/ Sorting Data on Two Variables Click Data/Sort Cases Click age and move it to the “Sort by:” text box Click educ and move it to the “Sort by:” text box Click Ascending radio button Click OK

10/6/ Data Sorted by Two Variables

10/6/ Three Ways of Data Selection If condition is satisfied : to select data that meet if conditions Random sample of cases:randomly chose a specified percentage of cases Based on time or case range: to select data from a specified range

10/6/ If Condition Is Satisfied To choose data that meet If conditions: Click the Select Cases in the Data menu Click the If condition is satisfied radio button Click If push button to open the Select Cases: If dialog box

10/6/ The If condition If we are interested in the personal total income for females, we need to select the only observations whose sex is female. Type in sex = 1 in the Select Cases: If dialog box, (1 = “female”) Click Continue to confirm the rule

10/6/ Two Choices for Unselected Cases If one clicks the Filtered radio button, the unselected cases remain in the Data Editor, but are not used in analyses. If one clicks the Deleted radio button the unselected cases are deleted from the Data Editor Window.

10/6/ Complex If conditions Suppose we want to select cases meeting two conditions: region = 1 and age >= 30 Type in “region = 1 & age>=30” in the Select Cases: If window Click Continue to confirm the rule

10/6/ The Case Deletion Choice Switch to the Data Editor Window Click the Select Cases in the Data menu Click the Deleted radio button in the Unselected Cases Are: area Click the OK to delete unselected cases from Data Editor Window

10/6/ The Data Editor Window Containing Only Selected Observations

10/6/ Split File The data file is split into separate groups for analysis based on the values of a grouping variable The same analysis is applied to separate subgroups simultaneously The results for all the subgroups will be presented together

10/6/ To Split a Data file Open sample2.por Click the Split File in the Data menu Click the Organize output by groups radio button Move sex to the the Groups Based on list box Click the OK push button to Split File

10/6/ Descriptive Statistics Based on Split File Click Statistics/Summarize/descriptive Click age in variable list box Click OK

10/6/ Presenting results by selecting Compare groups

10/6/ Turn Off the Split File Processing Select Split File in the Data menu Click Analyze all cases in the Split File dialog box click OK to set analyses to all cases (turn off split file)

10/6/ Merging Files Data can be combined in two ways Merging different cases according to the same variables (adding observations) Merging different variables according to the same cases (adding variables)

10/6/ Merging Cases In the Data Editor Window Open a data file row1.sav Click Data/Merge Files/Add Cases, the dialog box of Add cases: Read File is open as shown in the note page Select file row2.sav and Click open, then the dialog box of Add Cases from... is open Click OK, the observation from row2.sav are placed in Data Editor Window after row1.sav

10/6/ The Add cases from … dialog box

10/6/ Merging Variables Open file col1.sav Click Data/Merge Files/Add Variables. The dialog box Add Variable: Read File shown in the note page will be displayed. Select file col2.save and Click open. Then the dialog box of Add Variable from... Will appear Click OK.

10/6/ The Add Variable from … dialog box

10/6/ The Merged File

10/6/ Introduction to Regression Simple Regression Multiple Regression Regression Plots Regression for aggregated data

10/6/ Simple Regression Click Analyze/Regression/Linear then the Linear Regression dialog box is open Use ptotinc (personal total income) as the dependent variable Use educ as the independent variable Click OK

10/6/ The Dialog Box of Linear Regression

10/6/ The Output for the Regression

10/6/ The Estimated Regression Equation

10/6/ The Fitted Line

10/6/ Examing the Residual Click Dialog Recall Tool Click Linear Regression Click plots… in the Linear Regression dialog box In the Linear Regression: Plots dialog box, chose ZRESID as the Y and ZPRED as the X variables. Click Histogram Click Continue Click Ok

10/6/ The Scatterplot of Residuals

10/6/ Multiple Regression

10/6/ Running a Multiple Regression

10/6/ The Output of Multiple Regression

10/6/ The Fitted Model Y = X X X3

10/6/ Residual Plots Click Plots in Linear Regression Dialog Box Put ZRESID as the Y variable and ZPRED as the X variable in a scatterplot Chose Histogram and Normal probability plot in the Standardized Residual Plots

10/6/ Histogram

10/6/ Normal Probability plot

10/6/ To aggregate data Using Current Population Survey 2006 (CPS2006) data Click on Data/Aggregate Data – Break Variable(s): – Summaries of Variable(s): Mean, Median, and Sum First, Last, Minimum, and Maximum values – To save aggregated variables

10/6/ A random sample from Current Population Survey (CPS2006)

10/6/ The mean and median wages by years of education

10/6/ A regression line of average income

10/6/ A regression line of median income

10/6/ An Example taken from 1982 General Social Survey

10/6/201551

10/6/ Death Penalty Data in SPSS

10/6/ Crosstabulation with Row Percentage

10/6/ Comparison of Row Percentages

10/6/ Repeated Measures Analysis Repeated measures analysis of variance involves testing for significant differences in mean when the observation appears in multiple levels of a factor.

10/6/ Opening the data Click File/Open in the Data Editor Window Click SPSS (*.sav) choice on the File of type pull-down list Look in Floppy (A) and click blood in the file list Click Open

10/6/ Opening the Repeated Measures Dialog Box Click Analyze/General Linear Model/Repeated Measures Replace factor1 with time in the Within- Subject Factor Name text box Press Tab key to move to the number of levels text box and type 3 Click Add push-button and then click Define push-button

10/6/ Click and drag from time1 to time3 Click right arrow to move time1 to time3 into the Within-Subject Variables box Click gender and move it to the Between- Subjects Factor box Click OK push button

10/6/ Examining the results

10/6/ Compare the Main Effects Click Dialog Recall Tool Click Define Push-button Click Options push-button Move time into the Display Means for list box Click Compare Main Effects checkbox Click Continue to process the request Click Ok

10/6/ Pairwise Comparisons

Testing the Normality To test if Age variable is normal distributed. Using file: sam1000.sav Using both graphs and tests Click on Analyze/Descriptive Statistics/Explore… – To chose Age variable in the dependent list – Click on Plots push button. – Check Normality plots with tests. 10/6/201562