LinEst using arrays
Hi,
I am trying to get the following to work,
varr = Application.LinEst(ArrayY, Application.Power( _
ArrayX, Array(1, 2)), True, 0)
but I get a type mismatch error.
The arrays are dimensioned as Variant and both redimensioned with:
ReDim ArrayX(1 To NoofVals)
Also, can I assign the regression coeffficient,R2, to a variable using
something similar to the above?
Many thanks,
Rod
|