LINT Function (RMV command)

LINT replaces missing values using linear interpolation. The last valid value before the missing value and the first valid value after the missing value are used for the interpolation.

  • The only specification on LINT is a variable or variable list in parentheses.
  • LINT will not replace missing values at the endpoints of variables.

Example

RMV NEWVAR1=LINT(OLDVAR1).
  • This example produces a new variable called NEWVAR1.
  • NEWVAR1 will have the same values as OLDVAR1 but with missing values replaced by linear interpolation.