I don't think we should really spend time checking arguments here - like the rest of simple-statistics, using incorrect argument types may lead to misbehavior, but it isn't the responsibility of ss to enforce types.