DATA ABC;
INPUT TDATE DATE9. AVG;
CARDS;
18APR2008 150.00
19APR2008 167.00
20APR2008 123.00
21APR2008 145.00
;
RUN
HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF
21APR2008??
IF ANY ONE GETS IT PLS TRY TO POST IT.
Answer Posted / kumaraswamy maduri
If you want only for the above specified dates then answer
3 works and if it is for first and last observations in the
dataset then answer 4 works.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is sas and what are the functions? : Sas-administrator
What is a put statement?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
name several ways to achieve efficiency in your program? : Sas programming
What is the basic syntax style in SAS?
How to test the debugging in sas?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
how can you create zero observation dataset? : Sas programming
Differentiate input and infile.
Given an unsorted data set, how to read the last observation to a new data set?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
What would be the value of month at the end of data step execution and how many observations would be there?
explain about various caches available in data integrator? : Sas-di
List down the reasons for choosing sas over other data analytics tools.
how are numeric and character missing values represented internally? : Sas programming