Question

R Programming: a.Choose 10 random values of X having the Normal(4, 1) distribution. Use t.test to...

R Programming:

a.Choose 10 random values of X having the Normal(4, 1) distribution. Use t.test to compute the 95% confidence interval for the mean. Is 4 in your confidence interval?

b.Replicate the experiment in part a 10,000 times and compute the percentage of times the population mean 4 was included in the confidence interval.

c.Repeat part b, except sample your 10 values when X has the Exponential(1/4) distribution. What is the mean of X? What percentage of times did the confidence interval contain the population mean? It’s not 95%. Why?

d.Now repeat b. and c. using 100 values of X to make each confidence interval. What percentage of times did the confidence interval contain the population mean? Compare to part c.

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The random sample shown below was selected from a normal distribution. 3​, 7​, 4​, 10​, 7​,...
The random sample shown below was selected from a normal distribution. 3​, 7​, 4​, 10​, 7​, 5 Complete parts a and b. a. Construct a 95​% confidence interval for the population mean mu. left parenthesis nothing comma nothing right parenthesis ​(Round to two decimal places as​ needed.) b. Assume that sample mean x overbar and sample standard deviation s remain exactly the same as those you just calculated but that are based on a sample of nequals25 observations. Repeat part...
The random sample shown below was selected from a normal distribution. 5,5,8,9,4,5 A. Construct a 95%...
The random sample shown below was selected from a normal distribution. 5,5,8,9,4,5 A. Construct a 95% confidence interval for the population mean. B. Assume that sample mean x and sample standard deviation s remain exactly the same as those you just calculated but that are based on a sample of n=25 observations. repeat part a. what is the effect of increasing the sample size on the width of the confidence intervals?
A. The random sample shown below was selected from a normal distribution. 3​, 6​, 10​, 6​,...
A. The random sample shown below was selected from a normal distribution. 3​, 6​, 10​, 6​, 9​, 2 Construct a 99​% confidence interval for the population mean μ. Answer= (0.794,11.206) B. Assume that sample mean x and sample standard deviation s remain exactly the same as those you just calculated but that are based on a sample of n=25 observations. Repeat part a. What is the effect of increasing the sample size on the width of the confidence​ intervals? Help...
In the following​ situation, assume the random variable is normally distributed and use a normal distribution...
In the following​ situation, assume the random variable is normally distributed and use a normal distribution or a​ t-distribution to construct a​ 90% confidence interval for the population mean. If​ convenient, use technology to construct the confidence interval. ​(a) In a random sample of 10 adults from a nearby​ county, the mean waste generated per person per day was 3.57 pounds and the standard deviation was 1.95 pounds. ​(b) Repeat part​ (a), assuming the same statistics came from a sample...
Use the programming language R to code the following project.. * Make sure you turn in...
Use the programming language R to code the following project.. * Make sure you turn in your code and answers from each question. (not the raw data). 1. Generate 1000 random samples of size 40 from the normal distribution with mean µ = 3 and standard deviation σ = 2. Compute 95% the confidence interval of 1000 samples and find the rate of confidence interval contains the true mean. What did you learn from this simulation study? 2. For each...
Suppose you have selected a random sample of ?=14 measurements from a normal distribution. Compare the...
Suppose you have selected a random sample of ?=14 measurements from a normal distribution. Compare the standard normal ? values with the corresponding ? values if you were forming the following confidence intervals. (a)    90% confidence interval z= t= (b)    95% confidence interval z=   t= (c)    98% confidence interval ?= t= 2) A confidence interval for a population mean has length 20. a) Determine the margin of error. b) If the sample mean is 58.6, obtain the confidence interval. Confidence interval: ( ,...
Continuous distributions: Generate and store in column c1 10,000 values from the uniform distribution on the...
Continuous distributions: Generate and store in column c1 10,000 values from the uniform distribution on the interval [4,8] as follows: random 10000 c1; uniform 4 8. (Do not forget the ”dot”) [3] a. Use mean command to find the sample mean ¯x of these data, ¯x=————- Note: The mean µ of a uniform distribution over an interval [a, b] is simply the middle of this interval, i.e. µ = (a + b)/2. [3] b. What is the mean µ of...
The random sample shown below was selected from a normal distribution. 9​, 5​, 3​, 4​, 7​,...
The random sample shown below was selected from a normal distribution. 9​, 5​, 3​, 4​, 7​, 8 a. Construct a 95​% confidence interval for the population mean mu.
The random sample shown below was selected from a normal distribution. 8, 5, 8, 5, 6,...
The random sample shown below was selected from a normal distribution. 8, 5, 8, 5, 6, 4 A) Construct a 90% confidence interval for the population mean π ( ___ , ___ ) *Round to two decimal places as needed. B) Assume that sample mean x̄ and sample standard deviation s remain exactly the same as those you just calculated but that are based on a sample of n = 25 observations. Repeat part "A" The confidence interval is (...
Problem 5. 1. (a) If a random sample of 40 items produces x = 128.4 and...
Problem 5. 1. (a) If a random sample of 40 items produces x = 128.4 and s = 20.6, what is the 95% confidence interval for ? Assume x is normally distributed for the population (5 points) 2. (b) Suppose the following data are selected randomly from a population of normally distributed values. Data : 0, 10 , 20 ,5 ,15 Construct a 95% confidence interval to estimate the population mean. (15 points)
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT