{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Natural Resources 340

# Natural Resources 340 - Biological Statistics I Homework 2...

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

Biological Statistics I Biometry 301 / Natural Resources 313 Homework 2 Name: Jackie Lewis Section: 1 Date: 9-5-07 1. (5 points) One useful method for examining data is to plot the distribution of the data for various factors, such as gender. Use the command below to create a boxplot that compares head size between females and males for the measured samples taken from the class: boxplot( Class07\$head[Class07\$sex=="F"], Class07\$head[Class07\$sex=="M"], ylab="Head Size (cm)", names=c("Female","Male")) 55 60 65 Female Male Head Size (cm)

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

View Full Document
Which group appears to have bigger heads on average? Males tapply(Class07\$head, Class07\$sex, mean) F M 56.21053 58.54762 The difference between the two values is 2.337 What is the difference in mean head size between males and females? Males: The tapply() command, which applies a function such as mean() to the first column based on categories in the second column, may help in sorting this out: tapply(Class07\$head,Class07\$sex,mean) Modify the tapply() command to examine the median, range, and quantiles (i.e. quantile). On the boxplot figure pencil in the appropriate parts of the box with values corresponding to the maximum, 75th percentile, 50 th percentile, 25th percentile and minimum for both males and fe males. Finally, write in the location of the mean of each group.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern