{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

AndersonB_Sec2_Lab1 - Beverly Anderson Section 2 Mon 1:25...

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

View Full Document Right Arrow Icon
Beverly Anderson Section 2, Mon 1:25 30 August 2010 1. a. > leaves = read.table("leaves.txt") 2. a. > head(leaves) V1 1 61 2 75 3 79 4 68 5 79 6 66 b. > mean(leaves) V1 67.97727 c. > var(leaves) V1 V1 188.2056 d. > sqrt(var(leaves)) V1 V1 13.71880 e. > mean(leaves$V1) [1] 67.97727 3. a. hist(leaves$V1) Histogram of leaves$V1 leaves$V1 Frequency 20 40 60 80 100 0 5 10 15 20 25 30 35 b. > median(leaves$V1) [1] 68 c. The mean leaf length is 67.97727mm, though the median leaf length is 68mm. Since the histogram is in a “bell-curve” form, it is expected that the mean and median would be very close. This is because there are about as many leaves longer than the average length as there are leaves that are shorter than the average. Further, the bell-curve shape tells us that the distribution is similar on both the longer end and shorter end. d. About 99% of the data should fall within the range of the mean – 3*standard deviation and the mean + 3*standard deviation. The standard deviation is 13.71880mm,
Image of page 1

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

View Full Document Right Arrow Icon
so 99% of the data should fall between 67.97727 - (3*13.71880) and 67.97727 + (3*13.71880), which is 26.82087mm and 109.49367mm.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern