3. The viscosity of a chemical product is read every 2 minutes. Some data from this...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. The viscosity of a chemical product is read every 2 minutes. Some data from this process can be found in the viscosity.csv file, which has only one variable, viscosity, measured in micropascal per second units (μPa.s). (a) Use t.test() to construct a 95% confidence interval for the mean. [1 m [3 ma (b) We will now construct a 95% bootstrap confidence interval for the mean. To do so, we first need to create an empty numeric vector, then use a for loop to do the following 1000 times: i. Use dplyr::slice_sample () to sample the original data with replacement. Each new sample should have the same sample size (number of observations) as the original data. ii. Calculate the sample mean of the resampled data. iii. Save the sample mean as the ith element of the numeric vector created prior to the for loop. The result of this for loop creates what is known as a bootstrap distribution of sample means, which is centred on the observed sample mean. (c) Calculate the bootstrap distribution's 2.5% and 97.5% percentiles (quantiles). These [2 ma correspond to the 95% bootstrap confidence interval for the mean. Ensure that these values are printed out in your Quarto document. (d) Visualise the bootstrap distribution and superimpose the percentiles calculated in part [2 ma (c) as reference lines using the ggplot2 package. Ensure that your plot at least has appropriate axis labels. Hint: Consider using the ggplot2::geom_hline () or ggplot2:: geom_vline () commands (functions) to draw the reference lines. (e) Compare the standard 95% confidence interval for the mean against the 95% bootstrap [3 ma confidence interval for the mean. Hence, describe which statistical concept the bootstrap distribution approximates by resampling the data. 3. The viscosity of a chemical product is read every 2 minutes. Some data from this process can be found in the viscosity.csv file, which has only one variable, viscosity, measured in micropascal per second units (μPa.s). (a) Use t.test() to construct a 95% confidence interval for the mean. [1 m [3 ma (b) We will now construct a 95% bootstrap confidence interval for the mean. To do so, we first need to create an empty numeric vector, then use a for loop to do the following 1000 times: i. Use dplyr::slice_sample () to sample the original data with replacement. Each new sample should have the same sample size (number of observations) as the original data. ii. Calculate the sample mean of the resampled data. iii. Save the sample mean as the ith element of the numeric vector created prior to the for loop. The result of this for loop creates what is known as a bootstrap distribution of sample means, which is centred on the observed sample mean. (c) Calculate the bootstrap distribution's 2.5% and 97.5% percentiles (quantiles). These [2 ma correspond to the 95% bootstrap confidence interval for the mean. Ensure that these values are printed out in your Quarto document. (d) Visualise the bootstrap distribution and superimpose the percentiles calculated in part [2 ma (c) as reference lines using the ggplot2 package. Ensure that your plot at least has appropriate axis labels. Hint: Consider using the ggplot2::geom_hline () or ggplot2:: geom_vline () commands (functions) to draw the reference lines. (e) Compare the standard 95% confidence interval for the mean against the 95% bootstrap [3 ma confidence interval for the mean. Hence, describe which statistical concept the bootstrap distribution approximates by resampling the data.
Expert Answer:
Answer rating: 100% (QA)
It seems youve provided a homework or examination question about statistica... View the full answer
Related Book For
Introduction to Statistical Quality Control
ISBN: 978-1118146811
7th edition
Authors: Douglas C Montgomery
Posted Date:
Students also viewed these programming questions
-
An audit team member assigned to audit the management review and planning processes prepares a work document. 15 What is the name of the document prepared by the auditor?
-
The viscosity of a chemical product is read every two minutes. Some data from this process are shown in Table 10E.11 (read down, the across from left to right). (a) Is there a serious problem with...
-
IST 8100 Supplemental Cases Inside Microsoft During last fall's United Way campaign at Microsoft, two vice-presidents made a wager on whose division would generate the most contributions. The loser,...
-
You are considering an investment that will be valued at $1,000 one year from now. Your next best alternative investment opportunity would yield an annual rate of return of 8%, In other words, if you...
-
What is the energy of an electron that has been ejected from an orbital of ionization energy 4.69 eV by a photon of radiation of wavelength 584 nm?
-
Show the connection of an LM124 quad op-amp as a three-stage amplifier with gains of + 15, -22, and -30. Use a 420-kfl feedback resistor for all stages. What output voltage results for an input of V,...
-
During a flash flood, water rushes over a road as shown in Fig. P9. 67 with a speed of \(12 \mathrm{mph}\). Estimate the maximum water depth, \(h\), that would allow a car to pass without being swept...
-
David Rodriguez owns a chain of travel goods stores, Rodriguez Travel Goods. Last year, his sales staff sold 25,000 suitcases at an average sales price of $150. Variable expenses were 60% of sales...
-
Suppose a stock had an initial price of $80.60 per share, paid a dividend of $1.48 per share during the year, and had an ending share price of $62.14. What was the capital gains yield?
-
You have recently been hired by Keafer Manufacturing to work in its newly established treasury department. Keafer Manufacturing is a small company that produces highly customized cardboard boxes in a...
-
Manufacturing Corp. is engaged in the business of making and selling specialized machinery to the automotive industry. In its business, Manufacturing uses large quantities of steel. In July,...
-
ABC, Inc., a calender year, accrual basis corporation, accrues a $100,000 bonus payable to its shareholder for its December 31, X1 financial statements. When can ABC deduct the $100,000 for tax?
-
Rylee inherited a 145-acre ranch. She decided to quit her job and continue the existing cattle operation. Her previous salary was $70,000 a year. When she sold the calves, she earned $1550 per head...
-
Regarding the Rational Method, select the correct statement: The frequency of occurrence for the peak discharge is usually lower than the frequency of the rainfall producing that event. In the...
-
John is a single individual who claims the standard deduction. During 2023, he receives $ 11 comma 000 of wages and $ 800 of dividends. Compute John's taxable income assuming.
-
1. Determine whether these functions are one-to-one, if the function is one-to- one, find its inverse. Be sure to show all your work! (a) f(x) = 2x - 3 (b) f(x) = x - 16 (c) g(x)=x (d) r(t) = 2 + t+1
-
What is boot block? What is Superblock? How they are used to handle file management system in OS?
-
7 A 29-year-old, previously healthy man suddenly collapses at a party where legal and illicit drugs are being used. Enroute to the hospital, he requires resuscitation with defibrillation to establish...
-
The data in Table 7E.15 represent the number of nonconformities per 1,000 meters in telephone cable. From analysis of these data, would you conclude that the process is in statistical control? What...
-
Suppose that you are testing the following hypotheses where the variance is unknown: H0 : 100 H1 : 100 The sample size is n = 20. Find bounds on the P-value for the following values of the test...
-
Consider the minute clinic waiting time data in Exercise 6.66. These data may not be normally distributed. Set up a EWMA control chart using ï¬ï = 0.1 for monitoring this process. Does...
-
The treatment of outflows on account of dividend and interest is highly debatable as to their activity classification. Give a serious thought to the issue and express your opinion about the best...
-
Reliance Industries Ltd. is the biggest private sector company in India. The following fact sheet about the company and its peer group, as extracted from Capitaline Plus database is reproduced in the...
-
Consider the same setting as Problem 18, but suppose instead 80% of the shareholders redeem their shares, and no warrants are exercised. Data from problem 18 a. What is the amount of cash per share...
Study smarter with the SolutionInn App