Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What would be the code using Rstudios bootstrap package for an example like this? A quality control engineer collects a sample of gears, examining 20

What would be the code using Rstudios bootstrap package for an example like this?

A quality control engineer collects a sample of gears, examining 20 gears from the manufacturing line. She is interested in estimating the mass of the gears, with a 93 % confidence interval. However, she is not confident in the normality of the observed data, and would like to estimate the Standard Error using the bootstrap. Using the data below, and the boot function from the boot package, with set.seed(65) for randomization, and R = 1e4 replicates, estimate the SE of the mean. Then, using the SE and the appropriate t quantile (20 - 1 df), find the 93 % confidence interval.

dat <- c(23.9, 20.13, 17.75, 19.73, 16.37, 22.48, 15.44, 17.3, 20.78, 21.36, 15.19, 25.25, 15.88, 13.24, 17.67, 20.85, 22.53, 21.92, 20.4, 18.79)

The Standard Error for X-bar:

The 93 % Confidence Interval for X-bar (Lower, then Upper):

**please use rstudios and attach a photo of the code**

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Accounting

Authors: Jennifer Cainas, Celina J. Jozsi, Kelly Richmond Pope

1st Edition

0137689454, 9780137689453

Students also viewed these Mathematics questions