Help using Base SAS procedures

How can I create a new column containing the absolute value of another column in the dataset?

Reply
N/A
Posts: 1

How can I create a new column containing the absolute value of another column in the dataset?

Hi, I'm new to SAS and this is my first time using it.

I managed to get an output showing both the regular variable and the one with absolute values. However, all of the other columns of the database disappeared. How can I add this new column to the entire dataset?

Thanks!

Super User
Posts: 17,960

Re: How can I create a new column containing the absolute value of another column in the dataset?

Change how you created the new column. How did you create the new columns?

Ask a Question
Discussion stats
  • 1 reply
  • 267 views
  • 0 likes
  • 2 in conversation