J
jobxyz
Hi
I am trying to call the excel function linest from VB from an MS-Access
application.
the call
Slope1 =
Excel.WorksheetFunction.Index(Excel.WorksheetFunction.LinEst(y, x),1)
works fine as long as x is a one dimensional array.
But I need to do regression analysis for a multidimensional array (e.g.
I have x1,x2,x3,...,xn independent variables in the regression.)
so when I define x as say
dim x (10,2) as double
I get an error messages
"unable to get the linest property of the worksheet function class"
anyone know how to use linest for a multidimensioanl array ?
Thanks
I am trying to call the excel function linest from VB from an MS-Access
application.
the call
Slope1 =
Excel.WorksheetFunction.Index(Excel.WorksheetFunction.LinEst(y, x),1)
works fine as long as x is a one dimensional array.
But I need to do regression analysis for a multidimensional array (e.g.
I have x1,x2,x3,...,xn independent variables in the regression.)
so when I define x as say
dim x (10,2) as double
I get an error messages
"unable to get the linest property of the worksheet function class"
anyone know how to use linest for a multidimensioanl array ?
Thanks