public static function medMad(array $values) : array
    {
        $median = self::median($values);

        return [$median, self::mad($values, $median)];
    }
public static function medMad(array $values) : array
    {
        $median = self::median($values);

        return [$median, self::mad($values, $median)];
    }
public static function medMad ( array $ values ) : array { $ median = self :: median ( $ values ) ; return [ $ median , self :: mad ( $ values , $ median ) ] ; }
Compute the population median and median absolute deviation and return
them in a 2-tuple.

@param array $values
@return array
Compute the population median and median absolute deviation and return them in a 2 - tuple .