Applying a logistic regression to two vectors

1 visualizzazione (ultimi 30 giorni)
Joaquim
Joaquim il 8 Mar 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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by