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

Explain what is SAS informats?

0 Answers  


How would you create multiple observations from a single observation?

1 Answers   Quintiles,


How could you generate test data with no input data?

14 Answers   CTS,


Hi Friends, My name is Priya,am new to this Forum. am looking for SAS Platform Administration Interview Questions.I searched every where but I couldn't find any where.please can anyone help me with the FAQ's. It would be a great favor to me if you can email the Interview Questions to priyafeb84@gmail.com

0 Answers  


explain the proc in sas? : Sas-administrator

0 Answers  






hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..

14 Answers  


tell me about use of arrays in sas

1 Answers   CoreEL,


what are scrubing procedures in SAS?

1 Answers   Oracle,


how does sas handle missing values in an update? : Sas programming

1 Answers  


What can you learn from the SAS log when debugging?

0 Answers   Quintiles,


Tell e how how dealt with..

0 Answers  


data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.

1 Answers  


Categories