Re: [R] Newton-Raphson with analytical derivatives

2006-03-03 Thread François Pinard
[m p] >Can someone point to a package with Newton-Raphson method using >analytic derivatives. This is just for a 1D problem. Could not find >easily anything suitable. You may check: http://pinard.progiciels-bpi.ca/plaisirs/animations/NRart/R/nr.image.R If you remove the graphics-related lin

[R] Newton-Raphson with analytical derivatives

2006-03-03 Thread m p
Hello, Can someone point to a package with Newton-Raphson method using analytic derivatives. This is just for a 1D problem. Could not find easily anything suitable. Thakns, Mark __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listin

Re: [R] Newton-Raphson algorithm

2006-02-08 Thread Prof Brian Ripley
To maximize a function numerically it not usual do not solve equations: it is less efficient. help.search("optimize") will show you what is available for maximization. Or see chapter 16 of MASS4. On Wed, 8 Feb 2006, Frank Johannes wrote: > Hi, > I want to maximize a liklihood function with mu

[R] Newton-Raphson algorithm

2006-02-08 Thread Frank Johannes
Hi, I want to maximize a liklihood function with multiple parameters. There is no closed-form analytical solution to the estimates of the parameters, and I would like to implement a Newton-Raphson iterrative approach. Is there a maximization procedure, such as the Newton-Raphson algorithm, availabl

Re: [R] newton-raphson

2005-11-30 Thread Martin Maechler
> "dlavecchia" == dlavecchia <[EMAIL PROTECTED]> > on Wed, 30 Nov 2005 17:08:47 +0100 writes: dlavecchia> I have to solve a score function by using dlavecchia> Newton-Raphson algorithm. Is there such a dlavecchia> fucntion in R? I have built this algoritm dlavecchia>

[R] newton-raphson

2005-11-30 Thread dlavecchia
Hi everybody, I have to solve a score function by using Newton-Raphson algorithm. Is there such a fucntion in R? I have built this algoritm newton<-function(tgt,drva,th0,err) { iter=0 repeat {iter = iter+1 th1=th0-tgt(th0)/drva(th0) if (abs(th0-th1)http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/

Re: [R] Newton-Raphson

2005-11-21 Thread Spencer Graves
I just got 37 hits from 'RSiteSearch("solve nonlinear equation")', many of which seem relevant to your question. If none of these seem to answer your question, submit another question. (Before you submit another question, however, I suggest you read the posting guide! "www.R-project.org

[R] Newton-Raphson

2005-11-16 Thread Zhu, Chao \(UMC-Student\)
Dear all, I want to solve a score function by using Newton-Raphson algorithm. Is there such a fucntion in R? I know there's one called optim, but it seems only doing minimizing or maximizing. Thanks, Jimmy __ R-help@stat.math.ethz.ch mailing lis