art J K
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Part J K
![airquality is a built-in R data.frame which gives daily air quality measurements in New York in 1973. We are interested in some descriptive statistics related to the Wind column of the airquality
data.frame. We can access this data directly by using the assignment: x <- airquality$Wind (In R, use ? airquality for info on this data) The values of x if assigned as above:
1] 7.4, 8.0, 12.6, 11.5, 14.3, 14.9, 8.6, 13.8, 20.1, 8.6, 6.9, 9.7, 9.2, 10.9, 13.2, 11.5, 12.0
[18] 18.4, 11.5, 9.7, 9.7, 16.6, 9.7, 12.0, 16.6, 14.9, 8.0, 12.0, 14.9, 5.7, 7.4, 8.6, 9.7, 16.1
[35] 9.2, 8.6, 14.3, 9.7, 6.9, 13.8, 11.5, 10.9, 9.2, 8.0, 13.8, 11.5, 14.9, 20.7, 9.2, 11.5, 10.3
[52] 6.3, 1.7, 4.6, 6.3, 8.0, 8.0, 10.3, 11.5, 14.9, 8.0, 4.1, 9.2, 9.2, 10.9, 4.6, 10.9, 5.1
[69] 6.3, 5.7, 7.4, 8.6, 14.3, 14.9, 14.9, 14.3, 6.9, 10.3, 6.3, 5.1, 11.5, 6.9, 9.7, 11.5, 8.6
[86] 8.0, 8.6, 12.0, 7.4, 7.4, 7.4, 9.2, 6.9, 13.8, 7.4, 6.9, 7.4, 4.6, 4.0, 10.3, 8.0, 8.6
[103] 11.5, 11.5, 11.5, 9.7, 11.5, 10.3, 6.3, 7.4, 10.9, 10.3, 15.5, 14.3, 12.6, 9.7, 3.4, 8.0, 5.7
[120] 9.7, 2.3, 6.3, 6.3, 6.9, 5.1, 2.8, 4.6, 7.4, 15.5, 10.9, 10.3, 10.9, 9.7, 14.9, 15.5, 6.3
[137] 10.9, 11.5, 6.9, 13.8, 10.3, 10.3, 8.0, 12.6, 9.2, 10.3, 10.3, 16.6, 6.9, 13.2, 14.3, 8.0, 11.5
You should get these values from the R assignment above rather than manually entering the data.
a.Calculate the minimum value of x
b. Calculate the sample range of x. (one number)?
c. Calculate the interquartile range of x using R.
Of the
d. Calculate the sum of the cube roots of the elements of x
e. Calculate the sample mean of x.
f. Calculate the sample variance of x.
g. Calculate the sample standard deviation of x.
h. What proportion of the x values are less than 2 sample standard deviations from the sample mean
I. Calculate the maximum value of x.
j. How many times does the maximum value of x appear?
k. How many of the elements of x are larger than the sample mean of x?](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9f068c17-adb0-42bc-8e59-e4e97c8af28a%2F279b3acb-7e76-4d3a-9a9e-e4fb18903ab7%2Fhk77b3q_processed.jpeg&w=3840&q=75)
Transcribed Image Text:airquality is a built-in R data.frame which gives daily air quality measurements in New York in 1973. We are interested in some descriptive statistics related to the Wind column of the airquality
data.frame. We can access this data directly by using the assignment: x <- airquality$Wind (In R, use ? airquality for info on this data) The values of x if assigned as above:
1] 7.4, 8.0, 12.6, 11.5, 14.3, 14.9, 8.6, 13.8, 20.1, 8.6, 6.9, 9.7, 9.2, 10.9, 13.2, 11.5, 12.0
[18] 18.4, 11.5, 9.7, 9.7, 16.6, 9.7, 12.0, 16.6, 14.9, 8.0, 12.0, 14.9, 5.7, 7.4, 8.6, 9.7, 16.1
[35] 9.2, 8.6, 14.3, 9.7, 6.9, 13.8, 11.5, 10.9, 9.2, 8.0, 13.8, 11.5, 14.9, 20.7, 9.2, 11.5, 10.3
[52] 6.3, 1.7, 4.6, 6.3, 8.0, 8.0, 10.3, 11.5, 14.9, 8.0, 4.1, 9.2, 9.2, 10.9, 4.6, 10.9, 5.1
[69] 6.3, 5.7, 7.4, 8.6, 14.3, 14.9, 14.9, 14.3, 6.9, 10.3, 6.3, 5.1, 11.5, 6.9, 9.7, 11.5, 8.6
[86] 8.0, 8.6, 12.0, 7.4, 7.4, 7.4, 9.2, 6.9, 13.8, 7.4, 6.9, 7.4, 4.6, 4.0, 10.3, 8.0, 8.6
[103] 11.5, 11.5, 11.5, 9.7, 11.5, 10.3, 6.3, 7.4, 10.9, 10.3, 15.5, 14.3, 12.6, 9.7, 3.4, 8.0, 5.7
[120] 9.7, 2.3, 6.3, 6.3, 6.9, 5.1, 2.8, 4.6, 7.4, 15.5, 10.9, 10.3, 10.9, 9.7, 14.9, 15.5, 6.3
[137] 10.9, 11.5, 6.9, 13.8, 10.3, 10.3, 8.0, 12.6, 9.2, 10.3, 10.3, 16.6, 6.9, 13.2, 14.3, 8.0, 11.5
You should get these values from the R assignment above rather than manually entering the data.
a.Calculate the minimum value of x
b. Calculate the sample range of x. (one number)?
c. Calculate the interquartile range of x using R.
Of the
d. Calculate the sum of the cube roots of the elements of x
e. Calculate the sample mean of x.
f. Calculate the sample variance of x.
g. Calculate the sample standard deviation of x.
h. What proportion of the x values are less than 2 sample standard deviations from the sample mean
I. Calculate the maximum value of x.
j. How many times does the maximum value of x appear?
k. How many of the elements of x are larger than the sample mean of x?
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman