Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Pell And Pell–Lucas Numbers With Applications

Authors: Thomas Koshy

1st Edition

1461484898, 9781461484899

More Books

Students also viewed these Mathematics questions

Question

Self-confidence

Answered: 1 week ago

Question

The number of people commenting on the statement

Answered: 1 week ago