BookmarkSubscribeRSS Feed
KrishnaChandra
Calcite | Level 5

hai

   i would like to know how to get the column like this

  Age (years)

     Mean (SD)         xxx.xxx (xxx)

   Min, Max          xxx, xxx




Krishna

8 REPLIES 8
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,

There are many ways:

String concatenation

Proc report

Proc tabulate

Datastep

Proc SQL; insert into.

You will need to be a bit more specific on your questions. Perhaps best to start with the free SAS Training videos at:

SAS Tutorials | SAS Training

KrishnaChandra
Calcite | Level 5

Hai

   i need to know how mean and std can show in single column.Like this

                                           0.35mg                            0.25                                Total

                                           N=XX                               N=XX                                XXX

   Age(years)             

   Mean (SD)         xxx.xxx (xxx)          xxx.xxx (xxx)          xxx.xxx (xxx)

   Min, Max          xxx, xxx               xxx, xxx               xxx, xxx

KrishnaChandra
Calcite | Level 5

Hai Reeza

 

  Can you show some examples to do the task.Please to be consider the request

Krishna

Reeza
Super User

There are full examples in the link in the paper, the link is below as well.

Under Resources at the end of the paper.

Dowload programs

KrishnaChandra
Calcite | Level 5

I need to have the sample codes.I couldn't find any sample codes on linked file.Please do help me

KrishnaChandra
Calcite | Level 5

Thank you so much Reeza..I expect your kind help again Smiley Happy

KrishnaChandra
Calcite | Level 5

Hi Reeza

data Task.LSLabel;

length var1 $75.;

var1='FEF25-75% (L/S) (Baseline from P301)';

run;

  Actually i need to get the Var1=FEF25-75% (L/S) (Baseline from P301) but now it seems to be FEF25-75% (L/S) (Baseline from P301).

Any way to solve this one

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 8 replies
  • 805 views
  • 5 likes
  • 3 in conversation