MATH 1281 - AY2021-T4  Final Exam - $3.49   Add to cart

Exam (elaborations)

MATH 1281 - AY2021-T4  Final Exam

MATH 1281 - AY2021-T4  Final Exam The data set "" was introduced in Chapter 9 of the book. This data set contains information on various models of cars. Download this file to your computer and store it in the working directory of R. The file can be downloaded from MATH 1281 Data Files in the course page for MATH 1281. The variable "width" in the data set contains the width of the body of the car in inches. The variable "length" contains the length of the body of the car in inches. Produce a new variable by the name "area" that contains the area of the body of the car. This variable should be produced by multiplying the the width of the body by the length of the body. Answer the following questions with respect to the variable "area": Question 1 Incorrect Mark 0.00 out of 1.00 The variable "area" is a: Select one: a. Numeric b. Factor Upload the file "" to a data set by the name "cars" using the code: cars <- ("") . Form the variable "area" using the code: area <- cars$length*cars$width . The variable "area" is a product of two numeric variables and it obtains numeric values as well. The correct answer is: Numeric Home  My courses  MATH 1281 - AY2021-T4  Final Exam (Days 1 - 4)  Review Quiz S - The Marketplace to Buy and Sell your Study Material Downloaded by: nurse001 | Distribution of this document is illegal S - The Marketplace to Buy and Sell your Study Material Question 2 Not answered Marked out of 1.00 The average area of the body of a car is: Answer: Apply the code: mean(area) . The sample average turn out to be equal to 11493.36. Alternatively, you may apply the code: summary(area) and obtain the value of the mean from the produced report. The correct answer is: 11493.36 Question 3 Not answered Marked out of 1.00 The median area of the body of a car is: Answer: Apply the code: median(area) . The sample median turn out to be equal to 11314.2. Alternatively, you may apply the code: summary(area) and obtain the value of the median from the produced report. The correct answer is: 11314.2

Preview 4 out of 69  pages

avatar-seller
nursekev

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 450,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

$ 3.49
  • (0)
  Add to cart