Applying a logistic regression to two vectors

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by