[R] Newton method again

Ravi Varadhan rvaradhan at jhmi.edu
Wed Apr 8 04:41:27 CEST 2009


Hi,

I do not know what your problem is, but it seems like you want to solve a system of non-linear equations.

Look at the function dfsane() in the package "BB".  It doesn't require you to specify jacobians.

require(BB)
?dfsane

Ravi.

____________________________________________________________________

Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University

Ph. (410) 502-2619
email: rvaradhan at jhmi.edu


----- Original Message -----
From: Roslina Zakaria <zroslina at yahoo.com>
Date: Tuesday, April 7, 2009 10:35 pm
Subject: [R] Newton method again
To: Rolf Turner <r.turner at auckland.ac.nz>, R help forum <R-help at r-project.org>


>  Hi Rolf,
>  
>  I would like to extend the problem that I asked you before regarding 
> the newton method using 4 functions with 4 parameters.  My functions 
> involve the modified bessel function of the first kind which I can 
> type them without any problem.
>  The big problem is the Jacobian matrix.
>  I use Maple 11.0 to get the algebraic expression for the Jacobian 
> matrix.  The problem is that the Jacobian matrix is so complicated and 
> it is quite impossible to type the expression as I end up of more than 
> 50 pages for the algebraic form of the Jacobian.  Can you suggest any 
> method to solve the problems?
>  
>  Thank you so much for your attention and help.
>  
>  
>  
>  Roslina.
>  
>  
>  
>  
>  ______________________________________________
>  R-help at r-project.org mailing list
>  
>  PLEASE do read the posting guide 
>  and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list