Statistics and Logic on Vectors