Question: As a first exercise, you will enter a list of ten quiz scores (out of 20 points) randomly selected from a class of fifty
As a first exercise, you will enter a list of ten quiz scores (out of 20 points) randomly selected from a class of fifty students, and compute the mean and the standard deviation for this list of scores. (a) The c function can be used to create a list (or array). Enter: > quizscores = c(13, 13, 17, 11, 16, 18, 17, 15, 15, 18) (To verify your list, enter > quizscores and you should see [1] 13 13 17 11 16 18 17 15 15 18.) (b) The mean function is used to determine the mean of a list of data. Determine the mean quiz score and assign that value to the object quizmean by entering: > quizmean = mean (quizscores) (c) The sd function is used to determine the (sample) standard deviation. Determine the standard devi- ation of the quiz scores and assign that value to the object quizsd by entering: > quizsd = sd(quizscores)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
