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 portability of sas programmes?
what are some good sas programming practices for processing very large data sets? : Sas programming
wat has been most common programming mistake?
how to debug and test the sas program? : Sas-administrator
if you have 365 no of data set and each one having different variable from each other. how will you read by creating macros and create a single data set.
where are dashboard components are created and maintained? : Sas-bi
State the difference between INFORMAT and FORMAT ?
In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;
What is the order of application for output data set options, input data set options and SAS statements?
is data integration and etl programming is same? : Sas-di
Does anybody has lastest SAS certification dumps,if anybody has please mail me at akshara_SAS@ymail.com Thanks Akshara
What procedure you used to calculate p-value?
2 Answers Accenture, Quintiles,