9. Maximum likelihood estimation