Analysis of categorical data: Course quiz instructions for SPSS



Similar documents
Factors affecting online sales

SPSS Tests for Versions 9 to 13

An introduction to IBM SPSS Statistics

An SPSS companion book. Basic Practice of Statistics

The Chi-Square Test. STAT E-50 Introduction to Statistics

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Bill Burton Albert Einstein College of Medicine April 28, 2014 EERS: Managing the Tension Between Rigor and Resources 1

Statistical Analysis Using SPSS for Windows Getting Started (Ver. 2014/11/6) The numbers of figures in the SPSS_screenshot.pptx are shown in red.

IBM SPSS Statistics for Beginners for Windows

Binary Diagnostic Tests Two Independent Samples

Using Excel in Research. Hui Bian Office for Faculty Excellence

Directions for using SPSS

Tutorial for proteome data analysis using the Perseus software platform

1. Go to your programs menu and click on Microsoft Excel.

January 26, 2009 The Faculty Center for Teaching and Learning

Data Analysis for Marketing Research - Using SPSS

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

Drawing a histogram using Excel

An introduction to using Microsoft Excel for quantitative data analysis

People like to clump things into categories. Virtually every research

IBM SPSS Statistics 20 Part 4: Chi-Square and ANOVA

SPSS (Statistical Package for the Social Sciences)

Tutorial #7A: LC Segmentation with Ratings-based Conjoint Data

SPSS TUTORIAL & EXERCISE BOOK

Data Mining Techniques Chapter 5: The Lure of Statistics: Data Mining Using Familiar Tools

SPSS Explore procedure

Simulating Chi-Square Test Using Excel

Introduction to StatsDirect, 11/05/2012 1

SPSS Notes (SPSS version 15.0)

Working with SPSS. A Step-by-Step Guide For Prof PJ s ComS 171 students

Data Analysis in SPSS. February 21, If you wish to cite the contents of this document, the APA reference for them would be

Chapter 2 Probability Topics SPSS T tests

Two Correlated Proportions (McNemar Test)

Getting started manual

Chapter 13. Chi-Square. Crosstabs and Nonparametric Tests. Specifically, we demonstrate procedures for running two separate

UCINET Quick Start Guide

Using Microsoft Excel to Analyze Data

Two-Group Hypothesis Tests: Excel 2013 T-TEST Command

3. Analysis of Qualitative Data

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

Session 10. Laboratory Works

Assignment objectives:

Using Microsoft Excel to Analyze Data from the Disk Diffusion Assay

SPSS Resources. 1. See website (readings) for SPSS tutorial & Stats handout

Stats for Strategy Fall 2012 First-Discussion Handout: Stats Using Calculators and MINITAB

Two Related Samples t Test

Projects Involving Statistics (& SPSS)

Solving Linear Programs in Excel

Analyzing Research Data Using Excel

Data Analysis Tools. Tools for Summarizing Data

Introduction to Statistics with SPSS (15.0) Version 2.3 (public)

SPSS Basic Skills Test

Appendix 2.1 Tabular and Graphical Methods Using Excel

DIRECTIONS. Exercises (SE) file posted on the Stats website, not the textbook itself. See How To Succeed With Stats Homework on Notebook page 7!

Table of Contents. Preface

How to Use a Data Spreadsheet: Excel

Non-parametric Tests Using SPSS

Making an online form in Serif WebPlus

Instat Tutorial. by Roger Stern, Sandro Leidi, Ian Dale and Colin Grayer. Contents. Installation 2

The Dummy s Guide to Data Analysis Using SPSS


SPSS and AM statistical software example.

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

Instructions for applying data validation(s) to data fields in Microsoft Excel

Data exploration with Microsoft Excel: analysing more than one variable

How To Download Nvision Reports In Awnsoft Peoplesoft Report Manager And Nvision Operating Reports In Excel

Federal Employee Viewpoint Survey Online Reporting and Analysis Tool

4. Are you satisfied with the outcome? Why or why not? Offer a solution and make a new graph (Figure 2).

Descriptive and Inferential Statistics

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:

Survey Research Data Analysis

Simple Linear Regression, Scatterplots, and Bivariate Correlation

Getting Started With SPSS

IBM SPSS Statistics 20 Part 1: Descriptive Statistics

Module 4 (Effect of Alcohol on Worms): Data Analysis

Testing differences in proportions

Nonparametric Statistics

Chapter 2 Introduction to SPSS

Questionnaire design and analysing the data using SPSS page 1

Tutorial Segmentation and Classification

STC: Descriptive Statistics in Excel Running Descriptive and Correlational Analysis in Excel 2013

Chapter 7. Comparing Means in SPSS (t-tests) Compare Means analyses. Specifically, we demonstrate procedures for running Dependent-Sample (or

Guide to Microsoft Excel for calculations, statistics, and plotting data

SPSS-Applications (Data Analysis)

Microsoft Excel. Qi Wei

How to set the main menu of STATA to default factory settings standards

One-Way Analysis of Variance (ANOVA) Example Problem

Online 12 - Sections 9.1 and 9.2-Doug Ensley

NCSS Statistical Software

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Chapter 4 Displaying and Describing Categorical Data

Scatter Plots with Error Bars

Importing and Exporting With SPSS for Windows 17 TUT 117

Transcription:

Analysis of categorical data: Course quiz instructions for SPSS The dataset Please download the Online sales dataset from the Download pod in the Course quiz resources screen. The filename is smr_bus_acd_clo_quiz_online_250.xls. Save it to your computer. This version stores the results from a survey of 250 firms. Import it into SPSS with the following menu sequence: File, Open, Data. Change Files of type to Excel Locate the Excel file and import the relevant sheet. Ensure that the imported dataset has 250 rows. SPSS appears not to have a set of facilities for dealing with one and two proportions in a simple way, so we refer you to an Excel Add-In written for this purpose, called SSC-Stat. You can find it at http://www.reading.ac.uk/ssc/n/n_sscstat.htm There is plenty of online help on how to install and load Add-ins into Excel. In SPSS, obtain a one-way summary table of this categorical variable with: Analyze, Descriptive Statistics, Frequencies Select Uses_contractor into the Variables box Press Continue then OK. Now answer Q1 in the quiz. Now note down the count of Yeses and the total sample size. Testing the null hypothesis stated above translates to testing that the true proportion of firms that use contractors is 0.1, i.e. H 0 : π Contractors = 0.1 1 Page Epigeum Ltd, 2014

H 1 : π Contractors 0.1 Test the null hypothesis stated above as follows: Go to Excel and in the Add-Ins tab: Click SSC-stat, Analysis, One-sample proportion Select the Summary values radio button, enter the number of Yeses in the Number of successes box and enter the total sample size into the Number of trials box Under Confidence interval, tick the Simple normal approx. box only Tick the box to Test sample mean value and type 0.1 in the box Click OK. Now answer Q2 6 in the quiz. A Pearson chi-squared test could have been conducted here to obtain the same p-values as the one obtained from the z-test. This is because in this context the two test statistics are equivalent. To test the same null hypothesis stated above, we could have conducted an exact binomial test. Your decision about H 0 would be unchanged from above. To obtain exact binomial confidence intervals: From the SSC-stat menu, recall the One sample proportion dialogue box Tick to request an Exact confidence interval. The above sequence output an exact 95% confidence interval for the true proportion firms that use contractors to improve their user interface. The exact interval is very similar to the one obtained using a Normal approximation because of the large sample size and because the observed sample proportion of 0.184 is not extreme. Return to SPSS. Obtain a two-way summary table of these two categorical variables with the menu sequence: Analyze, Descriptive Statistics, Crosstabs 2 Page Epigeum Ltd, 2014

Select Uses_contractor in the Rows box and Sector_electrical in the Columns box Press Cells, click the Column Percentages box Press Continue then OK Now answer Q7 8 in the quiz. Now note down the count of Yeses and the total sample size for each sector respectively. As its name suggests, the null hypothesis is that there is no true difference between the two proportions. So the null hypothesis we are testing is H 0 : π other sectors π electrical = 0 H 1 : π other sectors π electrical 0 where π is the true proportion of firms that use contractors for each retail sector respectively. Now compare the two proportions as follows: Go to Excel and the Add-Ins tab Click SSC-stat, Analysis, Two-sample proportion Select the Summary values radio button Enter the number of Yeses in the Number of successes boxes and enter the total sample size into the Number of trials boxes as follows: sector of type 1Other as Sample 1 and sector of type 2Electrical for sample 2 Click OK. Now answer Q9 14 in the quiz. A Pearson chi-squared test could have been conducted to obtain the same p-value. This is because in this context the two statistics are equivalent. Try it in SPSS as follows: Analyze, Descriptive Statistics, Crosstabs Move Sector_electrical into the Row box and Uses_contractor into the Column box 3 Page Epigeum Ltd, 2014

Press Statistics and tick Chi-square Press Continue then OK Check that the p-value (labelled Asymp. Sig. (2-sided) ) from the Pearson chi-squared statistic is the same as that from the z-statistic in SSC-stat. We can conduct an exact hypothesis test to test the same null hypothesis stated above. Note that SPSS already prints a p-value (labelled Exact Sig. (2-sided) ) attached to the Fisher s exact test. Your decision about H 0 should be unchanged from above. Obtain a two-way summary table of this categorical variable with: Analyze, Descriptive Statistics, Crosstabs Select Uses_contractor in the Rows box and Retail_sector in the Columns box Press the Cells button and tick to display Column percentages Press Continue then OK. The hypothesis we are testing is H 0 : π DIY/Hardware = π electrical = π fashion H 1 : at least one true proportion is different where π is the true proportion of firms that use contractors for the respective sectors. The comparison is done using a Pearson chi-squared hypothesis test as follows: Press Statistics and tick the Chi-Square box The p-value is in the row labelled Pearson Chi-Square. A p-value cannot be zero, but SPSS truncates it at 3 decimals, so you may want to report it as < 0.001. Check if the expected number of counts in each cell is sufficiently large, as follows: 4 Page Epigeum Ltd, 2014

Press the Cells button and tick to display the Expected counts Now answer Q15 18 in the quiz. To test the same null hypothesis stated above, we could conduct an exact hypothesis test, namely a Fisher s exact test. Press the Exact button and tick the Exact radio button Your decision about H 0 should be unchanged from above. Recall the Crosstabs dialogue box In the Column box, replace Retail_sector with Specialised_staff and click OK. Now answer Q19 in the quiz. Next we must recode the variable Uses_contractor, currently stored as text ( Yes or No ) into a numerical format, to obtain the relevant test statistic in SPSS. Do this as follows: Select Transform, Automatic Recode Move Uses_contractor into the Variable box In the Add New Name box, type Uses_contractor_num Press the Add New Name button and click OK. The null hypothesis we wish to test is: H 0 : no true linear trend in the proportion of firms that use contractors number of specialised staff employed 5 Page Epigeum Ltd, 2014

H 1 : true linear trend in the proportion of firms that use contractors number of specialised staff employed. Test the above null hypothesis as follows: In the Row box, replace Uses_contractor with Uses_contractor_num Press Statistics and tick the Chi-Square box The relevant result is in the row labelled Linear-by-Linear Association. A p-value cannot be zero, but SPSS truncates it at 3 decimals, so you may want to report it as < 0.001. Now answer Q20 21 in the quiz. 6 Page Epigeum Ltd, 2014