BookmarkSubscribeRSS Feed
weixxx
Calcite | Level 5

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.

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

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;
weixxx
Calcite | Level 5

Thank all for the helping! I appreciate!

SAS Innovate 2025: Call for Content

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!

Submit your idea!

What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 764 views
  • 1 like
  • 3 in conversation