Can anyone help me with this one?
Create and print a data set with variables named N, ExpN, and LogN, where ExpN is eN and LogN is the natural log of N (the function is LOG). Use a DO loop to create a table showing values of N, ExpN, and LogN for values of N going from 0.25 to 5 by 0.25.
The documentation of functions can be found here: https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.3&docsetId=lefunctionsref&docsetTarg...
What have you tried so far?
Here is a little code snippet to get you going
data test;
do N=0.25 to 5 by 0.25;
/* Your calculations here */
output;
end;
run;
Thank all for the helping! I appreciate!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.