Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: glmfit
Date: Wed, 4 Nov 2009 18:54:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <hcsika$kc9$1@fred.mathworks.com>
References: <hcs7jq$dnp$1@fred.mathworks.com> <hcs88q$qgf$1@fred.mathworks.com> <hcs9uq$ecf$1@fred.mathworks.com> <hcsevl$2o4$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 1257360842 20873 172.30.248.35 (4 Nov 2009 18:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 18:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2066656
Xref: news.mathworks.com comp.soft-sys.matlab:582485


Yes, I used the way suggusted by peter and the output is the matrix is singular. Can you help?
Luca

"Tom Lane" <tlane@mathworks.com> wrote in message <hcsevl$2o4$1@fred.mathworks.com>...
> > 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.
> ...
> > Peter Perkins <Peter.Perkins@MathRemoveThisWorks.com> wrote in message
> >>    x = zeros(size(y,1),0)
> >>    glmfit(x,[y n],'binomial','link','probit')
> 
> Did you do it the way Peter suggested? He has created not a vector of zeros, 
> but an array with the right number of rows and zero columns.
> 
> -- Tom 
>