Thread Subject: glmfit

Subject: glmfit

From: Luca Di Simone

Date: 4 Nov, 2009 17:44:02

Message: 1 of 1

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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com