Contributions to the study of some topics in mathematical statistics: Sequence of independent random variables distribution of quadratic forms and tests of hypothesis