File Exchange

image thumbnail

LOGREG

version 1.0.0.0 (83.8 KB) by Marco Cococcioni
This script shows how to perform an univariate logistic regression in Matlab.

1 Download

Updated 29 Dec 2008

View License

This script shows how to perform an univariate logistic regression in Matlab. By using the 'publish to html' funtionality provided by the Matlab Editor, a documented example can be generated.
Such an example is provided in the 'html' subdirectory which is included within the zip file.

Cite As

Marco Cococcioni (2020). LOGREG (https://www.mathworks.com/matlabcentral/fileexchange/22547-logreg), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Dave

Hi, thank you for this code. I have similar data to fit except I need to do some extrapolation. For example, if you consider the example you provide in the html file without data below, say 50 on the x-axis, how would you extrapolate the model to 0 in order to find the fit parameter 'y' ?
thank you

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux