Home   >   User Resources   >   Online Help   >   apaImputation.Interpolate.Linear
 

 

Function index Version 3.0.0

apaImputation.Interpolate.Linear(DataMatrix, MaxGapSize)

Excel=apaImputation.Interpolate.Linear(DataMatrix, MaxGapSize)

Result

Handles missing observations by linear interpolation between the last and the next existing observations. Missing first and last observations are ignored, and gaps larger than MaxGapSize are not interpolated.

Syntax

DataMatrix: data matrix; missing elements must be non-numerical

MaxGapSize: maximum number of missing observations to interpolate