dssg / after-hours

2 stars 3 forks source link

Format student data into include lags of time-varying variables #26

Open nsmader opened 11 years ago

nsmader commented 11 years ago

Currently, the data is in student-by-year-level records. One helpful alternate format for some analysis is to reshape the data to include fields that represent time-lagged values of other columns. For example, if the data has fields StudentID | SchYear | MathScore | ReadScore, then create variables MathScore_Lag1 | ReadScore_Lag1 which represent lagged values from the previous SchYear.

This is distinct from issue #25 in that these are still student-by-year records.