how to generate means for every subject;
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
what is Global Symbol table and Local symbol table?
How do i read multiple spaces in datasets?
How would you invoke a macro? : sas-macro
Of all your work, where have you been the most successful?
is there any differnce between proc means and proc summary?
what is the difference between proc report and proc format?
what is the main difference between rename and label? (don't say that they both perform the same function).
how does sas handle missing values in an update? : Sas programming
You need to create an In List that it is to be later used in a Where Clause that includes all the Regions that begin with the letter A from the sashelp.shoes table. Using PROC SQL with an into clause create the following string from the sashelp.shoes table using the variable region “AFRICA”,”ASIA”,…..
What is the function of output statement in a SAS Program?
How to display duplicate observations in data?
what is sas application server? : Sas-di