Re: [R-sig-phylo] PGLS error

2013-09-16 Thread Liam J. Revell

Hi Ties.

pgls is in the package 'caper' not 'geiger'. You can fit the same models 
using gls in the nlme package using correlation structures from ape. 
It's possible that this implementation might better protect you against 
regions of the likelihood space that are not defined. (Without a 
specific example, though, this is hard to assess.)


- Liam

Liam J. Revell, Assistant Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://blog.phytools.org

On 9/15/2013 10:21 PM, Ties Coomber wrote:

Hello,

I have a question about an error message that occurs sporadically when I
run multiple PGLS models using the pgls function in geiger.
I am performing all possible models on 15 independent variables (~ 30, 000
models).
Whilst I am looping across the models I get the following error message:

Problem with optim:52ERROR: ABNORMAL_TERMINATION_IN_LNSRCH

There is no pattern to when the error occurs. Sometimes a model will run
and sometimes it won't with the same data.
The problem I think is to do with the linear searching of the Maximum
Likelihood. And I have seen people with the same problem, when only using
the optim function. However, I have the added issue of using another
function around optim (geiger::pgls)

Does any one have any suggestions on why this may be happening? And how we
may solve this error?

Thanks,
Ties

[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/



___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/


[R-sig-phylo] PGLS error

2013-09-15 Thread Ties Coomber
Hello,

I have a question about an error message that occurs sporadically when I
run multiple PGLS models using the pgls function in geiger.
I am performing all possible models on 15 independent variables (~ 30, 000
models).
Whilst I am looping across the models I get the following error message:

Problem with optim:52ERROR: ABNORMAL_TERMINATION_IN_LNSRCH

There is no pattern to when the error occurs. Sometimes a model will run
and sometimes it won't with the same data.
The problem I think is to do with the linear searching of the Maximum
Likelihood. And I have seen people with the same problem, when only using
the optim function. However, I have the added issue of using another
function around optim (geiger::pgls)

Does any one have any suggestions on why this may be happening? And how we
may solve this error?

Thanks,
Ties

[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/