Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me with this as best you can if you know how to use R. I have provided the data link as well as
Please help me with this as best you can if you know how to use R. I have provided the data link as well as the question. Please solve it to your best with clear explanations so i can also give you thumbs up. Don't copy from somewhere else and paste it please!
Questions with details on how answer below ( must follow): https://drive.google.com/file/d/1q3OdLQ8Mkg32s1NSRfCG6nIj7I6awCh8/view?usp=sharing
Link to Tyre: https://drive.google.com/file/d/1tSEprOsTzgetN-kjaz_QE3v301LJDgPw/view?usp=sharing
Questions:
Question [Use R1 Suppose you have a company producing cupcakes. Each cupcake is supposed to contain 10 grams of sugar. The cupcakes are produced by a machine that adds the sugar in a bowl before mixing everything. You believe the machine does not add 10 grams of sugar for each cupcake. If your assumption is true, the machine needs to be xed. You stored the level of sugar of thirty cupcakes. a) Generate 30 observations (random sample) from a Normal distribution with a mean of 9 and a standard deviation of 0.02. Set the seed to 123. - Show (copy/paste) the R code that you used to generate the dataset. - Print only the first 6 observations from the dataset (output). Use an R code that show us only the first 6 observations not copy from the dataset the first 6 observations.b) State the hypothesis to check whether the level of sugar is different than the recipe (you can use either symbols or words). C) Use a suitable test in R to check your hypothesis in (b), use a significance level (a) of 0.05. Note: Show/Provide (copy/paste) the R code and the result/output of the hypothesis test.d) Interpret your finding in (c). Note (1): State the degree of freedom (0.25 point), interpret the hypothesis you are testing (statistically and relating to the topic of interest) (0.5 point) and interpret the confidence interval (0.25 point). Note (2): Interpret the hypothesis statistically means: is it statistically significant or not
Step 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