A
adam_6242
Hello all:
Here is my setup. I have filled n x 3 matrix with values. I would like to
regress columns 1 and 2 of the matrix, individually, against column 3 using
the Slope application. However, I cannot access the columns correctly to
place as the Slope arguments. A sample of my code is below. Suggestions to
my problem are greatly appreciated. Thanks.
For i = 1 To 2
Value(i) = Application.WorksheetFunction.Slope(Matrix.Application.Columns
(i),
Matrix.Application.Columns(3))
MsgBox ("Value " & Value(i))
Next i
Here is my setup. I have filled n x 3 matrix with values. I would like to
regress columns 1 and 2 of the matrix, individually, against column 3 using
the Slope application. However, I cannot access the columns correctly to
place as the Slope arguments. A sample of my code is below. Suggestions to
my problem are greatly appreciated. Thanks.
For i = 1 To 2
Value(i) = Application.WorksheetFunction.Slope(Matrix.Application.Columns
(i),
Matrix.Application.Columns(3))
MsgBox ("Value " & Value(i))
Next i