CSV FILE: https://drive.google.com/open?id=1cw0En0vEVbDDBN-NE66r6RYa-b2mEEWR A m
ID: 3067210 • Letter: C
Question
CSV FILE: https://drive.google.com/open?id=1cw0En0vEVbDDBN-NE66r6RYa-b2mEEWR
A milk company has four machines that fill gallon jugs with milk. The quality control manager is interested in determining whether the average fill for these machines is the same. The following data represent random samples of fill measures (in quarts) for 19 jugs of milk filled by the different machines. 3. (2). Transform the data MilkMachine.csv to the data set with one dependent variable and one independent variable as two separate columns using the factor command on R. Import the dataset you created. Construct a One-way ANOVA model using correct R command. Inspect the model. What is the p value? What is the statistical decision? use a=. 01Explanation / Answer
milkmachine<-read.csv("MilkMachine.csv")
results<-aov(MilkMachine$Milk~ MilkMachine$Machine)
results
R Out put:
P- value is less than 0.05. So we reject Ho.
So there is enough evidence to support that the means of all achines are not equal.
Machine Milk Machine 1 4.05 Machine 1 4.01 Machine 1 4.02 Machine 1 4.04 Machine 2 3.99 Machine 2 4.02 Machine 2 4.01 Machine 2 3.99 Machine 3 3.97 Machine 3 3.98 Machine 3 3.97 Machine 3 3.95 Machine 4 4 Machine 4 4.02 Machine 4 3.99 Machine 4 4.01