Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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? The two apples, one banana, and one cherry are all quantifiable, but in R programming, they are all character types so because we have three distinct categories and the given variables do not have a fixed set of values, calculating the average of the two apples, one banana, and one cherry makes no logical sense. In other words, colors are not numerical values so calculating the average of these colorful fruits is difficult. Hence, I will code this as a factor. 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? The mean average of the quiz score is 68 -> 94 93 85 0=272 -> 272/4 -> 68 Since this quiz scores are quantitative data, I would code this as a numeric value in R. In another class, I received these grades on my quizzes: two As, one B, and one F. What is

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Statistics

Authors: Michael Sullivan III

4th Edition

978-032184460, 032183870X, 321844602, 9780321838704, 978-0321844606

Students also viewed these Mathematics questions