hi everyone,
My program is running a multiple linear regression. The input is a vector "y" and a matrix "x" made for five columns (x1,x2,x3,x4,x5).
The following line is the call of my the multiple linear regression :
ActiveCell.FormulaR1C1 = _
"=LINEST(RC[-8]:R[4]C[-8],RC[-7]:R[4]C[-3],FALSE,FALSE)"
Here is the little trouble: I would like to choose only two columns for my linear regression "x1" and "x3", and not the whole matrix ! I need to skip the second column "x2".
if anyone have a clue, it would be most helpful !!
Thanks !!
My program is running a multiple linear regression. The input is a vector "y" and a matrix "x" made for five columns (x1,x2,x3,x4,x5).
The following line is the call of my the multiple linear regression :
ActiveCell.FormulaR1C1 = _
"=LINEST(RC[-8]:R[4]C[-8],RC[-7]:R[4]C[-3],FALSE,FALSE)"
Here is the little trouble: I would like to choose only two columns for my linear regression "x1" and "x3", and not the whole matrix ! I need to skip the second column "x2".
if anyone have a clue, it would be most helpful !!
Thanks !!