[R] factanal doesn't work with singular covariance matrix?

About this list Date view Thread view Subject view Author view Attachment view

From: Agus Salim (Agus.Salim@mep.ki.se)
Date: Sat 12 Jan 2002 - 03:21:04 EST


Message-id: <5.1.0.14.0.20020111170607.00b439a8@mbox.ki.se>

Dear R-users,

I recently used factanal function in mva library to perform factor analysis.
I notice that the function will give an error message that the log likelihood
function is infinite whenever the observed covariance matrix is singular.
This is because the function uses multivariate normal log-likelihood which
involve log determinant of the observed covariance matrix.

But I wonder if the inclusion of log determinant of the observed covariance
matrix is necessary here because it doesn't involve any parameters we
want to estimate, so we can consider it as constant term.

I have tried two objective functions with and without the log determinant term
and they seem to give the same result.

What do you think?

Thanks,
Agus

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:11 EST