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


Please Help Members By Posting Answers For Below Questions

what are the component of range? : Sas-bi

617


What are the features of base sas system?

615


what other sas products have you used and consider yourself proficient in using? : Sas programming

688


do you need to know if there are any missing values? : Sas programming

551


Can you execute a macro within a macro? Describe. : sas-macro

677






What is the difference between order and group variable in proc report?

843


What is the difference between match merge and one to one merge?

695


Mention the validation tools used in SAS?

658


What would you change about your job?

1929


explain what is factor analysis? : Sas-administrator

604


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

3066


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

730


explain about various caches available in data integrator? : Sas-di

582


Have you ever used the SAS Debugger?

1210


What are the new features included in the new version of SAS Programming Language?

741