11-24-2014 03:35 PM
I have a data set of survey results that were collected from students. I have a 2x3 table and want to see the association between two variables. I compiled the data and inputed it into SAS and attempted to use Two-Way Anova for comparison. All is going according to plan but when i ran the interaction from proc glm for two variables, SAS was unable to give me a p-value and it was left blank. If I to understand this as meaning the p-value is so tiny, it is nonexistant?
11-25-2014 07:37 AM
Well my data was a question that the students responded to. I either marked them down as "Yes, No, or Undecided" and separated answers based on gender which produced the 2x3 table. I assumed Two-way Anova was the right course of action but maybe a chi-square test would be more fitting?
11-25-2014 08:25 AM
My only concern is additionally, I need to determine the expected cell counts and test to see if gender and survey response are associated/have interaction. Would a chi square test be able to show interaction? Maybe a box plot cold be beneficial for that?
11-25-2014 12:11 PM
Look at proc freq. A visual display of data is always good, but box plots are for continuous data.
Here's an example that sort of matches up what you're trying to do.
11-27-2014 10:18 AM
One last thing. There now is a way to do Mosaic plots in Proc Freq. See link to Rick Wicklin's blog
Need further help from the community? Please ask a new question.