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

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

0 Answers  


How would you compile all macros from a folder in a study, within the autoexec program?

1 Answers  


is data integration and etl programming is same? : Sas-di

0 Answers  


How do handle working under pressure?

1 Answers   Oracle, Wipro,


We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  






1 new york 7,262,700 2 los angeles 3,259,340 3 philadelphia 1,642,900 how to read the above data using input statement consider the above data is in txt format externally u have to use infile and input statement.

9 Answers   Quintiles,


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


Hi, If anyone has base SAS certification dumps, please share.

0 Answers  


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?

11 Answers   ABC, Amex,


explain about data integrator metadata reports? : Sas-di

0 Answers  


what is the formula to measure Baseline

3 Answers   Sristek,


how would you create multiple observations from a single observation? : Sas programming

0 Answers  


Categories