Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: glmfit
Date: Wed, 4 Nov 2009 17:44:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <hcseh2$3mr$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257356642 3803 172.30.248.35 (4 Nov 2009 17:44:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 17:44:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2066656
Xref: news.mathworks.com comp.soft-sys.matlab:582465


I am computing the mcfadden r^2 and I have to calculate the log likelihood of a model with only intercept. Now I used the vector of zeros as only regressor but the output of the function is that the matrix is singular to working precision.
While if I perform the regression on an specific regressor the results have not this problem.
How can I do?
thanks
Luca