Re: [R] Fast optimizer

2009-11-01 Thread Ravi Varadhan
des our brief tutorial. Hope this helps, Ravi. Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu -

Re: [R] fast optimizer

2009-10-30 Thread Prof. John C Nash
> Date: Fri, 30 Oct 2009 09:29:06 +0100 > From: Christophe Dutang > Subject: Re: [R] [R-SIG-Finance] Fast optimizer > To: R_help Help > Cc: r-help@r-project.org >> > Ok. I have the following likelihood function. >> > >> > L <- p*dpois(x,a)*dpois(y,b+c)+(1-p)*dpois(x,a+c)*dpois(y,b) >> > >> > whe

Re: [R] Fast optimizer

2009-10-29 Thread Ravi Varadhan
ogy School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu - Original Message - From: R_help Help Date: Thursday, October 29, 2009 9:21 pm Subject: Re: [R] Fast optimizer To: Ravi Varadhan Cc: r-help@r-project.org, r-sig-fina...@stat.math.ethz.ch &

Re: [R] Fast optimizer

2009-10-29 Thread R_help Help
Ok. I have the following likelihood function. L <- p*dpois(x,a)*dpois(y,b+c)+(1-p)*dpois(x,a+c)*dpois(y,b) where I have 100 points of (x,y) and parameters c(a,b,c,p) to estimate. Constraints are: 0 < p < 1 a,b,c > 0 c < a c < b I construct a loglikelihood function out of this. First ignoring th

Re: [R] Fast optimizer

2009-10-29 Thread Bill.Venables
Dear R_Help Help, The critical questions are a) how many parameters do you have b) how pathological is the log-likelihood function c) how good are your initial values and d) how efficiently have you coded your objective function? Of these, the last is most likely the critical one, and the one

Re: [R] Fast optimizer

2009-10-29 Thread Ravi Varadhan
You have hardly given us any information for us to be able to help you. Give us more information on your problem, and, if possible, a minimal, self-contained example of what you are trying to do. Ravi. Ravi Varadhan, Ph.D. A