logistic regression for a sparse matrix

1 view (last 30 days)
Tiziano
Tiziano on 4 Mar 2013
Hello, I am using the function mnrfit to calculate the logistic regression for a very sparse binary matrix A(n,p). A being very sparse, it is a singular matrix, so the mnrfit output is a vector with each element NaN. How can I calculate the logistic regression for a sparse matrix?
Thank you in advance. Silvia

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!