Re: [R] Tracing gradient during optimization

2009-02-24 Thread Greg Snow
.8111 From: Shimrit Abraham [mailto:shimrit.sabra...@gmail.com] Sent: Tuesday, February 24, 2009 10:29 AM To: Greg Snow Cc: r-help@r-project.org; gmain.20.ph...@xoxy.net Subject: Re: [R] Tracing gradient during optimization Rob Steele suggested the same thing but I'm not sure I understand how to

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Shimrit Abraham
bruary 24, 2009 7:00 AM > > To: r-help@r-project.org > > Subject: [R] Tracing gradient during optimization > > > > Hi everyone, > > > > I am currently using the function optim() to maximize/minimize > > functions and > > I would like to see more output of th

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Greg Snow
Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Shimrit Abraham > Sent: Tuesday, February 24, 2009 7:00 AM > To: r-help@r-project.org > Subject: [R

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Shimrit Abraham
gt; > > > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On > Behalf Of Shimrit Abraham > Sent: Tuesday, February 24, 2009 10:15

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Ravi Varadhan
:15 AM To: Ravi Varadhan Cc: r-help@r-project.org Subject: Re: [R] Tracing gradient during optimization Hi Ravi, Thanks for your great suggestion, it does exactly what I need as it provides more insight into what is going on in the 'black box'. In addition, it's much faster than opti

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Shimrit Abraham
d Health > > Division of Geriatric Medicine and Gerontology > > Johns Hopkins University > > Ph: (410) 502-2619 > > Fax: (410) 614-9625 > > Email: rvarad...@jhmi.edu > > Webpage: http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html > > > > > ------------ &

Re: [R] Tracing gradient during optimization

2009-02-24 Thread Ravi Varadhan
-- -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Shimrit Abraham Sent: Tuesday, February 24, 2009 9:00 AM To: r-help@r-project.org Subject: [R] Tracing gradient during optimization Hi everyone, I am curr

[R] Tracing gradient during optimization

2009-02-24 Thread Shimrit Abraham
Hi everyone, I am currently using the function optim() to maximize/minimize functions and I would like to see more output of the optimization procedure, in particular the numerical gradient of the parameter vector during each iteration. The documentation of optim() describes that the trace paramet