A1.pdf - STAT 359\/563 A01(Spring 2018 Assignment 1 Due 1:00pm January 25 1(5 marks Reading Chapters 1 2 3 4 How many hours did you spend reading

A1.pdf - STAT 359/563 A01(Spring 2018 Assignment 1 Due...

This preview shows page 1 - 2 out of 2 pages.

STAT 359/563 A01 (Spring 2018) Assignment 1: Due 1:00pm, January 25 1. (5 marks) Reading: Chapters 1, 2, 3, 4How many hours did you spend reading Chapters 1, 2, 3 and 4?2. (18 marks) Suppose the following data comes from a study on plant growth (mm)where 2 plants are in each pot, 3 pots are within each plot and 2 plots are givenone of two fertilizer treatments.Treatment 1Treatment 2Plot 1:Pot 1Pot 2Pot 3Plot 2:Pot 1Pot 2Pot 314.613.216.47.16.810.015.212.912.27.76.08.3Plot 3:Pot 1Pot 2Pot 3Plot 4:Pot 1Pot 2Pot 318.522.224.79.76.810.416.718.820.38.89.210.5(a) (5 marks) Arrange the data into a dataframe so that it can be analyzed.It should include the following variables: observation, growth, treatment,Plot, Pot. Print out this dataframe.(b) (3 marks) Sort the dataframe by plant growth and print out the sorteddataframe.(c) (2 marks) Calculate the mean and the variance of growth.(d) (4 marks) Plot growth data using a histogram (R function hist()). Clearlylabel the axis, title and use bin sizes of 2 mm.
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture