Question

In: Statistics and Probability

An interval estimate of a population mean is required. The statistician is concerned that the sample...

An interval estimate of a population mean is required. The statistician is concerned that the sample may not have arisen from a Normal distribution as there was a distinct lack of symmetry in a boxplot of the ( continuous) variable of interest. List two approaches that could be used here to address this concern.

Solutions

Expert Solution

#method 1:- bootstrap method

  1. Resample with replacement B times.
  2. For each of these samples calculate the sample mean.
  3. Calculate an appropriate bootstrap confidence interval.

r code is given below for processing ;-

rm(list=ls())
# Simulated data
set.seed(123)
data0 = rgamma(383,5,3)
mean(data0) # Sample mean

hist(data0) # Histogram of the data

library(boot)

# function to obtain the mean
Bmean <- function(data, indices) {
d <- data[indices] # allows boot to select sample
return(mean(d))
}

# bootstrapping with 1000 replications
results <- boot(data=data0, statistic=Bmean, R=1000)

# view results
results
plot(results)

# get 95% confidence interval
boot.ci(results, type=c("norm", "basic", "perc", "bca"))

#method 2:- wilcoxon test

r code is as following types

wilcox.test(your-data, conf.int = TRUE, conf.level = 0.95)


it gives you the CI around the (pseudo)median not the mean,because if the data is heavily non-normal generally the median is a more informative measure.

please like ?


Related Solutions

To build a 95% interval estimate for the population mean textbook expense, from a random sample...
To build a 95% interval estimate for the population mean textbook expense, from a random sample of 45 IUPUI undergraduate students the following summary measures of expenditure on textbooks were calculated. ∑x = 21,150 ∑x² = 11,062,900 4 The margin of error for a 95% interval estimate is ________. A 43.68 B 45.03 C 46.67 D 47.98 5 The 95% interval estimate is ________ , ________. A 422.02 517.98 B 423.33 516.67 C 424.97 515.03 D 426.32 513.68 6 In...
Determine the smallest sample size required to estimate the population mean under the given specifications in...
Determine the smallest sample size required to estimate the population mean under the given specifications in parts a through d below. a. e=2.6​, confidence level=90​%, data between 70 and 150 The smallest sample size required to estimate the population mean is . ​(Round up to the nearest whole number as​ needed.)
You intend to estimate a population mean with a confidence interval. You believe the population to...
You intend to estimate a population mean with a confidence interval. You believe the population to have a normal distribution. Your sample size is 14. Find the critical value that corresponds to a confidence level of 95%. (Report answer accurate to three decimal places with appropriate rounding.)
A.You intend to estimate a population mean with a confidence interval. You believe the population to...
A.You intend to estimate a population mean with a confidence interval. You believe the population to have a normal distribution. Your sample size is 24. Find the critical value that corresponds to a confidence level of 99.9%. (Report answer accurate to three decimal places with appropriate rounding.) ta/2 = ±± B.Express the confidence interval 43.8±143.843.8±143.8 in the form of a trilinear inequality. _____<μ<______ C.Assume that a sample is used to estimate a population proportion μμ. Find the margin of error...
You intend to estimate a population mean with a confidence interval. You believe the population to...
You intend to estimate a population mean with a confidence interval. You believe the population to have a normal distribution. Your sample size is 9. Find the critical value that corresponds to a confidence level of 98%. Report answer accurate to three decimal places with appropriate rounding.
Estimate Confidence Interval for Population Mean based on sample data and using Appendix Table for t-Distribution...
Estimate Confidence Interval for Population Mean based on sample data and using Appendix Table for t-Distribution (Population standard deviation is not known, but sample standard deviation is given). Read material from our e-textbook (link eText) pages 314-330. Here is an example with steps you can follow: sample size n=9, sample mean=80, sample standard deviation s=25 (population standard deviation is not known) Estimate confidence interval for population mean with confidence level 90%. Confidence Interval = Sample Mean ± Margin of Error...
We use sample data to estimate population parameters and point estimate and interval estimate are two...
We use sample data to estimate population parameters and point estimate and interval estimate are two typical tools of such estimation. Please discuss them answering the following questions. 1) Briefly discuss about how point estimate and confidence interval are different to each other. 2) Discuss about way(s) to secure unbiased and efficient point estimators. 3) Discuss about the effects of confidence level (or, Z-score) and sample size on the width of confidence interval. Is it good or bad to have...
A manager wishes to estimate a population mean using a 90% confidence interval estimate that has...
A manager wishes to estimate a population mean using a 90% confidence interval estimate that has a margin of error of +- 47.0. If the population standard deviation is thought to be 640, what is the required sample size? The sample size must be at least _?
A random sample of 20 observations is used to estimate the population mean. The sample mean...
A random sample of 20 observations is used to estimate the population mean. The sample mean and the sample standard deviation are calculated as 162.5 and 22.60, respectively. Assume that the population is normally distributed. a. Construct the 99% confidence interval for the population mean. (Round intermediate calculations to at least 4 decimal places. Round "t" value to 3 decimal places and final answers to 2 decimal places.) b. Construct the 95% confidence interval for the population mean. (Round intermediate...
A random sample of 29 observations is used to estimate the population mean. The sample mean...
A random sample of 29 observations is used to estimate the population mean. The sample mean and the sample standard deviation are calculated as 130.2 and 29.60, respectively. Assume that the population is normally distributed Construct the 95% confidence interval for the population mean. Construct the 99% confidence interval for the population mean Use your answers to discuss the impact of the confidence level on the width of the interval. As the confidence level increases, the interval becomes wider. As...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT