14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

252 Data Tables Chapter 9<br />

Messages for Data Tables<br />

Dif and Lag<br />

JMP has two special operators that are useful for statistical computations, particularly when working with<br />

time series or cumulative data. Lag returns the value of a column n rows before the current row. Dif returns<br />

the difference between the value in the current row and the value n rows previous. The following lines are<br />

equivalent:<br />

dt

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!