HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> CovarianceMatrix function error
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1239650293

Message started by Danny on Apr 13th, 2009 at 12:18pm

Title: CovarianceMatrix function error
Post by Danny on Apr 13th, 2009 at 12:18pm
From ErrorEstimates.bf with the command

CovarianceMatrix (cmx, theLnLik);

I'm getting the error:

Error:LUDecompose doesn't work on singular matrices (row 33)
Call stack
1 : Calculate the Covariance Matrix storing into, cmx, the following likelihood function:theLnLik ;

I get the same error with the MPI, MP and SP versions of the svn downloaded around March 3, 2009.

I reduced the number of taxa from around 80 to around 25 and I didn't get the error.  I'm guessing there is a branch that has an omega at a high or low extreme with zero variance and covariance?

Title: Re: CovarianceMatrix function error
Post by Sergei on Apr 13th, 2009 at 1:07pm
Dear Danny,

Yeah, sounds like the numerical Hessian is singular.
Try using the profile likelihood approach.

Cheers,
Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.