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


Please Help Members By Posting Answers For Below Questions

Explain why double trailing @@ is used in input statement?

579


How to create a permanent sas data set?

686


Give an example where SAS fails to convert character value to numeric value automatically?

614


Explain how merging helps to combine data sets.

620


How long can a macro variable be? A token? : sas-macro

727






how the sas basic syntax style described? : Sas-administrator

610


Which are the statements whose placement in the data step is critical?

768


What are the limitations for memory allocation for SAS variables

941


Differentiate between format and informat? : sas-grid-administration

589


Explain what is the use of proc gplot?

715


what is sas and what are the functions? : Sas-administrator

548


What are the ways to do a “table lookup” in sas?

599


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

679


What is interleaving in SAS?

685


Differentiate between proc means and proc summary.

612