Assignment 5


Question 1.

The dataset gives data on a sample of patients suffering from melanoma (skin cancer) cross-classified by the type of cancer and the location on the body. Determine whether the type and location are independent. Examine the residuals to determine whether any dependence can be ascribed to particular type/location combinations.

Question 2.

The data on social mobility of men in the UK was assembled by Blane et al. (1999) in JRSS-A. A sample of men aged 45-64 was drawn from the 1971 census and 1981 census and the social class of the man was recorded at each timepoint. The classes are I=professional, II=semi-professional, IIIN=skilled non-manual, IIIM=skilled manual, IV=semi-skilled, V=unskilled. Check for symmetry, quasi-symmetry, marginal homgeneity and quasi-independence.

Question 3.

The dataset contains data on murder cases in Florida in 1977. The data is cross-classified by the race (black or white) of the victim, of the defendant and whether the death penalty was given. Determine the most appropriate dependence model between the variables.