UW-Madison STAT 371 - Exercise 28 (3 pages)

Previewing page 1 of 3 page document View the full content.
View Full Document

Exercise 28



Previewing page 1 of actual document.

View the full content.
View Full Document
View Full Document

Exercise 28

104 views


Pages:
3
School:
University of Wisconsin, Madison
Course:
Stat 371 - Intro to Statistics
Intro to Statistics Documents

Unformatted text preview:

Statistics 333 Chapter 10 Exercise 28 Spring 2003 The questions of interest in Exercise 28 from Chapter 10 are to explore the effects of El Nin o temperature and rain in West Africa on the number of tropical storms hurricanes and a storm index for the Atlantic Basin For the lecture I will examine the effects of these variables on the number of tropical storms Your homework assignment asks you to do a similar analysis on each of the response variables There is no single correct analysis of this data For example my analysis will differ substantially from that in the solution manual for instructors This document shows the R commands but none of the output or graphs to carry out a rather thorough analysis of the data from this exercise El Nin o temperature is categorized as cold neutral and warm and West African seasons are classified as wet or dry The data set in the textbook creates an artificial numerical coding of El Nin o temperature as 1 0 and 1 and also has the West African variable coded as 0 or 1 Our first task will be to create a new data set that has these variables as proper categorical variables ex1028 read table sleuth ex1028 csv header T sep attach ex1028 africa rep A ncol ex1028 africa west africa 0 dry africa west africa 1 wet x data frame year el nino africa storms hurricanes index storm index rm africa detach attach x Next we should make some plots of the response storm versus the explanatory variables year el nino and africa I will make two scatterplots of storms vesus year one showing elnino with different symbols and one showing africa with different symbols par mfrow c 1 2 levelsElNino levels as factor el nino levelsAfrica levels as factor africa plot year storms type n for i in 1 length levelsElNino set el nino levelsElNino i points year set storms set pch i legend 1950 19 5 levelsElNino pch 1 length levelsElNino plot year storms type n for i in 1 length levelsAfrica set africa levelsAfrica i points year set storms set pch i legend 1950 19 5



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Exercise 28 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Exercise 28 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?