Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 does the run statement do? : Sas programming

0 Answers  


What is difference between (a-z) and (a--z)

8 Answers   Accenture,


how do i get last 10obs from a dataset when we don't know about the number of obsevations in that dataset?

7 Answers   TCS,


What is the order of application for output data set options, input data set options and SAS statements?

0 Answers   Quintiles,


What do you know about sas and what we do? : sas-grid-administration

0 Answers  


6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK

1 Answers   IBM, SAS,


Why is a STOP statement needed for the point=option on a SET statement?

2 Answers   Quintiles,


how to shift the rows to cols? eg: i have like field1 field2 field3 10 20 20 this should be displayed as field1 10 field2 20 field3 30 (without the obs col) how do this?can i use transpose or tell me suitable way to do this?

3 Answers   CMC,


1.How many ways are there to create variables? 2.What is CLM,how can we use it? 3.what are the advontages of data step? 4.what is the extension of editor window in SAS 9.1.3? 5.How do you copy a particular data set from one library to another? 6.what is the use of double option? 7.Advontages of Proc Report? 8.what is the basic use of where statement? 9.How do you terminate the statments in SAS Programming? 10.What is the difference between symput and symget? 11.How would a identify the local and global variable? can any one answer for the 4'th question

8 Answers   CitiGroup,


What is the use of %include statement?

0 Answers  


How do you control the number of observations and/or variables read or written?

0 Answers  


How can you limit the variables written to output dataset in data step?

0 Answers  


Categories