Switch function to determine which type of statistics is to be run.
Takes in all allowed characters describing the needed type of test and converts it into standard terms to reduce the complexity of conditional statements.
Character describing the needed type of statistics (e.g.,
"robust", `"bayes"``, etc.).