What is the correct syntax for the following calculation (see image)?
Thanks!
1-0.9144**(exp(60.69-61.18))
EXP or CONSTANT('e') function for e
** for exponential
Use the EXP() function.
1-0.9144**(exp(60.69-61.18))
EXP or CONSTANT('e') function for e
** for exponential
Whoops. I'm getting an "Invalid argument to function" error. What am I doing wrong here?
The number being generated is too large for a computer to represent. E to those exponents in a regular calculator errors out so something is wrong somewhere in your formulas. Guessing units?
Hello @_maldini_,
I suspect that there are two errors in your calculation:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.