Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 meansStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started