After a regression I would like to keep regression coefficients in a table like: VarName Coeff. I tried the following code, but it do not store variable names.
Code: Select all
' I initialize an equation and a group
equation eq
group args VI1 VI2 VI3
' I initialize the table
table result
result(1,1) = "Variables"
result(1,2) = "Coeff"
' The regression
eq.ls VD args
' I store coefficients
for !i=1 to args.@count
result(1+!i, 1) = args.@seriesname(!i)
result(1+!i, 2) = c(!i)
next
P.-A.
