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
- /
- proc genmod / inverse gaussian

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

11-23-2014 03:17 PM

Hello everyone,

By estimating the count data (number of claims per insured) with an inverse Gaussian distribution by the GENMOD procedure SAS, SAS does not take the zero (0) data. Indeed for the dependent variable (number of claims) many contract have a number of claims 0. when I execute the GENMOD procedure with a IG distribution (inverse Gaussian ) these data are not considered (Invalid Response Values).

how do I do in this case to ensure that SAS uses all data including where zero variable for the inverse Gaussian distribution?

thank you in advance

Nassima

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

Posted in reply to nassimasas

11-24-2014 11:27 AM

You can't. The inverse gaussian distribution is only defined for nonzero positive values. Same for the gamma.

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

11-24-2014 03:02 PM

Hi, thanks

but I have found in the actuarial literature that the number of claims can be adjusted by an inverse Gaussian distribution

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

Posted in reply to nassimasas

11-24-2014 05:07 PM

I would need to see what they did, because the IG is undefined at 0. One could model the data as a mixture of two distributions, with a different distribution for zeros. But you can only do this in Genmod with discrete distributions. Perhaps PROC FMM.

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

Posted in reply to nassimasas

11-25-2014 10:56 AM

If your data are counts, then you should consider using a discrete distribution rather than a continuous one. Count data are typically modeled using Poisson, negative binomial, or zero-inflated versions of those distributions. Those distributions allow zero values. Models using these distributions can be fit using PROC GENMOD.