Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

) I have two apples, one banana, one cherry. Does it make sense to calculate the

ID: 3310244 • Letter: #

Question

) I have two apples, one banana, one cherry.  Does it make sense to calculate the "average" of these things? Would you code that as a factor or a numeric value in R?

2) I have four quiz scores: 94, 93, 85, and 0. What is the mean (average) of my quiz scores? Would you code this as a factor or a numeric value in R?

3) In another class, I received these grades on my quizzes: two As, one B, and one F. What is the mean (average) of my grades? Would you code that as a factor or a numeric value in R?

4) How would you explain the difference in mean values obtained in #2 and #3 above?


Explanation / Answer

1) Average is not possible here, because the colors are not numbers, and are therefore not subject to numerical analysis. The colors would be coded as "factors"

2) The average here equals the sum of the four scores (94+93+85+0=272) divided by 4, which equals 68. The result would be coded as a number.

3) Average is not possible here, because the letter grades are not numbers. The letter grades would be coded as "factors"

4) There is no difference to explain. The word difference means the result of subtraction between two numbers, which is not the case here. If the letter grades were converted to numbers, then an average could be computed.