Text this: Development and implementation of statistical tools to be used in phenomenological analyses in particle physics