Regression analysis in R

timer Asked: Nov 15th, 2016

Question description

The datafile FINNISH2.docx contains measurements of fish in three species which were caught from the same lake in Finland. The variables are: X1 is the Observation number. X2 is the fish species: 1 = Bream, 4 = Parkki, 5 = Smelt. Y is the weight of the fish (in grams). X3 is the length from the nose to the beginning of the tail (in cm). X4 is the length from the nose to the notch of the tail (in cm). X5 is the length from the nose to the end of the tail (in cm). X6 is the Maximal height as % of X5. X7 is the Maximal width as % of X5. Construct a suitable linear model to predict Weight from the other variables and use it to answer the following questions: (a) Which variables are useful for predicting weight and what is their relationship to weight? (b) Are there differences between the different types of fish? Are any fish similar?

The answer to each question should include diagnostic checks (such as analysis of residuals, identication of influential observations, etc.). You should use R. All computer output should be included in the text of your answer and commented upon.

* For question (a) you should use stepwise regression

*For question (b) you should use categorial regression

Tutor Answer

(Top Tutor) Studypool Tutor
School: Rice University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors