Orthogonal Distance Regression plot and regression equation

12 visualizzazioni (ultimi 30 giorni)
I have a dataset, attached herewith for your reference.
I want to plot the orthogonal distance regression line and get y=mx+c equation in the plot.
Thank you!

Risposta accettata

KSSV il 15 Lug 2019
  5 Commenti
KSSV il 15 Lug 2019
YOu use both...calculate the error....which ever gives you less error proceed with that.
MatLab Code N
MatLab Code N il 15 Lug 2019
What do you mean by that? Shouldn't there be a standard way of calulating the Orthogonal Distance Regression?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by