Chi Square Goodness of Fit & Two-way Tables (Create) MATH NSPIRED

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

Is it statistically significant? The chi-square test

TI-Inspire manual 1. Instructions. Ti-Inspire for statistics. General Introduction

Introduction to the TI-Nspire CX

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Using Microsoft Excel to Analyze Data from the Disk Diffusion Assay

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

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Simulating Chi-Square Test Using Excel

Using Microsoft Excel to Manage and Analyze Data: Some Tips

Microsoft Project 2013

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

Creating a Gradebook in Excel

Chapter 23. Two Categorical Variables: The Chi-Square Test

TI-Inspire manual 1. I n str uctions. Ti-Inspire for statistics. General Introduction

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Data exploration with Microsoft Excel: analysing more than one variable

Analysis of categorical data: Course quiz instructions for SPSS

Statistics 2014 Scoring Guidelines

How to make a line graph using Excel 2007

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

As in the example above, a Budget created on the computer typically has:

Mail Merge Using Thunderbird. Bob Booth February 2009 AP-Tbird2

Mail Merge Creating Mailing Labels 3/23/2011

Excel Tutorial. Bio 150B Excel Tutorial 1

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:

IBM SPSS Statistics for Beginners for Windows

Microsoft Excel Tutorial

4. Descriptive Statistics: Measures of Variability and Central Tendency

An introduction to IBM SPSS Statistics

Using Microsoft Excel to Analyze Data

Mind on Statistics. Chapter 15

MBA 611 STATISTICS AND QUANTITATIVE METHODS

SPSS Manual for Introductory Applied Statistics: A Variable Approach

SPSS (Statistical Package for the Social Sciences)

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Microsoft Excel 2010 and Tools for Statistical Analysis

Once saved, if the file was zipped you will need to unzip it. For the files that I will be posting you need to change the preferences.

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

IBM SPSS Statistics 20 Part 1: Descriptive Statistics

Introduction to Microsoft Project 2010

SPSS Workbook 1 Data Entry : Questionnaire Data

Using Excel to find Perimeter, Area & Volume

Graphic Designing with Transformed Functions

How to Make APA Format Tables Using Microsoft Word

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

Microsoft Excel Basics

General instructions for the content of all StatTools assignments and the use of StatTools:

EXCEL EXERCISE #8: Consolidating and Linking Spreadsheets

Introduction to SPSS (version 16) for Windows

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Working with Spreadsheets

EXPORTING THE SCHOOL ROSTER INTO AN EXCEL SPREADSHEET

Graphs and charts - quiz

Using Microsoft Project 2000

Drawing a histogram using Excel

Getting Started with Statistics. Out of Control! ID: 10137

Tips and Tricks for Printing an Excel Spreadsheet

GUIDE FOR SORTING RX HISTORY REPORTS IN MICROSOFT EXCEL

Tutorial Segmentation and Classification

Using Excel for descriptive statistics

Step Sheet: Creating a Data Table and Charts

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

Data Analysis Tools. Tools for Summarizing Data

Instructions for Creating Silly Survey Database

All V7 registers support barcode printing, except the Sharp 410/420 1A ROM and that limitation is based upon the register.

STATEMENT OF TRANSACTION REPORT ANALYSIS USING EXCEL

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

An Introduction to SPSS. Workshop Session conducted by: Dr. Cyndi Garvan Grace-Anne Jackman

SPSS INSTRUCTION CHAPTER 1

8 6 X 2 Test for a Variance or Standard Deviation

Excel Math Project for 8th Grade Identifying Patterns

STEP TWO: Highlight the data set, then select DATA PIVOT TABLE

Using SPSS, Chapter 2: Descriptive Statistics

UCINET Quick Start Guide

Activity 5. Two Hot, Two Cold. Introduction. Equipment Required. Collecting the Data

Tutorial Bass Forecasting

A Guide to Using Excel in Physics Lab

DESCRIPTIVE STATISTICS & DATA PRESENTATION*

Budget Process using PeopleSoft Financial 9.1

Education Solutions Development, Inc. APECS Navigation: Business Systems Getting Started Reference Guide

Using Excel in Research. Hui Bian Office for Faculty Excellence

Time Entry for TAPFIN Contractors

Universal Simple Control, USC-1

How To Connect Your Transactions To Quickbooks Online From Your Bank Or Credit Card Account On A Pc Or Mac Computer Or Ipa Device

2: Entering Data. Open SPSS and follow along as your read this description.

TIPS FOR DOING STATISTICS IN EXCEL

Introduction to SPSS 16.0

EXCEL 2007 VLOOKUP FOR BUDGET EXAMPLE

People like to clump things into categories. Virtually every research

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL.

How to Use the Oklahoma Data Query System

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

Transcription:

Overview In this activity, you will look at a setting that involves categorical data and determine which is the appropriate chi-square test to use. You will input data into a list or matrix and conduct the chi-squared goodness of fit or chi-squared two-way test. Materials TI-Nspire handheld or Computer Software Determine which chi-square test is appropriate: 2 Goodness-of-Fit: compares sample counts (sometimes given as proportions) to expected counts based on a given population distribution. 2 Two-way tables: There are two chi-squared tests using two-way tables independence and homogeneity. The two tests differ in their hypotheses and conclusions but are mechanically identical. The decision of which to use depends on how the data were collected. Test of Independence: compares two categorical variables in a single population to determine whether there is a significant association between the two variables. Test of homogeneity: compares categorical variables from two or more different populations to determine whether proportions are the same across different populations. Part 1 Preparing the document 1. Open a new document by pressing c > New Document > Add Notes. 2. Type Chi-Square Tests. 3. Press ~ > File > Save As and type the file name Chi- Square_Tests. e to ¾, and press. Note: To obtain capital letters on the handheld, press the g key, then the letter. 2011 Texas Instruments Incorporated 1 education.ti.com

