Chapter 18: Categorical data

Similar documents
Econometric Analysis Dr. Sobel

Table of Contents. Page 2 ebook created with Orion PDF Author orion.aidaluu.com. What is Orion Label Maker?

Building Concepts: Mean as Fair Share

KB Record Errors Report

6.14(a) - How to Run CAT Reports Record Errors Report

Mendelian Genetics Using Drosophila melanogaster Biology 12, Investigation 1

Biology 164 Laboratory

CAT Paid vs. CAT Unpaid November 2012

Writing Simple Procedures Drawing a Pentagon Copying a Procedure Commanding PenUp and PenDown Drawing a Broken Line...

PNCC Dogs Online. Customer Transactions Manual

Cane toads and Australian snakes

PNCC Dogs Online. Customer Transactions Manual

PENNVET BEHAVIOR APP Pet Owner Instructions

Texel Sheep Society. Basco Interface Guide. Contents

Probability and Heredity

Multiclass and Multi-label Classification

Breeding Bunnies. Purpose: To model the changes in gene frequency over several generations. 50 orange beads 50 purple beads 1 paper bag 3 cups

Supplementary material to Forecasting with the Standardized Self-Perturbed Kalman Filter

Beyond Mendel. Extending Mendelian Genetics. Incomplete Dominance. Think about this. Beyond Mendel. Chapter 12

Workbook. Version 3. Created by G. Mullin and D. Carty

Applied Information and Communication Technology. Unit 3: The Knowledge Worker January 2010 Time: 2 hours 30 minutes

SBI3U: Exploring Modes of Inheritance. Purpose

Introducing and using InterHerd on the farm

INFO 1103 Homework Project 2

DOGS SEEN PER KM MONITORING OF A DOG POPULATION MANAGEMENT INTERVENTION

DESIGNING YOUR RAINWATER CATCHMENT AND STORAGE SYSTEM

GENETIC DRIFT Carol Beuchat PhD ( 2013)

Chapter 11-2 Probability and Punnett Squares Notes

Functional Skills ICT. Mark Scheme for A : Level 1. Oxford Cambridge and RSA Examinations

How can a guide dog change a life?

Pete s Eats Alan s Diner Sarah s Snackbar Total Dissatisfied Satisfied Total

Soap Opera Genetics Genetics to Resolve Family Arguments 1

Relationship Between Eye Color and Success in Anatomy. Sam Holladay IB Math Studies Mr. Saputo 4/3/15

The City School. Learn Create Program

Genetics and Probability

How to use Mating Module Pedigree Master

Scratch Lesson Plan. Part One: Structure. Part Two: Movement

9-2 Probability and Punnett. Squares Probability and Punnett Squares. Slide 1 of 21. Copyright Pearson Prentice Hall

Evolution and Gene Frequencies: A Game of Survival and Reproductive Success

C R H G E K. 1 Solve the puzzle. lion. parrot. crocodile. flamingo. snake. tortoise. horse. zebra. elephant. eagle duck. monkey. Classify the animals.

ENTRY CLERK MANUAL FOR THE ENTRYCLERK.CFA.ORG WEB APPLICATION. Page 1

Scratch. To do this, you re going to need to have Scratch!

Part I Measuring Resistance

The Signet Guide to.. providing electronic sheep data

Challenge Math & Summer Activities

Fraction Approximation: Closer to Zero, One-half or One whole? CCSS: 3.NF.3, 4.NF.2 VA SOLs: 3.3, 4.2, 5.2

Good Health Records Setup Guide for DHI Plus Health Event Users

Numeracy Practice Tests

**RECORDS START WITH POSSESSION OF ANIMAL AND ENDS WITH ESTIMATES FOR FAIR WEEK. Year (example: 2007): Please circle your 4-H project:

HerdMASTER 4 Tip Sheet CREATING ANIMALS AND SIRES

Finch Robot: snap levels 1-3

SCIENTIFIC REPORT. Analysis of the baseline survey on the prevalence of Salmonella in turkey flocks, in the EU,

Coding with Scratch - First Steps

If you did not register your device by Spring 2017, you must purchase a clicker license and register your device to your mybama account.

One Trait, Two Traits Dominant Trait, Recessive Trait Sarah B. Lopacinski Rockingham County

Lesson Objectives. Core Content Objectives. Language Arts Objectives

Analysis of Veterinary Workforce in Thailand National Veterinary Education sub committee Gr.1

COMPARING DNA SEQUENCES TO UNDERSTAND EVOLUTIONARY RELATIONSHIPS WITH BLAST

Beginner s Guide to Competitive Obedience

Monohybrid Crosses Using a Punnett Square

Biol 160: Lab 7. Modeling Evolution

Gross Pathology. Johne s disease. Johne s Disease: The ostrich approach just isn t working! The result: Damaged intestine

Soap Opera Genetics Genetics to Resolve Family Arguments 1

Mastitis Reports in Dairy Comp 305

DOGS QUEENSLAND DNA PROGRAMME

Advanced Beginner 2 Agility Week 1 Goals for Advanced Beginner Agility class: ***Reinforcement builds behavior!

~~~***~~~ A Book For Young Programmers On Scratch. ~~~***~~~

Neck. Forelimbs. ,pine. Hindlimbs. PropriocepAion. Area. -ick CiAh each exercise yob do! Mark with an L (left side) or R (right side)!

Tests. tend. name. get descriptive stats

ì<(sk$m)=bdcefe< +^-Ä-U-Ä-U

Cow Exercise 1 Answer Key

Machine Learning.! A completely different way to have an. agent acquire the appropriate abilities to solve a particular goal is via machine learning.

SARG Guide Surrey Amphibian and Reptile Group. SARG Reptile Surveyor s Guide Using SARGWEB. April 2012 Version 1.0. Steve Langham

Determining the Inheritance Patterns of Purple Eye, Lobe Eye, and Yellow Body Traits of. Drosophilia Flies. Introduction

CHAPTER 1 OBEDIENCE REGULATIONS GENERAL REGULATIONS

Annex III : Programme for the control and eradication of Transmissible Spongiform Encephalopathies submitted for obtaining EU cofinancing

AGILITY REGULATIONS OF THE. Open Junior Agility Championships

HEREDITARY STUDENT PACKET # 5

2010 Canadian Computing Competition Day 1, Question 1 Barking Dogs!

American Manchester Terrier Club

Section 5.3 Standard Deviation

David Who?? More Theories. Premack examples. Library Article

Massachusetts State Search & Rescue Dog Federation Basic Human Remains Detection Canine Evaluation Form

ONCE DAILY GENTAMICIN DOSING AND MONITORING IN ADULTS POLICY QUESTIONS AND ANSWERS

If you go back far enough, everything lived in the sea. At various points in

Coat Colour. Lakeland Terrier

Genetics. What s Genetics? An organism s heredity is the set of characteristics it receives from its parents.

Pre-lab Homework Lab 8: Natural Selection

OBEDIENCE JUDGES ASSOCIATION SAMPLE MULTI-CHOICE QUESTIONS ANSWERS

LONG RANGE PERFORMANCE REPORT. Abstract

Hello Scratch! by Gabriel Ford, Sadie Ford, and Melissa Ford. Sample Chapter 3. Copyright 2018 Manning Publications

The Kaggle Competitions: An Introduction to CAMCOS Fall 2015

7.013 Spring 2005 Problem Set 2

2 emb-pigs User Guide

Loss Given Default as a Function of the Default Rate

LN #13 (1 Hr) Decomposition, Pattern Recognition & Abstraction CTPS Department of CSE

FALL 2018 NEWSLETTER [ TEACH YOUR PUP TO RESPOND TO HER NAME ] WHAT S INSIDE

Effects of Cage Stocking Density on Feeding Behaviors of Group-Housed Laying Hens

FEATURES OF DISTRIBUTION OF LOADING IN COD-END OF TRAWL OF A VARIOUS DESIGN

Comparative Analysis of Adders Parallel-Prefix Adder for Their Area, Delay and Power Consumption

Transcription:

Chapter 18: Categorical data Self-test answers SELF-TEST Run a multiple regression analysis using Cat Regression.sav with LnObserved as the outcome, and Training, Dance and Interaction as your three predictors. The multiple regression dialog box will look like Figure. We can leave all of the default options as they are because we are interested only in the regression parameters. The regression parameters are shown in the book. Figure 1 SELF-TEST To show that this all actually works, run another multiple regression analysis using Cat Regression.sav. This time the outcome is the log of expected frequencies (LnExpected) and Training and Dance are the predictors (the interaction is not included). The multiple regression dialog box will look like Figure 2. We can leave all of the default options as they are because we are interested only in the regression parameters. PROFESSOR ANDY P FIELD 1

