BookmarkSubscribeRSS Feed
Macy
Calcite | Level 5

Hi,

 

Does anyone know how to create analtical base table in SAS, which code shall i write in programmer ? 

how can i put transforming data, combined and merge data into ABT ? 

4 REPLIES 4
Reeza
Super User

Can you explain in more detail? I'm not familiar with the terminology you're using. 

Macy
Calcite | Level 5

Hi, 

Never mind, this problem i have solved, but i have another one that is i tried to transform data by using LOG(X+1) to avoid any 0 value, but all of the cells are blanks, i do not know where is the problem, could you pls have a look ? 


屏幕快照 2016-11-27 下午11.09.49.png
Reeza
Super User

Sorry, I'm not familiar with SAS Studio tasks. Perhaps examining the code may help. 

 

Good Luck.

ballardw
Super User

If you want to create a new varable based on NUM_credits you might want to use log(Num_credits +1) not X. I suspect you do not have a variable X before the transform. Your output shows X with missing values because you references a variable X, so SAS needed to create the variable with missing values. And since X was missing then the result was missing.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2636 views
  • 0 likes
  • 3 in conversation