Loblolly is a built-in R dataset that that records the growth of Loblolly pine trees. We are interested in the height column of Loblolly. The values in the height column can be converted into a vector of name x by the assignment: x <- Loblolly$height We can see the values in x by typing x and Return or Enter. Remember x <- Loblolly$height After this assignment, we can see the first six values in x by typing head(x) and Return or Enter a.Give the R code to assign the values in in the height column of Loblolly to the vector named x. (Easy-see above) b. Calculate the interquartile range of x using the R, IQR() function. c. Calculate the sum of the squares of the values in x. [ d. Calculate the sample mean of x. e. Calculate the sample variance of x. [ f. Calculate the sample standard deviation of x. f. Using R, calculate a trimmed mean of x. 84 h.Enter your R script in the box below.
Loblolly is a built-in R dataset that that records the growth of Loblolly pine trees. We are interested in the height column of Loblolly. The values in the height column can be converted into a vector of name x by the assignment: x <- Loblolly$height We can see the values in x by typing x and Return or Enter. Remember x <- Loblolly$height After this assignment, we can see the first six values in x by typing head(x) and Return or Enter a.Give the R code to assign the values in in the height column of Loblolly to the vector named x. (Easy-see above) b. Calculate the interquartile range of x using the R, IQR() function. c. Calculate the sum of the squares of the values in x. [ d. Calculate the sample mean of x. e. Calculate the sample variance of x. [ f. Calculate the sample standard deviation of x. f. Using R, calculate a trimmed mean of x. 84 h.Enter your R script in the box below.
A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON