Applying a logistic regression to two vectors

조회 수: 1 (최근 30일)
Joaquim
Joaquim 2017년 3월 8일
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