BookmarkSubscribeRSS Feed
DB_ECON
Calcite | Level 5
I get the following error message every time I run a count model using proc countreg. Also the procedure stops and no output is generated. Does anyone have any suggestions....

proc countreg data = work.test1 method = qn;
model y = &I_VAR. /dist=zinegbin;
zeromodel y ~ ;
output out =test2 pred = Fit;

run;

The follwoing error appears:

NOTE: Convergence criterion (FCONV=2.220446E-16) satisfied.
NOTE: At least one element of the (projected) gradient is greater than 1e-3.
ERROR: Floating Point Zero Divide.
ERROR: Termination due to Floating Point Exception
NOTE: The SAS System stopped processing this step because of errors.
2 REPLIES 2
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
Usually, you should report floating point errors directly to Technical Support. Even if you have the wrong syntax, you should not get this kind of error. Are you using SAS 9.2 or 9.22? The procedure was experimental in 9.1, and experimental procedures are more likely to give this type of problem.

COUNTREG is part of the ETS package of SAS. Thus, you might also get more advice in the Forecasting Forum.
DB_ECON
Calcite | Level 5
> I get the following error message every time I run a
> count model using proc countreg. Also the procedure
> stops and no output is generated. Does anyone have
> any suggestions....
>
> proc countreg data = work.test1 method = qn;
> model y = &I_VAR. /dist=zinegbin;
> zeromodel y ~ ;
> output out =test2 pred = Fit;
> run;
>
> The follwoing error appears:
>
> NOTE: Convergence criterion (FCONV=2.220446E-16)
> satisfied.
> NOTE: At least one element of the (projected)
> gradient is greater than 1e-3.
> ERROR: Floating Point Zero Divide.
> ERROR: Termination due to Floating Point Exception
> NOTE: The SAS System stopped processing this step
> because of errors.

I use version 9.2. Thanks for the info.....I will follow up with the SAS tech folks.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1761 views
  • 0 likes
  • 2 in conversation