[R] Profile on optim/nlm

Ben Bolker ben at zoo.ufl.edu
Thu Jan 23 14:49:03 CET 2003

  I have some code to do this; I keep meaning to clean it up and put it 
on CRAN, but it's fairly hard work to do it right.  I also thought I heard 
a rumor that there would be something like that in MASS4.  There should be 
a version on http://www.zoo.ufl.edu/bolker/R (subdirectories src and 
windows), let me know how it goes for you ...


On Thu, 23 Jan 2003, Steve Roberts wrote:

> Greetings,
> Before I reinvent the wheel has anyone done a profile function for a 
> fit using optim (or nlm)?  (like the buggy profile.ms in S+) . It 
> seems a bit tricky as the function to be minimised has to have 
> arguments corresponding to the variables being fitted - which is one 
> less than the function provided to optim()... I guess you can create 
> another function on the fly somehow.
> Cheers,
> Steve.
> Dr Steve Roberts 
> steve.roberts at man.ac.uk
> Biostatistics Group,				
> School of Epidemiology and Health Sciences,	
> 2nd Floor,Stopford Building,			
> University of Manchester.			
> M13 9PT.					
> Tel: 0161 275 5192 FAX: 0161 275 5205
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help

318 Carr Hall                                bolker at zoo.ufl.edu
Zoology Department, University of Florida    http://www.zoo.ufl.edu/bolker
Box 118525                                   (ph)  352-392-5697
Gainesville, FL 32611-8525                   (fax) 352-392-3704

More information about the R-help mailing list