Name: Student ID: MATH 331.001: LAB 2 You must INCLUDE ALL CODE to receive full credit....
Name: Student ID: MATH 331.001: LAB 2 You must INCLUDE ALL CODE to receive full credit. Messy work will be dexducted 5 points. 1. (Exercise 1.8.1): An experiment is conducted to determine the optimal time and temperature combination for baking a cake. The response variable of interest is taste. Four batches of eake will be baked separately at each combination of of baking times (25 and 30 minutes) and temperature settings (275° F, 300°F ,325° F). (a.) What are the experimental units? Dee ) What are the factors in this experiment? /Te叩い«l-rD ne , ; g (e.) State the levels of each factor. 7 e~,--aas r (d.) Describe the random variable associated with this experiment. (Continued from Exercise 1.8.1) The cakes were given a rating from 1-5 based on the taste where 1 is poor and 5 is exemplary. The average temperature/time combination ratings are as follows 2. 275°F 300°F 325 F 20 min 1.75 3.4 3.8 Mİ t-30 min | 2.75 | 4.1 | 2.1 Insert your results into R Studio. . Display your ratings in both a comparative bargraph and a stacked bargraph. Based on your findings, which do you think is the best temperature/time combi- nation. Why? r,几s