Applying a logistic regression to two vectors

1 visualización (últimos 30 días)
Joaquim
Joaquim el 8 de Mzo. de 2017
Hello everybody, I have 2 vectors, Y and X, being Y dependent on X. I want to make a regression through a logistic curve, in order to obtain the regression model Y=f(X). I want to plot this equation in a scatter plot where Y is in the Y-axis and X in the X-axis. I tried to use glmfit. However when i try to plot it, the axis are for probablility in y-axis and for Y in x-axis.
Can somebody help me?
Joaquim

Respuestas (0)

Categorías

Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by