Load “Lock5Data” into your R console. Load “OlympicMarathon” data set in“Lock5Data”. This data set contains population of all times to finish the 2008Olympic Men’s Marathon.a. What is the population size?b. Now using “Minutes” column generate a random sample of size 5.c. Calculate the sample mean and record it (create a excel sheet or write adirect R program to record this)d. Continue steps (b) and (c) 10,000 time (that mean you have recorded 10,000sample means)What you have in step (d) is closely resemble to distribution of sample meanswith sample size 5. e. Calculate the mean of 10,000 sample means.f. Calculate the population mean (that mean using all data in “Minutes” column)g. According to the central limit theorem, if conditions satisfied, then the mean ofdistribution of sample mean should be close to the population mean. Nowcompare your results for part (e) and (f). Are they same or at least close toeach other?h. Calculate the standard deviation for 10,000 data points you have from above.i. Now calculate theoretical standard error using the formula !√! . Here sd/ square root od n  is thestandard deviation using all “Minutes” data and n is the sample size (which isequal to 5 in this case)

Question

Load “Lock5Data” into your R console. Load “OlympicMarathon” data set in
“Lock5Data”. This data set contains population of all times to finish the 2008
Olympic Men’s Marathon.
a. What is the population size?
b. Now using “Minutes” column generate a random sample of size 5.
c. Calculate the sample mean and record it (create a excel sheet or write a
direct R program to record this)
d. Continue steps (b) and (c) 10,000 time (that mean you have recorded 10,000
sample means)
What you have in step (d) is closely resemble to distribution of sample means
with sample size 5.

e. Calculate the mean of 10,000 sample means.
f. Calculate the population mean (that mean using all data in “Minutes” column)
g. According to the central limit theorem, if conditions satisfied, then the mean of
distribution of sample mean should be close to the population mean. Now
compare your results for part (e) and (f). Are they same or at least close to
each other?
h. Calculate the standard deviation for 10,000 data points you have from above.
i. Now calculate theoretical standard error using the formula !
√! . Here sd/ square root od n  is the
standard deviation using all “Minutes” data and n is the sample size (which is
equal to 5 in this case)

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times vary by subject and question complexity. Median response time is 34 minutes and may be longer for new subjects.
Tagged in

Related Computer Science Q&A

Find answers to questions asked by student like you

Q: SQL(Oracle): How do I create an index for the number of days it takes to ship an order? i.e. shipdat...

A: Since we need to create an index based on a calculated field we need to create a calculated index. T...

Q: Help.

A: The given program is defining the function swapints with two integer values. The swapints function i...

Q: I have a Python question and I cannot seem to figure out how to answer this problem exactly (I've at...

A: Hey..To print the power of 2 you have to use a  power function  "pow(2,N) " .It is inbuild function ...

Q: Write a function that takes in three numbers as parameters and prints out the largest of the three. ...

A: Program to write a function that takes in three numbers as parameters and prints out the largest of ...

Q: I was asked to add the three types of comments to this class, each consisting of the same statement ...

A: Java documentation comment: This comment is used to create documentation API. The syntax for this co...

Q: 4.23 (Financial application: payroll) Write a program that reads the following information and print...

A: C code#include<stdio.h>#include<string.h> int main(){char employeeName[20]="";double hou...

Q: How do I read a sequence of values in a file into a arraylist in a method? It's in java progarmming.

A: We need to use Scanner calss. In which java.util package used for obtaining the input of the primiti...

Q: Write a PL/SQL block to retrieve and display the students enrolled in a course.

A: Click to see the answer

Q: Prove that the following languages are not regular: (b) L = {anblak : k ≠ n + l}. (c) L = {anblak : ...

A: In the given question, multiple parts are there and we will solve only first three parts as no parti...