What is LAG function?How is it used? can any one explain
Answer Posted / basha
hai gajari
this is basha from chennai no phones no mails why? what
happened man?
ok lets see answer
lag function returns value from que
ex:-
data gajari;
input chindhi 8. @@;
datalines;
1 2 3 4 5
;
run;
data rao;
set gajari;
chore=lag(chindhi);
run;
output:-
obs chndhi chore
1 1 .
2 2 1
3 3 2
4 4 3
5 5 4
ok bye
take care
basha
TVS F&S
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
what is sas application server? : Sas-di
How would you define the end of a macro? : sas-macro
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
how to do user inputs and command line arguments in sas?
What does the RUN statement do?
Explain proc univariate?
What are the default statistics for means procedure?
What is the SAS data set?
Name few SAS functions?
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
Which command is used to save logs in the external file?
what are some differences between proc summary and proc means? : Sas programming
what is the difference between unique key and primary key? : Sas-di
How many ways to overcome a missing values???
What do you know about sas and what we do? : sas-grid-administration