Orthogonal Distance Regression plot and regression equation

12 visualizzazioni (ultimi 30 giorni)
Hi,
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
KSSV il 15 Lug 2019
  5 Commenti
KSSV
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)

Categorie

Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by