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:
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
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.