This assignment is comprised of two parts, each with its own dataset. Part I is on categorical data analysis. Part II is a simple linear regression analysis. Typeset your results as a report, using the same format, template, and general instructions as for previous Assignments. Label each of the two parts clearly within each section of your report.
In 1912 the luxury liner Titanic, dubbed the unsinkable, struck an iceberg and sank on its maiden voyage across the North Atlantic. Some passengers got off the ship in lifeboats, but many died. Think of the Titanic disaster as an experiment on how the people of that time behaved when faced with death in a situation where only some can escape. The passengers can be regarded as a (hopefully random) sample from all socioeconomic strata of Western society. Here are the numbers on who lived and who died, cross-classified by economic status. (The data are not fictitious, but a few passengers with unknown economic status have been omitted.)
Your task is to analyze this data using the methods of Unit 3, by providing specific answers to the following questions:
The Galapagos Islands off the coast of Ecuador provide an excellent laboratory for studying factors that influence the development and survival of different species. These data give the number of species of plants and related geographic variables for 30 different islands. Counts are given both for the total number of species, and the number of species that occur only on that specific island (the endemics). The variables from left to right are as follows.
On close inspection of the data, you will notice that the number of species and endemics on the island of Daphne Minor was not recorded (the periods denote missing observations). Build a simple linear regression model to predict the number of species (S) on Daphne Minor based on the single best geographic variable A1, El, D1, D2, or A2, indicating your reason for the choice of variable. Also give an appropriate (confidence or prediction) 95% interval for the prediction. (Ignore the endemics in this question.)