Sum of Squared deviations from the mean and sum of Absolute Deviations from the median
Sum of Squared deviations from the mean and sum of Absolute Deviations from the median
Functions to compute Sum of Squared deviations from the mean and sum of Absolute Deviations from the median. ssNa removes missing values (NAs) before calling the ss function.
UTF-8
ss(x)ssNa(x)ad(x)
Arguments
x: A numeric vector.
Returns
Sum of Squared deviations from the mean or sum of Absolute Deviations from the median.