Help using Base SAS procedures

PROC MIANALYZE Floating point exception error

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 9
Accepted Solution

PROC MIANALYZE Floating point exception error

Hi-

Running PROC MIANALYZE and I get a floating point exception error:

ERROR: Invalid Operation.

ERROR: Termination due to Floating Point Exception

NOTE: The SAS System stopped processing this step because of errors.

This issue was raised here with no responses:

I can't find any other comments on this issue. Does anyone have ideas about what might cause this?

Thanks!

Eric


Accepted Solutions
Solution
‎08-14-2013 11:28 AM
Super User
Posts: 10,497

Re: PROC MIANALYZE Floating point exception error

After examining my data to verify I don't have any cases where I should be dividing large numbers by very small or 0 values I would check my syntax very carefully. I have in the past received similar error messages when misunderstanding options or operations syntax and wrote code that turned to be inapplicable to a procedure. Some times the syntax checkers don't catch this type of error as I made something so egregious the programmers didn't think to look for it.

View solution in original post


All Replies
Solution
‎08-14-2013 11:28 AM
Super User
Posts: 10,497

Re: PROC MIANALYZE Floating point exception error

After examining my data to verify I don't have any cases where I should be dividing large numbers by very small or 0 values I would check my syntax very carefully. I have in the past received similar error messages when misunderstanding options or operations syntax and wrote code that turned to be inapplicable to a procedure. Some times the syntax checkers don't catch this type of error as I made something so egregious the programmers didn't think to look for it.

Occasional Contributor
Posts: 9

Re: PROC MIANALYZE Floating point exception error

Got it! Thanks. After posting (of course) I noticed that I had some parameter estimates that were zero. Removing those variables seems to have made it work!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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