Untitled1* x Source on Save a 1 # Open the data file mtcars Run ✰✰Source Asif's Command 2 3 4 # Attache the file Asif's Command attach(mtcars) - # Mean of mileage Asif's Command 5 6 mean (mpg) 7 8 # First quartile of mileage - Asif's Command quantile (mpg, 0.1) 9 - # 9:14 # (Untitled) RR 4.3.1 ~ 2 mpg cyl disp hp drat Mazda RX4 Mazda RX4 Wag Datsun 710 4 108.0 93 3.85 2.320 18.61 wt qsec vs am gear carb 21.0 6 160.0 110 3.90 2.620 16.46 0 1 21.0 6 160.0 110 3.90 2.875 17.02 0 1 22.8 4 4 4 4 1 1 4 1 Hornet 4 Drive 21.4 Hornet Sportabout 18.7 Valiant 18.1 6 258.0 110 3.08 3.215 19.44 8 360.0 175 3.15 3.440 17.02 6 225.0 105 2.76 3.460 20.22 1 0 3 1 00 3 2 1 0 3 1 Duster 360 14 3 8 360 a 245 3 21 3 570 15 84 ค a 3 4 R Script

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.2: Representing Data
Problem 10PPS
icon
Related questions
Question
  1. Examine the Variables: Carefully review and note the names of all variables in the dataset. Examples of these variables include:
    • Mileage (mpg)
    • Number of Cylinders (cyl)
    • Displacement (disp)
    • Horsepower (hp)

Research: Google to understand these variables.

  1. Statistical Analysis: Select mpg variable, and perform the following statistical tests. Once you are done with these tests using mpg variable, repeat the same with hp
    • Mean
    • Median
    • First Quartile (Q1)
    • Second Quartile (Q2)
    • Third Quartile (Q3)
    • Fourth Quartile (Q4)
    • 10th Percentile
    • 70th Percentile
    • Skewness
    • Kurtosis
  2. Document Your Results:
    • In RStudio: Before running each statistical test, provide a heading in the format shown at the bottom. “# Mean of mileage – Your name’s command”
    • In Microsoft Word: Once you've completed all tests, take a screenshot of your results in RStudio and paste it into a Microsoft Word document. Make sure that snapshots are very clear. You will need multiple snapshots. Also transfer these results to the following table.
  3. Once you are done with this process, choose hp or horsepower variable from the same data, and repeat the same process and provide separate results (both snapshots and table)

please help

Untitled1* x
Source on Save a
1
# Open the data file
mtcars
Run
✰✰Source
Asif's Command
2
3
4
# Attache the file Asif's Command
attach(mtcars)
-
# Mean of mileage Asif's Command
5
6
mean (mpg)
7
8
# First quartile of mileage - Asif's Command
quantile (mpg, 0.1)
9 - #
9:14 # (Untitled)
RR 4.3.1 ~ 2
mpg cyl disp hp drat
Mazda RX4
Mazda RX4 Wag
Datsun 710
4 108.0 93 3.85 2.320 18.61
wt qsec vs am gear carb
21.0 6 160.0 110 3.90 2.620 16.46 0 1
21.0 6 160.0 110 3.90 2.875 17.02 0 1
22.8
4
4
4
4
1 1
4
1
Hornet 4 Drive
21.4
Hornet Sportabout
18.7
Valiant
18.1
6 258.0 110 3.08 3.215 19.44
8 360.0 175 3.15 3.440 17.02
6 225.0 105 2.76 3.460 20.22
1
0
3
1
00
3
2
1 0
3
1
Duster 360
14 3
8 360 a 245 3 21 3 570 15 84
ค
a
3
4
R Script
Transcribed Image Text:Untitled1* x Source on Save a 1 # Open the data file mtcars Run ✰✰Source Asif's Command 2 3 4 # Attache the file Asif's Command attach(mtcars) - # Mean of mileage Asif's Command 5 6 mean (mpg) 7 8 # First quartile of mileage - Asif's Command quantile (mpg, 0.1) 9 - # 9:14 # (Untitled) RR 4.3.1 ~ 2 mpg cyl disp hp drat Mazda RX4 Mazda RX4 Wag Datsun 710 4 108.0 93 3.85 2.320 18.61 wt qsec vs am gear carb 21.0 6 160.0 110 3.90 2.620 16.46 0 1 21.0 6 160.0 110 3.90 2.875 17.02 0 1 22.8 4 4 4 4 1 1 4 1 Hornet 4 Drive 21.4 Hornet Sportabout 18.7 Valiant 18.1 6 258.0 110 3.08 3.215 19.44 8 360.0 175 3.15 3.440 17.02 6 225.0 105 2.76 3.460 20.22 1 0 3 1 00 3 2 1 0 3 1 Duster 360 14 3 8 360 a 245 3 21 3 570 15 84 ค a 3 4 R Script
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning