Statistical Methods for Complex Data: Hospital Evaluation and Causal Inference