Skip to main content
1-Visitor
May 25, 2011
Question

Two dimensional linear fit?

  • May 25, 2011
  • 2 replies
  • 1982 views

I would like to do a two-dimensional linear fit. Specifically, I have data set {x1(j),x2(j),y(j)} such that y(j) = a0 + a1*x1(j) + a2*x2(j). I would like to do some kind of fit to extract a0, a1 and a2.


Can this be done with Mathcad?


Thanks!


Bill Edelstein

Johns Hopkins University

Baltimore, MD

2 replies

24-Ruby IV
May 26, 2011

I think/hope you will find the answer in this article:

"Price of an Old Car or The way from Correlation to Regression in Mathcad":

http://twt.mpei.ac.ru/ochkov/car/c_e.html

12-Amethyst
May 26, 2011

Here is one way, attached