WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS
FUNCTION?
Answers were Sorted based on User's Feedback
Answer / zyin2
Lag() function returns the value of the first previous
observation in a time series. It could be used in Auto
Regression analysis for time series.
For example, Let y be the cloumn name for the original time
series, the analysis for AR(2) could be:
data test;
set test;
m = lag(y);
n = lag(m);
run;
proc reg data = test;
model y = m n;
run;
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / sai
Lag function can be used if you want to perform
computations across the observations.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you read in the variables that you need?
What is the registered Key word is sas????
What are TEAEs
2 Answers Accenture, Quintiles,
SAS System ?
What type of tables you are using in YOUR reporting..???
2 Answers GSK GlaxoSmithKline,
how will you location sas platform applications available from web browser? : Sas-bi
What are pdv and it functions?
tell me about intnx, intcx functions?
HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?
How do dates work in SAS data?
what versions of sas have you used (on which platforms)? : Sas programming
How would you remove a format that has been permanently associated with a variable? ________________