sample1 - ISYE2028 A and B Spring 2009 Sample 1 January 8,...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ISYE2028 A and B Spring 2009 Sample 1 January 8, 2009 1 Take me out to the ballgame 50 baseball fans were asked to report on the number of games they attended last year. Download the data baseball.csv from the data folder on the website. Use appropriate graphical and statistical techniques to present the data. Say more than a little bit about what you see. If you are using R , here are some hints: baseball<-read.csv(file="baseball.csv") #read.csv() reads in a file baseball<-baseball[,1] #remember that data, in a data table is #rows of observations and columns of #variables. Here, I just need this one #column hist(baseball,col="black",density=20) #draw a histogram, color it black in the #bars using hatch lines of 20 per inch abline(v=mean(baseball),col="red",lwd=3) #draw a vertical line on a plot that #already exists. here, the mean - in red abline(v=median(baseball),col="green",lwd=3) #draw a vertical line on a plot that #already exists. here, the median - in #green stem(baseball) #a stem and leaf plot The R code is just a starting point. So be creative with what you know. Talk about what other, unmeasured (i.e. latent ) factors could determine the distribution you observed. Talk about what other data you might like to have to say more. Etc. Etc. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Aunt Fanny passed. ..You are rich! Now what? Your beloved Aunt Fanny has passed and left you a small fortune. Emphasis on the word small
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

sample1 - ISYE2028 A and B Spring 2009 Sample 1 January 8,...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online