longley is a built-in R data.frame which is sometimes used in economics to study regression. We are interested in some descriptive statistics related to the Employed column of the longley data.frame. We can access this data directly by using the assignment x <- longley$Employed (In R, use ? Longley for info on this data) The values of x if assigned as above are: [1] 60.323, 61.122, 60.171, 61.187, 63.221, 63.639, 64.989, 63.761 [9] 66.019, 67.857, 68.169, 66.513, 68.655, 69.564, 69.331, 70.551 You should get these values from the R assignment above rather than manually entering the data. e. Calculate the sample mean of x. f. Calculate the sample variance of x. g. Calculate the sample standard deviation of x.

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...
icon
Related questions
Question
longley is a built-in R data.frame which is sometimes used in economics to study regression. We are interested in some descriptive
statistics related to the Employed column of the longley data.frame. We can access this data directly by using the assignment
x <- longley$Employed
(In R, use ? Longley for info on this data)
The values of x if assigned as above are:
[1] 60.323, 61.122, 60.171, 61.187, 63.221, 63.639, 64.989, 63.761
[9] 66.019, 67.857, 68.169, 66.513, 68.655, 69.564, 69.331, 70.551
You should get these values from the R assignment above rather than manually entering the data.
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 1 sample standard deviation from the sample mean?
i. Calculate the sample median of x.
j. What is the 9th element of x?
k. How many of the elements of x are smaller than the sample mean of x?
Transcribed Image Text:longley is a built-in R data.frame which is sometimes used in economics to study regression. We are interested in some descriptive statistics related to the Employed column of the longley data.frame. We can access this data directly by using the assignment x <- longley$Employed (In R, use ? Longley for info on this data) The values of x if assigned as above are: [1] 60.323, 61.122, 60.171, 61.187, 63.221, 63.639, 64.989, 63.761 [9] 66.019, 67.857, 68.169, 66.513, 68.655, 69.564, 69.331, 70.551 You should get these values from the R assignment above rather than manually entering the data. 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 1 sample standard deviation from the sample mean? i. Calculate the sample median of x. j. What is the 9th element of x? k. How many of the elements of x are smaller than the sample mean of x?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON