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 |
What is connection profile? : sas-grid-administration
How necessary is it to be creative in your work?
Describe the ways in which you can create macro variables? : sas-macro
What are the rows present in protocol Violation table?
2 Answers Accenture, Quintiles,
Why is a STOP statement needed for the point=option on a SET statement?
how to import XTP files into SAS datasets?
1 Answers Barclays, Institute For Plasma Research,
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set?
Mention what is SAS data set?
How does Mr.Lanka Srinivas teach SAS? Are his accomplishments real? What are the future prospects for SAS?
what is ae onset date n what is RDS
What are the automatic variables for macro? : sas-macro
what is sas metadata server? : Sas-di