[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivalent of EXCEL LINEST function?

I believe the IDL function is REGRESS or REGRESSION, I haven't checked
lately though.

Bruce Bowler wrote:

> I'm probably just having a brain cramp but I can't figure out how to do
> something that seems as simple as the EXCEL function LINEST.
> Basically, I have an X vector and a Y vector and I want to find the
> linear "best fit" function, the r^2 of that fit, and the standard errors
> of all the parameters.  (I could do it all by writing my own routines,
> but I'm *SURE* that someone has already done it, you know, steal from
> your friends :-)
> Thanks!
> Bruce