Generation

generate functionThu, 20 Apr 2023

> chisq.test(table(indvar_FODs$Gender_FODs, indvar_FODs$categorical_FOD_FODs)) Pearson's Chi-squared test data: table(indvar_FODs$Gender_FODs, indvar_FODs$categorical_FOD_FODs) X-squared = 1.1716, df = 4, p-value = 0.8828 > chisq.test(table(indvar_FODs$Condition_FODs, indvar_FODs$categorical_FOD_FODs)) Pearson's Chi-squared test data: table(indvar_FODs$Condition_FODs, indvar_FODs$categorical_FOD_FODs) X-squared = 105.87, df = 6, p-value < 2.2e-16 analyse the interaction effect between the Condition_FODs and Gender_FODs on the categorical_FOD_FODs?

#model1 model1<-aov(categorical_FOD_FODs ~ Condition_FODs + Gender_FODs, data=indvar_FODs) summary(model1) #model2 model2<-aov(categorical_FOD_FODs ~ Condition_FODs*Gender_FODs, data=indvar_FODs) summary(model2)

Questions about programming?Chat with your personal AI assistant