how to generate means for every subject;

Answers were Sorted based on User's Feedback



how to generate means for every subject;..

Answer / chandrakanth

use PROC MEANS DATA=DATA SET NAME;
VAR VARIABLE LIST;(here include for which subjects you need the mean)
run;
lemme know if you did not get it!

Is This Answer Correct ?    3 Yes 0 No

how to generate means for every subject;..

Answer / venkatesh

u will get the answer by using proc means.
ex:
a b c d
10 20 30 100
20 40 40 150
proc means data=new mean;
run;
it will give mean of a , b , c, d

Is This Answer Correct ?    3 Yes 0 No

how to generate means for every subject;..

Answer / ravi

without mention var stmt in means then u will get means for all numeric variables

Is This Answer Correct ?    1 Yes 0 No

how to generate means for every subject;..

Answer / naga

Here the question is means for every subject.
In SAS terminology subject means patient so the code is
proc means data=datasetname;
by subject;
var list;
run;

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More SAS Interview Questions

tell me about intnx, intcx functions?

4 Answers   CitiGroup,


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

0 Answers   Accenture,


What can you learn from the SAS log when debugging?

0 Answers   Quintiles,


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

2 Answers  


how to change the execute of macro

0 Answers   Mind Tree,






What are the difficulties u faced while doing vital signs table or dataset?

0 Answers  


What is the one statement to set the criteria of data that can be coded in any step?

4 Answers   Accenture,


what are the advantages of using SAS in clinical data mangement? why should not we use other software products in managing clinical data?

2 Answers   Wockhardt,


Mention what are the data types does SAS contain?

0 Answers  


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

0 Answers  


Explain substr function?

0 Answers  


What are the default statistics for means procedure?

0 Answers  


Categories