Martingale Methods in Statistics