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 hash files in sas and why we are using this one in sas?

2217


What is the difference between %local and %global? : sas-macro

1190


What is maximum number of rows and cols can be handled in SAS?

1591


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1102


what is data governance? : Sas-di

1025


What is the difference between INPUT and INFILE ?

1326


where to use sas business intelligence? : Sas-bi

1093


Compare sas with other data analytics tools.

1035


Explain the difference between informat and format with an example.

1173


In sas, what are the areas that you are most interested in? : sas-grid-administration

1074


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1881


What are the advantages of using sas?

1147


Enlist the syntax rules followed in sas statements.

1088


Hi, If anyone has base SAS certification dumps, please share.

1868


Given an unsorted data set, how to read the last observation to a new data set?

1356