Alejandro and Liam,

You can also try method="REML" which gives much better estimates of sigma^2 
than ML. I think I'll make it the default for continuous characters.

Best,

Emmanuel
-----Original Message-----
From: "Liam J. Revell" <[email protected]>
Sender: [email protected]
Date: Fri, 15 Mar 2013 14:23:20 
To: Alejandro Gonzalez<[email protected]>
Cc: R-phylo Mailing-list<[email protected]>
Subject: Re: [R-sig-phylo] Ancestral state estimates of continuous traits

Hi Alejandro.

That must be a bug in ace(...,method="GLS").

I would also suggest you check out fastAnc in the phytools package. It 
uses ace(...,method="pic") internally to take advantage of the fact that 
the contrasts estimate at the root and the MLE assuming Brownian 
evolution are the same. It re-roots the tree at all internal nodes which 
sounds computationally intensive but is actually much faster than 
getting the MLEs via numerical optimization.

fastAnc also uses equation (6) from Rohlf (2001) to get the correct 95% 
interval on the estimates. My analysis 
(http://blog.phytools.org/2013/02/new-version-of-fastanc-new-build-of.html) 
suggests that the 95% CIs from ace(...,method="ML") are too small. (This 
is probably because they rely on asymptotic properties of likelihood 
that are not satisfied for the relatively small size of most 
phylogenetic datasets.)

All the best, Liam

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

On 3/15/2013 8:18 AM, Alejandro Gonzalez wrote:
> Hello,
>
> I am using ape to obtain ancestral state estimates for continuous
> traits. Two options are available, either maximum likelihood or a GLS
> method. I am comparing the results of both methods and one difference
> between the two puzzles me, I hope someone can enlighten me. Under GLS
> the ancestral state estimate at the root has virtually identical values
> for the point estimate and 95% confidence intervals, here is one
> example: 100 1.7848301 1.78483005 1.7848301 (100 is the root node
> number, then the ancestral state estimate and 95% CIs, respectively).
> However, when I use maximum likelihood for the same ancestral sate
> estimate, with the same data and tree I get the following result for the
> root :  100 1.6570119  0.86612615 2.4478977 (numbers in the same order
> as above).
> Any ideas as to why GLS gives such narrow confidence intervals for the
> ancestral state estimate at the basal node?
>
> Cheers
>
> Alejandro
> __________________________________
>
> Alejandro Gonzalez Voyer
>
> Post-doc
>
> Estaci�n Biol�gica de Do�ana
> Consejo Superior de Investigaciones Cient�ficas (CSIC)
> Av Am�rico Vespucio s/n
> 41092 Sevilla
> Spain
>
> Tel: + 34 - 954 466700, ext 1749
>
> E-mail: [email protected]
>
> Web site (Under construction):
>
> Personal page: http://consevol.org/members/alejandro_combo.html
>
> Group page: http://consevol.org/people.html
>
> For PDF copies of papers see:
>
> http://csic.academia.edu/AlejandroGonzalezVoyer
>
>
>
>          [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-phylo mailing list - [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
> Searchable archive at http://www.mail-archive.com/[email protected]/

_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/
_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/

Reply via email to