[R] how to find the minimum

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Tue Apr 29 10:46:32 CEST 2008

>      I am a new R user, and not very good at statistics and maths
>      I find it difficult to find the minimum of this item:
>      ((p*(b-1)-1)*(p+1)^(b-1)+1)/p^2
>     It seems that the method optim can find the minimum. I tried several
> times , but R constanly tells that " failure to find b or p"
>     Would you please give some suggestions?

Put down your copy of R, and step away from the computer!  This is a 
reasonably straightforward calculus problem, and you'll likely get more 
insight solving it with pen and paper  ...and if you can't differentiate, 
then now is as good a time to learn as any!


Mathematical Sciences Unit


This message contains privileged and confidential inform...{{dropped:20}}

More information about the R-help mailing list