Question

(Use R)The sample data is 30, 37, 36, 43, 42, 43, 43, 46, 41, 42. Estimate...

(Use R)The sample data is 30, 37, 36, 43, 42, 43, 43, 46, 41, 42.
Estimate the population mean ? of the underlying distribution by calculating a
best point estimate and by giving a 80% bootstrap confidence interval (You
can decide how many resampling you want to do: may be around 10,000)

Homework Answers

Answer #1

Sample mean , point estimate of mean of underlying distribution.

For finding, 80% bootstrap confidence interval, following R-code were used, 10000 bootstrap sample are taken.

------------------------------------------------------------------------------------------------------------------------------------

#given sample
x=c(30, 37, 36, 43, 42, 43, 43, 46, 41, 42)
n=length(x)
#sample mean
xbar=mean(x)
nboot=10000
#Generate 10000 bootstrap samples
#random resamples from x
bootdata=sample(x,n*nboot,replace=TRUE)
bootstrap_sample=matrix(bootdata,nrow=n,ncol=nboot)
#Compute the means of bootstrap samples
bootmeans=colMeans(bootstrap_sample)
#Compute delta for each bootstrap sample
delta=bootmeans- xbar
#Find the 0.1 and 0.9 quantile for delta
d=quantile(delta,c(0.1,0.9))
#Calculate the 80% confidence interval for the mean.
ci=xbar- c(d[2],d[1])
print("80% bootstrap confidence interval")
print(ci)
---------------------------------------------------------------------------------------------------------------------------------------------------------

Comments in the codes explains the steps.

The 80% bootstrap confidence interval for distribution mean is .

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
2017-2018 Goals 49 44 43 42 42 41 40 40 39 39 39 37 36 36...
2017-2018 Goals 49 44 43 42 42 41 40 40 39 39 39 37 36 36 35 35 34 34 34 34 2012-2013 Goals 32 29 28 26 23 23 23 22 22 21 21 21 20 20 20 19 19 18 18 18 2007-2008 Goals 65 52 50 47 43 43 42 41 40 40 38 38 36 36 35 34 34 33 33 32 Given the above three sets of data, we want to compare the three seasons...
1) Suppose we gather the following sample: X 32 22 36 42 39 27 25 37...
1) Suppose we gather the following sample: X 32 22 36 42 39 27 25 37 30 28 Using this sample, calculate the upper bound for the 95% confidence interval. Round your answer to four decimal places. 2) Suppose we gather the following sample: X 11 15 19 37 40 10 43 13 17 41 Using this sample, calculate the lower bound for the 95% confidence interval. Round your answer to four decimal places.
Treatment A Treatment B Treatment C 32 44 34 30 43 37 30 44 36 26...
Treatment A Treatment B Treatment C 32 44 34 30 43 37 30 44 36 26 46 37 32 48 41 Sample mean 30 45 37 Sample variance 6 4 6.5 a. At the X= 0.05 level of significance, can we reject the null hypothesis that the means of the three treatments are equal? Compute the values below (to 1 decimal, if necessary). Sum of Squares, Treatment Sum of Squares, Error Mean Squares, Treatment Mean Squares, Error Calculate the value...
The following data shows the number of student suspensions from a random sample of 40 local...
The following data shows the number of student suspensions from a random sample of 40 local school districts in southwestern Pennsylvania. 37 63 29 500 106 5 47 117 51 13 46 8 65 71 223 57 10 16 60 60 15 51 198 48 56 20 72 80 110 43 6 15 37 187 26 182 140 76 39 37 a) Find the sample mean, the median and the sample standard deviation of this sample. Sample mean = _________...
Domestic 29 36 33 34 38 37 33 29 43 39 43 42 32 35 39...
Domestic 29 36 33 34 38 37 33 29 43 39 43 42 32 35 39 International 39 54 46 39 69 47 48 28 54 62 (1-a)Examine the data below showing the weights (in pounds) of randomly selected checked bags for an airline's flights on the same day. Click here for the data. Let μ1μ1 be the population mean pounds for International bags and μ2μ2 be the population mean pounds for Domestic bags. You are asked to test whether...
2) Airline accidents: According to the U.S. National Transportation Safety Board, the number of airline accidents...
2) Airline accidents: According to the U.S. National Transportation Safety Board, the number of airline accidents by year from 1983 to 2006 were 23, 16, 21, 24, 34, 30, 28, 24, 26, 18, 23, 23, 36, 37, 49, 50, 51, 56, 46, 41, 54, 30, 40, and 31. a. For the sample data, compute the mean and its standard error (from the standard deviation), and the median. b. Using R, compute bootstrap estimates of the mean, median and 25% trimmed...
1. We wish to estimate what percent of adult residents in a certain county are parents....
1. We wish to estimate what percent of adult residents in a certain county are parents. Out of 400 adult residents sampled, 296 had kids. Based on this, construct a 95% confidence interval for the proportion p of adult residents who are parents in this county. Express your answer in tri-inequality form. Give your answers as decimals, to three places. __< p <__ Express the same answer using the point estimate and margin of error. Give your answers as decimals,...
3. (a) Use the sample to make a point estimate of the mean height of the...
3. (a) Use the sample to make a point estimate of the mean height of the entire female/male SCC student body. (b) Construct a 93% confidence interval for the mean height of the entire female/male SCC student body. (c) What is the width of this interval? (d) Write a sentence interpreting your confidence interval. male Student # Gender Height Shoe Age Hand 1 M 67 10 19 R 2 M 74 12 17 R 3 M 72 11.5 19 R...
From generation to generation, the mean age when smokers first start to smoke varies. However, the...
From generation to generation, the mean age when smokers first start to smoke varies. However, the standard deviation of that age remains constant at around 2.1 years. A survey of 37 smokers of this generation was done to see if the mean starting age is at least 19. The sample mean was 18.2 with a sample standard deviation of 1.3. Do the data support the claim at the 5% level? Note: If you are using a Student's t-distribution for the...
There are many ways to measure the reading ability of children. Research designed to improve reading...
There are many ways to measure the reading ability of children. Research designed to improve reading performance is dependent on good measures of the outcomes. One frequently-used test is the DRP, or Degree of Reading Power. It is known that the distribution of DRP scores is normally distributed. A researcher suspects that the mean score µ of all third-graders in Henrico County Schools is different from the national mean, which is 32. To test her suspicion, she administers the DRP...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT