Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Two-Way Anova not displaying p-value

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

11-24-2014 03:35 PM

Hello friends,

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?

Pengy

Accepted Solutions

Solution

11-25-2014
08:07 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RCPenguin

11-25-2014 08:07 AM

All Replies

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RCPenguin

11-24-2014 05:25 PM

You say 2x3 table but then Anova which makes me wonder. What type of data did you collect, categorical or continuous?

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

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?

Solution

11-25-2014
08:07 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RCPenguin

11-25-2014 08:07 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

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?

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RCPenguin

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.

Base SAS(R) 9.2 Procedures Guide: Statistical Procedures, Third Edition

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

11-27-2014 08:04 AM

Thank you for assisting, Reeza

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RCPenguin

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