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 the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Why double trailing @@ is used in input statement?
What does P-value signify about the statistical data?
How can sas program be validated?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
what can you learn from the sas log when debugging? : Sas programming
what is null hypothesis? why do you consider that?
how to change the execute of macro
What are the different servers in sas? : sas-grid-administration
What would you change about your job?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Mention what is PROC in SAS?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
What are the uses of sas?
Do you need to know if there are any missing values?