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...

wt is a-z and a--z?

Answer Posted / veerendar alugola

you can see the below example for a-z:

data ptcde;
input ptid $ test1 test2 test3 test4;
cards;
1102 56 65 66 70
1103 55 85 62 77
1104 85 71 59 66
1105 55 100 120 61
1106 90 58 65 63
;
run;

data abc;
set ptcde;
a=mean(of test1-test4);
run;

when you use a-z it will consider only the range variables.


You can find the below example for a--z;

data ptcde;
input ptid $ test1 abc def test4;
cards;
1102 56 65 66 70
1103 55 85 62 77
1104 85 71 59 66
1105 55 100 120 61
1106 90 58 65 63
;
run;

data abc;
set ptcde;
a=mean(of test1--test4);
run;

when you use a--z it will consider all the variables
irrespective of the series.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of unrestrictive users? : sas-grid-administration

956


How many data types are there in SAS?

1007


What is the function of Stop statement in a SAS Program?

1093


Explain what is the use of proc gplot?

1126


What is the use of %include statement?

997


what is hash files in sas and why we are using this one in sas?

2159


What are common programming errors committed in sas

1100


why is a stop statement needed for the point=option on a set statement? : Sas programming

1041


What is factor analysis?

1079


How to create a permanent sas data set?

1140


What is the good sas programming practices for processing large data sets?

1058


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1080


what is the primary data source for the wrs? : Sas-bi

1138


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

944


name several ways to achieve efficiency in your program? : Sas programming

987