11.07.2015 Views

INTRODUCTION TO STATISTICAL MODELLING IN R

INTRODUCTION TO STATISTICAL MODELLING IN R

INTRODUCTION TO STATISTICAL MODELLING IN R

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10Analysis of a 2-way contingencytableHere we present an analysis of a 4 × 2 contingency table and show 3 different waysof getting the same result.You can check from the log-likelihood function WHY these give the same result.The data given in Table 10.1 were obtained by Prof I.M.Goodyer, as part of a studyon 11-year-old children, to investigate the relationship between ‘deviant behaviour’(no/yes) and several other variables. The results for the variable ‘emotionality’ areshown below (emo=1 meaning low emotionality,... emo=4 meaning high emotionality).Here are my suggestions for the analysis.behaviour no yesemo=1 51 3emo=2 69 11emo=3 28 22emo=4 7 13Table 10.1: Is there a link between emotionality and bad behaviour?a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!