Applying a logistic regression to two vectors

1 vue (au cours des 30 derniers jours)
Joaquim
Joaquim le 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

Réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by