how to generate means for every subject;
Answer Posted / 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 |
Post New Answer View All Answers
Describe crosslist option in tables statement?
I need level 2 to 5 sas using companies in india
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
Name some categories in sas 9? : sas-grid-administration
what is information maps?
how to remove duplicates using proc sql?
What are the different types of sas functions?
For clinical entire study how many tables will create approx?
How do you add a number to a macro variable? : sas-macro
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
Are you involved in writing the inferential analysis plan? Tables specifications?
What is substr function?
what is star schema? : Sas-di
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro