Showing Page:
1/2
Hypothesis Statement
Null hypothesis: the means of D1, D2, NC, and PC are equal
Alternative hypothesis: at least one of the mean is different
Solution
The study was conducted at š¼=0.05 (5% level of significance)
Procedure
Open R studio software
To the extreme left, click import dataset
Select from ātext baseā
Select where your data file is located and click āokā
Click Import
R program code
#Viewing data file
View(DATA)
wg_aov<- aov(PC~D1*D2*NC,data =DATA)
wg_aov
#Conducting ANOVA model
summary(aov(PC~D1*D2*NC,data =DATA))
#Returning the variable
R OUTPUT
Showing Page:
2/2
> View(DATA)
> #Conducting ANOVA model
> summary(aov(PC~D1*D2*NC,data =DATA))
Df Sum Sq Mean Sq F value Pr(>F)
D1 1 33.0 33.01 0.145 0.710
D2 1 11.1 11.10 0.049 0.829
D1:D2 1 205.9 205.88 0.906 0.362
Residuals 11 2499.3 227.21
>
>
Appendix

### Unformatted Attachment Preview

Hypothesis Statement Null hypothesis: the means of D1, D2, NC, and PC are equal Alternative hypothesis: at least one of the mean is different Solution The study was conducted at š¼=0.05 (5% level of significance) Procedure Open R studio software To the extreme left, click import dataset Select from ātext baseā Select where your data file is located and click āokā Click āokā for heading Click Import R program code #Reading in data in R DATA <- read.csv("C:/Users/Myles/Downloads/Desktop/DATA.csv", header=FALSE) #Viewing data file View(DATA) wg_aov<- aov(PC~D1*D2*NC,data =DATA) wg_aov #Conducting ANOVA model summary(aov(PC~D1*D2*NC,data =DATA)) #Returning the variable R OUTPUT DATA <- read.csv("C:/Users/Myles/Downloads/Desktop/DATA.csv") > View(DATA) > #Conducting ANOVA model > summary(aov(PC~D1*D2*NC,data =DATA)) Df Sum Sq Mean Sq F value Pr(>F) D1 1 33.0 33.01 0.145 0.710 D2 1 11.1 11.10 0.049 0.829 D1:D2 1 205.9 205.88 0.906 0.362 Residuals 11 2499.3 227.21 > > Appendix Name: Description: ...
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4