Question: Please write the script in R and answer below questions please Q1. A shop that makes smoothy drinks uses a recipe for its banana smoothy

Please write the script in R and answer below questions please

Please write the script in R and answer below questions please Q1.

Q1. A shop that makes smoothy drinks uses a recipe for its banana smoothy drinks in which the drink is supposed to contain 10 grams of sugar. The drinks are produced by a special machine that adds the sugar in a container before it mixes everything. An employee is suspicious that the machine does not add 10 grams of sugar for each drink. If proven right, the machine must be replaced. You stored the level of sugar of 25 drinks in a variable called Drink sugar. Drink sugar [11 9.976959 10.012098 9.963002 9.998574 10.002431 10.036959 [7] 10.014752 9.985491 10.026681 9.981070 10.011058 9.958206 [13] 10.047110 9.931327 9.980533 9.982266 9.956010 9.992339 [191 9.957293 9.907988 9.983450 10.018341 9.979281 9.931443 [25] 10.019777 You have to do a test that can address employee concern, i.e., the test is to tell you if the level of sugar is different from the approved recipe. a) Write the null (HO) and alternative hypothesis (H1) b) What type of t-test is the most appropriate? c) Write a script to perform the suggest test in b and report the results of analysis, do you reject or accept the null hypothesis, why, and what does this means

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!