SPSS LAG Function – What and Why?
In SPSS, LAG is a function that returns the value of a previous case. It’s mostly used on data with multiple rows of data per respondent. Here it comes in handy for calculating cumulative sums or counts. SPSS Lag Function SPSS LAG – Basic Example 1 The most basic way to use LAG is COMPUTE V1 = LAG(V2). This […]
