Statistical methods in linguistics