turn on suggestions

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

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Statistical Test when cross table has less than 5 ...

Topic Options

- Subscribe to 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
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

06-26-2016 02:03 PM

Dear Team,

i am working on a survey data and need to run a chi square test to see if there is any relation between gender and rating.

As one of the assumption of Chi Square is : Sample Size: each particular scenario (cell) must have at least five cases. However as i have very less data points hence this assumption is violated.

We can run a fisher exact test in this scenario though while researching i came across a literature from "**Wai Wan Tsang and Kai Ho Cheng" from the Univeristy of The University of Hong Kong" **that we can still run a chi square test.

I am a bit confused and while searching this on researchgate. net this option was suggested hence checking on the forum if this is still a valid test to conduct.

Regards, Shivi

Accepted Solutions

Solution

06-27-2016
10:05 AM

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

06-26-2016 03:11 PM

Yes, it sounds like exact tests would be appropriate. For an overview of exact tests in PROC FREQ, see "Exact tests in PROC FREQ: What, when, and how."

If you have many dozens of cells, a full exact test might be prohibitively expensive. In that case, you can use Monte Carlo approximations to the exact test by adding the MC option to the EXACT statement:

```
exact pchi / MC; /* Monte Carlo approximation to exact chi-square test */
```

All Replies

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

06-26-2016 02:15 PM

You can request exact statistics for the likelihood ratio chi-square test (if that what your reference is about) with EXACT LRCHI;

PG

Solution

06-27-2016
10:05 AM

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

06-26-2016 03:11 PM

Yes, it sounds like exact tests would be appropriate. For an overview of exact tests in PROC FREQ, see "Exact tests in PROC FREQ: What, when, and how."

If you have many dozens of cells, a full exact test might be prohibitively expensive. In that case, you can use Monte Carlo approximations to the exact test by adding the MC option to the EXACT statement:

```
exact pchi / MC; /* Monte Carlo approximation to exact chi-square test */
```

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

06-27-2016 10:04 AM

Thanks Rick for the solution. I think this works perfect. Also thanks for sharing the blog link.