11-23-2014 03:17 PM
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
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.
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.