apaKnee(DataVector, IsValueOtherwiseIndex)
Excel
=apaKnee(DataVector, IsValueOtherwiseIndex)Result
Finds the knee (or elbow) of a data vector, i.e. the observation with the largest distance to the line between the first and the last observation.
Syntax
DataVector: 1 x n or n x 1 data vector
IsValueOtherwiseIndex: TRUE to return the knee value, FALSE to return its index in the data vector
Algorithm
<blank>