Problem 1 A school wants to see if student absences are different on different days of a randomly selected week of school. Day of week Observed absences Monday 173 Tuesday 157 Wednesday 138 Thursday 149 Friday 188 Total: Expected absences Part 2 Determine which Chi-square test to use The school wants to see if daily student absences are the same on different days of a randomly selected week of school do the observed student absences fit a uniform distribution? This question uses a Chi-squared Goodness-of-Fit Test. The hypotheses are: H o : the proportions of absences are the same for each day of the week, that is 20% of the total absences would occur each day (p monday =p tuesday =p wednesday =p thrusday =p friday = 0.2). H a : at least one proportion is different. Part 3 Enter the data 1. Find the total number of observed student absences for the week. You can use the Scratchpad» on your handheld to do the addition. Fill in the value under the table above. The expected counts for each day of the week in this chi-square Goodness of Fit Test are the total number of absences divided by five (5). 2. Enter the total absences, divided by 5, into the first cell of the expected absences column in the table above. 3. Fill in all five rows of the table with the expected counts that you found. Note: Another option would be to use the Scratchpad» to find the expected counts. Close the Scratchpad by clicking the red X. Sometimes students will get an exact rather than an approximate answer when calculating inside a cell. This can be changed in c > Settings > Settings > General > Calculation Mode. Or, individual approximate answers can be forced by using a decimal point in one of the values. 3. Add a new page by pressing / and selecting Add Lists & Spreadsheet. 2011 Texas Instruments Incorporated 2 education.ti.com

4. On the Lists & Spreadsheet page, use the scroll bar on the right to move to the top of the spreadsheet, and then move the cursor to the top of Column A. Type absences to label Column A, and press. 5. Move the cursor to the top of Column B, and type expected to label Column B. 6. Fill in the data for the number of absences for each day of the week. Be sure to press after you enter each value, which will move you to the next cell. 7. Move to the next column to fill in the data for the expected absences. If you make a mistake, move the cursor to that cell, press a to activate the cell, input the correct value and press. Note: To save your document, press /». Part 4 Find the test statistic and p-value 1. Move the cursor to top right cell of the data (B1) in your lists. 2. Select MENU > Statistics > Stat Tests > 2 GOF Test to begin the hypothesis test to find your test statistic and p-value. 3. Fill in boxes of the dialogue box as follows (tabbing between fields): Observed list: absences Expected list: expected Deg of Freedom : 4 [the number of rows minus one (n-1)]. If you want to draw a picture of the chi-square curve with the p-value shaded, click the check box (this will split the screen and draw the graph on the right side of the screen when the calculation is performed). 2011 Texas Instruments Incorporated 3 education.ti.com

7. Press to calculate the test statistic ( 2 ), the associated p-value (PVal) (and draw the curve if selected). The first screenshot to the right shows the page if you did NOT check the Draw checkbox on the 2 GOF window. The second screenshot to the right shows the page if you did check the Draw checkbox on the 2 GOF window (spreadsheet and graph). Note: See the Student activity sheet that accompanies this activity to answer questions about the example and the results. Problem 2 An advertiser for television shows suspected males and females had different television viewing preferences. The company commissioned a survey of 100 males and 120 females asking their preferences between crime, reality, and comedy formats. The table below shows the survey results. Program Format Males Females Totals Crime 29 49 Reality 31 45 Comedy 40 26 Totals 100 120 Part 1 Determine which Chi-square test to use The company wants to see if viewing preferences differ between men and women. This example compares categorical variables from male/female populations to determine whether proportions of TV format preferences are the same across the two genders, so it uses a Chi-squared Test of Homogeneity with: H o : the three television formats have the same proportions of male and female viewers (p males =p females for each format) H a : the proportions are not the same 2011 Texas Instruments Incorporated 4 education.ti.com

Part 2 Enter the data 1. Press / to add a new page, and select Calculator. 2. Press t to open the math templates, select, and press to create a matrix. 3. Use the dialogue box to enter 3 for the number of rows and 2 for the number of columns. Select OK and press. An appropriate-sized, empty matrix will show on the calculator page. 4. Enter the data from the two-way table into the matrix, pressing e to move between cells. 5. After all counts have been entered, press e to move to the right of the data matrix. 6. Press / Ë to name the matrix (name it tv) and to store it. Part 3 Find the test statistic and p-value 1. Select MENU > Statistics > Stat Tests > 2 Two-Way Test to run the hypothesis test and find your test statistic and p-value. 2011 Texas Instruments Incorporated 5 education.ti.com

2. Fill in the dialogue box with the name of the observed list by clicking on the arrow and selecting tv. 3. Press to calculate the test statistic ( 2 ), the associated p-value (PVal) and the degrees of freedom (df). 4. To view the expected counts matrix, press h, scroll down, select stat.expmatrix, and press. Note: See the Student activity sheet that accompanies this activity to answer questions about the example and the results. 2011 Texas Instruments Incorporated 6 education.ti.com