Sum of Squared deviations from the mean and sum of Absolute Deviations from the median

Share:

Description

Functions to compute Sum of Squared deviations from the mean and sum of Absolute Deviations from the median

Usage

1
2
ss(x)
ad(x)

Arguments

x

A numeric vector.

Value

Sum of Squared deviations from the mean or sum of Absolute Deviations from the median

Author(s)

Aleš Žiberna