Figure 2 The resulting regression parameters are given in Output 1. Output 1 Note that b 0 = 3.16, the beta coefficient for the type of training is 1.45 and the beta coefficient for whether they danced is 0.49. All of these values are consistent with those calculated in the book chapter. SELF-TEST Using the Cats Weight.sav data, change the frequency of cats who had food as reward and didn t dance from 10 to 28. Re-do the chisquare test and select and interpret z-tests ( ). Is there anything about the results that seems strange? You need to change the score so your data look like Error! Reference source not found.figure 3. PROFESSOR ANDY P FIELD 2

Figure 3 The data are the same as in the chapter so you can follow the instructions in the book to run the analysis. The contingency table you get looks like Error! Reference source not found.output 2. In the row labelled Food as Reward the count of 28 in the column labelled No has a subscript letter a and the count of 28 in the column labelled Yes has a subscript letter b. These subscripts tell us the results of the z-test that we asked for: columns with different subscripts have significantly different column proportions. This is what should strike you as strange: how can it be that two identical counts of 28 can be deemed significantly different? The answer is that despite the subscripts being attached to the counts, that isn t what they compare: they compare the proportion of the total frequency of that column that falls into that row against the proportion of the total frequency of the second column that falls into that row. In this case, it s testing whether 19.7% is different from 36.8%, and it is (p <.05), which is why the column counts have been denoted with different letters. So, of all the cats that danced, 36.8% had food, and of all the cats that didn t dance, 19.7% had food. These proportions are significantly different. PROFESSOR ANDY P FIELD 3

Output 2 SELF-TEST Create a contingency table of these data with dance as the columns, the type of training as rows and the type of animal as a layer. To use the crosstabs command select. We have three variables in our crosstabulation table: whether the animal danced or not (Dance), the type of reward given (Training), and whether the animal was a cat or dog (Animal). Select Training and drag it into the box labelled Row(s) (or click on ). Next, select Dance and drag it to the box labelled Column(s) (or click on ). We have a third variable too, and we need to define this variable as a layer. Select Animal and drag it to the box labelled Layer 1 of 1 (or click on ). Then click on and select the options shown on the right in Figure 4. Figure 1 PROFESSOR ANDY P FIELD 4

SELF-TEST Can you use the chart builder to replicate the graph in Figure 18.8? Actually this self-test is not as easy as it looks. Figures 5 and 6 guide you through the process. Click here to select a clustered bar chart Drag Animal here to create separate panels for dogs and cats Drag Dance here. Bars will be coloured by whether animals danced or not. Click here to create panels in the graph Drag Training here. Data will be clustered by the type of training used Select to make the panels appear in columns Figure 2 PROFESSOR ANDY P FIELD 5

We want to display percentages rather than counts because there were more cats than dogs and this will allow us to compare animals directly. To do this, click here and select Percentage() from the list By default SPSS will display the percentage of the total sample. However, we want the percentage to be calculated within each animal (i.e. the percentage of cats that danced for food). To display these percentages, select Total for Panel from the drop-down list. This will calculate the percentage within each panel (not all panels combined). This means that we will get the percentage of cats and dogs, not the percentage of all animals. Don't forget to click here to apply the changes to the graph Figure 3 SELF-TEST Use the split file command to run a chi-square test on Dance and Training for dogs and cats. First, to split the file we need to select and then select the Organize output by groups option (Figure 7). Once this option is selected, the Groups Based on box will activate. Select the variable containing the group codes by which you wish to repeat the analysis (in this example select Animal), and drag it to the box or click on. Figure 7 PROFESSOR ANDY P FIELD 6

To run the chi-square tests, select (Figure 8). First, select one of the variables of interest in the variable list and drag it into the box labelled Row(s) (or click on ). For this example, I selected Training to be the rows of the table. Next, select the other variable of interest (Dance) and drag it to the box labelled Column(s) (or click on example). ). Select the same options as in the book (for the cat Figure 8 PROFESSOR ANDY P FIELD 7