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
- /
- Question about the PROC GENMOD

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-21-2017 03:27 AM - edited 06-21-2017 03:31 AM

Using PROC GENMOD, in "Criteria for Assessing Goodness of Fit" I got :

```
Deviance = 0.6841
Scaled Deviance = 1.1002
```

What does it means ? Is my model good ?

I know that a model with too large a deviance doesn’t fit the data well, but I dont know which deviance should I take

Accepted Solutions

Solution

06-26-2017
07:44 AM

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

06-22-2017 03:49 AM - edited 06-22-2017 04:41 AM

Its quite complicated to explain exactly how the statistics are calculated and how they should be used. I will recommend you to read the documentation which are very will written for this topic. SAS documentation

Shortly speaken, the scaled deviance is the deviance/dispersion. This statistic is in many model approximately chi-square distributed with n-p degrees of freedom.

All Replies

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

06-21-2017 08:54 AM

Your model looks good.

Scaled Deviance is near 1 which means your model is not overdisperse / oversparse.

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

06-21-2017 09:22 AM

I disagree with @Ksharp. The scaled deviance is a fit-statistic that can be used for testing whether each cell has its own predicted value (one parameter per cell) to the model specified. Therefore, and as the documentation mention, this fit-statistic has (in some models) a chi-square distribution with n-p degree of freedom.

Whereas the deviance/df (found in the collumn "value/DF") is a test statistic for no overdispersion or underdispersion.

But, it is not in all models it make sense to use this test statistic!

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

06-21-2017 09:43 AM

Opps. I forgot ScaledDeviance/DF = 1

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

06-22-2017 03:17 AM - edited 06-22-2017 03:19 AM

I dont understand

Output values are :

```
Deviance = 0.6841
Scaled Deviance = 1.1002
```

With Df = 57000

Solution

06-26-2017
07:44 AM

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

06-22-2017 03:49 AM - edited 06-22-2017 04:41 AM

Its quite complicated to explain exactly how the statistics are calculated and how they should be used. I will recommend you to read the documentation which are very will written for this topic. SAS documentation

Shortly speaken, the scaled deviance is the deviance/dispersion. This statistic is in many model approximately chi-square distributed with n-p degrees of freedom.