simulating mle and slope methods for estimting power parameter