[R] How to compare optimized models ?

2012-02-09 Thread Diane Bailleul
Good afternoon everybody, I'm using optimization routines like optimix or nlminb to optimize the parameters of my dispersal curves which are "working" with different kernels : /anlb2002z1b <- nlminb(c(0.5,2), objective=LogLiketot,lower=c(0,0), upper=c(1,200))/ where /LogLiketot/ contains my dis

Re: [R] Parameters setting in functions optimization

2011-11-30 Thread Diane Bailleul
are much better (smaller) than you first (bad) usage. On Wed, Nov 30, 2011 at 4:16 AM, Diane Bailleul wrote: Le 11/30/2011 2:09 AM, Florent D. a écrit : Thanks for your answer ! I also think your last write-up for LogLiketot (using a single argument "par") is the correct approa

Re: [R] Storing the linear model object

2011-11-30 Thread Diane Bailleul
posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Diane Bailleul Doctorante Université Paris-Sud 11 - Faculté des Sciences d'Orsay Unité Ecologie, Systématique et Evolution Département Biodiversité, Systématique et E

Re: [R] Parameters setting in functions optimization

2011-11-30 Thread Diane Bailleul
If the function with par is correct, any idea of what I've made with this : optimx(c(30,50),ms=c(0.4,0.5), fn=LogLiketot) ? On Tue, Nov 29, 2011 at 1:15 PM, Diane Bailleul wrote: Good afternoon everybody, I'm quite new in functions optimization on R and, whereas I've

[R] Parameters setting in functions optimization

2011-11-29 Thread Diane Bailleul
])) : NaNs produced (which are very bad results in that case) Anyone with previous experiences in optimization of several parameters could indicate me the right way to enter the initial parameters in this kind of functions ? Thanks a lot for helping me ! Diane -- Diane Bailleul Doctoran