Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Same data and model, different result (Read 2826 times)
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Same data and model, different result
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);
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Same data and model, different result
Reply #1 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
jxn
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Re: Same data and model, different result
Reply #2 - 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
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Same data and model, different result
Reply #3 - Apr 19th, 2007 at 11:42pm
 
Dear jxn,

Please take a look at the Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login (second part) and the files in Examples/SimpleAnalyses - especially REVshared.bf; you will find exactly what you want to know in that example.

Cheers,
Sergei

P.S. If all you are doing is fitting standard models, you may be better off using one of the standard analyses or the interface module. This is also described in the link I give above.
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged