Demographics in pharma

Reply
Frequent Contributor
Posts: 89

Demographics in pharma

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

Super User
Super User
Posts: 7,988

Re: Demographics in pharma

Posted in reply to KrishnaChandra

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

Frequent Contributor
Posts: 89

Re: Demographics in pharma

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

Super User
Posts: 19,860

Re: Demographics in pharma

Posted in reply to KrishnaChandra
Frequent Contributor
Posts: 89

Re: Demographics in pharma

Hai Reeza

 

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

Krishna

Super User
Posts: 19,860

Re: Demographics in pharma

Posted in reply to KrishnaChandra

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

Frequent Contributor
Posts: 89

Re: Demographics in pharma

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

Frequent Contributor
Posts: 89

Re: Demographics in pharma

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

Frequent Contributor
Posts: 89

Re: Demographics in pharma

Posted in reply to KrishnaChandra

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

Ask a Question
Discussion stats
  • 8 replies
  • 377 views
  • 5 likes
  • 3 in conversation