Using diversity data, Conduct a two way anova and examine the effect of UCLA climate(uclaclimate) and perception of discrimination (ucladiscp) on the students’ perception of exclusion (uclaexclusionaryp).
For uclaclimate
a) Delete very uncomfortable and uncomfortable as sample sizes are too small compared to other categories. Recode “very comfortable” to “excellent”, “comfortable” to “good” and “somewhat comfortable” to “ok”. Make “OK” the base.
For perception of discrimination (ucladiscp)
b) Cut ucladiscp into two categories including (low = below median) and high (above median)
c) Create a contingency table for discrimination by uclaclimate to make sure the frequency within each cell is acceptable.
d) Run the model. Include the output.
e) Write the null and alternative hypotheses in symbols.
f) Write the research question and the conclusion you draw within context.
g) Create the interaction plot. Place campus climate on the on the X-axis, mean of uclaexclusionaryp on the Y-axis and create two lines for discrimination.
In addition to the R commands given to you on cfu two way anova for drawing the interaction plot, you can use the following command.
Interaction.plot(uclaclimate,discrimination,uclaexclusionaryp)
h) Make the table of means for ucla climate by discrimination.
i) Conduct post-hocs as needed and interpret the results within context.
j) Conduct test of simple main effects and report the results.
k) Interpret the interaction plot using the results you obtained from the test of simple main effects.