Question
Section 1.7, Exercise 2 Read the data on robot reaction times to simulated malfunctions into the data frame t by the following R command t
Section 1.7, Exercise 2
Read the data on robot reaction times to simulated malfunctions into the data frame t by the following R command
t = read.table("RobotReactTime.txt", header = T)
Read the reaction times of Robot 1 into the vector t1 by
attach(t)
t1 = Time[Robot==1]
sort(t1)
## [1] 28.35 28.98 29.06 29.25 29.32 29.59 29.76 29.84 30.03 30.28 30.34 30.76
## [13] 30.84 31.01 31.19 31.27 31.41 31.55 31.60 31.90 32.42 32.74
Using the sorted data and hand calculations
(a) estimate the population median and the 25th and 75th percentiles
(b) estimate the population interquartile range, and
(c) find the pdercentile of the 19th ordered value.
9. Section 1.7, Exercise 3
The site given in Exercise 2 also gives the reaction times of Robot 2. Use commands similar to those given in
Exercise 2 to read the reaction times of Robot 2 into vector t2.
(a) Use the R command summary given in (1.7.2) to obtain the 5 number summary of this data set.
(b) Use the R function $quantile* given in (1.7.2) to get the sample 90th percentile.
(c) Use the R command "boxplot" given in example 1.7-3 to construct a boxplot for the data. Are there
any outliers?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started