MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

linear regression

  • To: mathgroup at
  • To: mathgroup at
  • Subject: [mg1626] linear regression
  • From: deb at (David E. Burmaster)
  • Date: Fri, 7 Jul 1995 00:23:04 -0400

Dear MathGroupers

I have 20 pairs of data {xi, yi} for i = 1, 2, ...., 20
and I want to fit a straight line using ordinary least-squares.

I want to use the package Statistics`LinearRegression` to fit a model of
this form:

        y = a x + b, with x as the indep variable and y as the dep variable

The package reports the best fit for the coefficients with estiamtes of
their standard errors... so far so good...

Now for the question: Since the estimates for the two coefficients are
correlated, is there an easy way to get the correlation of ahat and bhat??

Or to draw the tilted ellipse of contours of their joint probability

Thank you for your help!

and Happy Fourth!

David E. Burmaster
Alceon Corporation
Cambridge, MA

  • Prev by Date: Comparison of MMA on Various Machines
  • Next by Date: Re: Q: Random[]
  • Previous by thread: Comparison of MMA on Various Machines
  • Next by thread: Re: linear regression