Statistical Methods for Complex Datasets