WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS
FUNCTION?
Answer Posted / 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 |
Post New Answer View All Answers
what are the component of range? : Sas-bi
What are the features of base sas system?
what other sas products have you used and consider yourself proficient in using? : Sas programming
do you need to know if there are any missing values? : Sas programming
Can you execute a macro within a macro? Describe. : sas-macro
What is the difference between order and group variable in proc report?
What is the difference between match merge and one to one merge?
Mention the validation tools used in SAS?
What would you change about your job?
explain what is factor analysis? : Sas-administrator
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
explain about various caches available in data integrator? : Sas-di
Have you ever used the SAS Debugger?
What are the new features included in the new version of SAS Programming Language?