HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Same data and model, different result http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1176996724 Message started by jxn on Apr 19th, 2007 at 8:32am |
Title: Same data and model, different result Post by jxn on Apr 19th, 2007 at 8:32am
Hi,
I worked on HyPhy and PAUP with same data, tree topology, and model (GTR). They gave very closed branch length for the tree but very different Log likelihood(-3594 from Hyphy, -3815 from PAUP). Any reasons for this different result? Thanks. my HyPhy code: DataSet myData = ReadDataFile Hominoid.txt"); DataSetFilter myFilter = CreateFilter (myData,1); HarvestFrequencies (obsFreqs, myFilter, 1, 1, 1); REVRateMatrix = [*,a,b,c}{a,*,d,e}{b,d,*,f}{c,e,f,*]; Model REV = (REVRateMatrix, obsFreqs); Tree myTree = ((((((Ch,Bo),Gr),Hm),Or),Gb),Mc); LikelihoodFunction theLikFun = (myFilter, myTree, obsFreqs); Optimize (paramValues, theLikFun); fprintf (out.txt, theLikFun); |
Title: Re: Same data and model, different result Post by Sergei on Apr 19th, 2007 at 2:38pm
Dear jxn,
The difference is that you have fitted 6 parameters PER BRANCH in HyPhy - i.e. a separate GTR for every single branch. PAUP assumes that those rate parameters are shared for the entire tree. Take a look at the LocalVsGlobal.bf file in Examples. Cheers, Sergei |
Title: Re: Same data and model, different result Post by jxn on Apr 19th, 2007 at 6:59pm
Dear Sergei ,
Thank you for your reply. How can i make a global analysis on GTR model? Is V always 2?should i put V into the RateMatrix? global V=2.0 REVRateMatrix = [*,av,bv,cv}{av,*,dv,ev}{bv,dv,*,fv}{cv,ev,fv,*]; Thanks. jxn |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |