Question: Need the code for R statistical programming. Problem 2. (Bootstrap confidence interval) Write a function bootCI(x, conf=0.99, B=1e4) that takes in one-sample numerical data in
Need the code for R statistical programming.
Problem 2. (Bootstrap confidence interval) Write a function bootCI(x, conf=0.99, B=1e4) that takes in one-sample numerical data in the form of a vector x, a number conf in (0, 1), and a large positive integer B, and produces a bootstrap Studentized confidence interval for the mean at level conf based on B bootstrap samples.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
