Question

In: Statistics and Probability

Construct a 99% confidence interval estimate of the population mean. Is the result dramatically different from the 99% confidence interval found in Exercise 18 in Section 7-2?

Speed Dating Use these female measures of male attractiveness given in Exercise 18 “Speed Dating” in Section 7-2 on page 329: 5, 8, 3, 8, 6, 10, 3, 7, 9, 8, 5, 5, 6, 8, 8, 7, 3, 5, 5, 6, 8, 7, 8, 8, 8, 7. Use the bootstrap method with 1000 bootstrap samples.

  1. Construct a 99% confidence interval estimate of the population mean. Is the result dramatically different from the 99% confidence interval found in Exercise 18 in Section 7-2?
  2. Construct a 95% confidence interval estimate of the population standard deviation. Is the result dramatically different from the 95% confidence interval found in Exercise 14 “Speed Dating” in Section 7-3 on page 340?

 

Solutions

Expert Solution

a) The 99% confidence interval estimate of the population mean is (5.549, 7.605).

Again, the 99% confidence interval estimate of the population mean using the bootstrap method with 1000 bootstrap samples is(5.615192, 7.538654). The CI results between the parametric and bootstrap do not dramatically different.

b) The 95% confidence interval estimate of the population standard deviation using the parametric method is (1.47, 2.59). Again the 95% confidence interval estimate of the population standard deviation using the bootstrap method is (1.297937, 2.236433). The CI results between the parametric and bootstrap do not dramatically different.

#### RUN IN R

> x=c(5, 8, 3, 8, 6, 10, 3, 7, 9, 8, 5, 5, 6, 8, 8, 7, 3, 5, 5, 6,
+ 8, 7, 8, 8, 8, 7)
>
>
> #######
# a) 99% confidence interval estimate of the population mean

>
> Boot_mean=function(data, nsim)
+ {
+ n=length(data)
+ BOOT=list()
+ MEAN=list()
+ SD=list()
+ for(i in 1:nsim)
+ {
+ BOOT[[i]]=sample(data, size=n, replace = TRUE)
+ MEAN[[i]]=mean(BOOT[[i]])
+ }
+ return(MEAN)
+ }
>
>
> ## Run
>
> MEAN=Boot_mean(data=x, nsim=1000)
>
> MEAN=unlist(MEAN)
> # 95% CI of MEAN
> QMEAN=quantile(MEAN, c(.005, .995))
> QMEAN
0.5% 99.5%
5.615192 7.538654

> ### b) 95% confidence interval estimate of the population standard deviation
> Boot_SD=function(data, nsim)
+ {
+ n=length(data)
+ BOOT=list()
+ SD=list()
+ for(i in 1:nsim)
+ {
+ BOOT[[i]]=sample(data, size=n, replace = TRUE)
+ SD[[i]]=sd(BOOT[[i]])
+ }
+ return(SD)
+ }
>
> ### RUN
> SD=Boot_SD(data=x, nsim=200)
>
> SD=unlist(SD)
> # 95% CI of SD
> QSD=quantile(SD, c(.025, .975))
> QSD
2.5% 97.5%
1.297937 2.236433

###

x=c(5, 8, 3, 8, 6, 10, 3, 7, 9, 8, 5, 5, 6, 8, 8, 7, 3, 5, 5, 6,
8, 7, 8, 8, 8, 7)


#######
# a) 99% confidence interval estimate of the population mean

Boot_mean=function(data, nsim)
{
n=length(data)
BOOT=list()
MEAN=list()
SD=list()
for(i in 1:nsim)
{
BOOT[[i]]=sample(data, size=n, replace = TRUE)
MEAN[[i]]=mean(BOOT[[i]])
}
return(MEAN)
}


## Run

MEAN=Boot_mean(data=x, nsim=1000)

MEAN=unlist(MEAN)
# 95% CI of MEAN
QMEAN=quantile(MEAN, c(.005, .995))
QMEAN


####
### b) 95% confidence interval estimate of the population standard deviation
Boot_SD=function(data, nsim)
{
n=length(data)
BOOT=list()
SD=list()
for(i in 1:nsim)
{
BOOT[[i]]=sample(data, size=n, replace = TRUE)
SD[[i]]=sd(BOOT[[i]])
}
return(SD)
}

### RUN
SD=Boot_SD(data=x, nsim=200)

SD=unlist(SD)
# 95% CI of SD
QSD=quantile(SD, c(.025, .975))
QSD


Related Solutions

Microsoft MiniTab Assignment Construct and interpret the 99 % confidence interval estimate of the population mean...
Microsoft MiniTab Assignment Construct and interpret the 99 % confidence interval estimate of the population mean “WaitTime” for all customers. Type in your explanation below the output from Minitab. Construct and interpret the 99% confidence interval estimate of the population proportion of male customers. Type in your explanation below the output from Minitab. Is the mean “Income” for all customers no more than $38,000? Perform the appropriate hypothesis test using alpha = 0.05. Type in your explanation below the output...
Construct a 99​% confidence interval to estimate the population mean using the data below. X (overbar)...
Construct a 99​% confidence interval to estimate the population mean using the data below. X (overbar) = 22 s = 3.2 n = 13 What assumptions need to be made about this​ population? The 99​% confidence interval for the population mean is from a lower limit of __ to an upper limit of __. (round to two decimal places as needed.)
Construct a 99​% confidence interval to estimate the population mean using the data below. What assumptions...
Construct a 99​% confidence interval to estimate the population mean using the data below. What assumptions need to be made about this​ population? x overbar =32 s=9.1 n=28
Assuming that the population is normally​ distributed, construct a 99% confidence interval for the population​ mean,...
Assuming that the population is normally​ distributed, construct a 99% confidence interval for the population​ mean, based on the following sample size of n=7.​ 1, 2,​ 3,4, 5, 6​,and 30   Change the number 30 to 7 and recalculate the confidence interval. Using these​ results, describe the effect of an outlier​ (that is, an extreme​ value) on the confidence interval. Find a 99 % confidence interval for the population mean. ​(Round to two decimal places as​ needed.) Change the number 30...
assuming that the population is normally distributed, construct a 99% confidence interval for the population mean,...
assuming that the population is normally distributed, construct a 99% confidence interval for the population mean, based on the following sample size n=6. 1,2,3,4,5 and 29. in the given data, replace the value 29 with 6 and racalculate the confidence interval. using these results, describe the effect of an outlier on the condidence interval, in general find a 99% confidence interval for the population mean, using the formula.
Assuming that the population is normally​ distributed, construct a 99​% confidence interval for the population mean...
Assuming that the population is normally​ distributed, construct a 99​% confidence interval for the population mean for each of the samples below. Explain why these two samples produce different confidence intervals even though they have the same mean and range. Sample​ A: 1   4   4   4   5   5   5   8 Sample B: 1   2   3   4   5   6   7   8 Construct a 99​% confidence interval for the population mean for sample A. less than or equalsmuless than or equals Type...
Assuming that the population is normally​ distributed, construct a 99% confidence interval for the population mean...
Assuming that the population is normally​ distributed, construct a 99% confidence interval for the population mean for each of the samples below. Explain why these two samples produce different confidence intervals even though they have the same mean and range. SAMPLE A: 1 1 4 4 5 5 8 8 SAMPLE B: 1 2 3 4 5 6 7 8 1.Construct a 99% confidence interval for the population mean for sample A. ( type integers or decimals rounded to two...
If n =400 and X = 140​, construct a 99​% confidence interval estimate for the population...
If n =400 and X = 140​, construct a 99​% confidence interval estimate for the population proportion. ? ≤ π ≤ ? ​(Round to four decimal places as​ needed.)
Construct a 99​% confidence interval to estimate the population proportion with a sample proportion equal to...
Construct a 99​% confidence interval to estimate the population proportion with a sample proportion equal to 0.90 and a sample size equal to 250. ------A 99% confidence interval estimates that the population proportion is between a lower limit of ___ and an upper limit of ___. ????????
Construct a 99​% confidence interval to estimate the population proportion with a sample proportion equal to...
Construct a 99​% confidence interval to estimate the population proportion with a sample proportion equal to 0.50 and a sample size equal to 200. LOADING... Click the icon to view a portion of the Cumulative Probabilities for the Standard Normal Distribution table. A 99​% confidence interval estimates that the population proportion is between a lower limit of nothing and an upper limit of nothing. ​(Round to three decimal places as​ needed.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT