Code: Select all

`for !k=-7 to 0 step 0.001`

equation equ1.ls y c x*(x<=!k) x*(x>!k) m1 m2 m3

series ssr11(!k)=equ1.@ssr

series kkk(!k)=!k

next

this is a threshold model.i must save SSR and !k for each equation.

but negative index or decimal values are not acceptable as index for !k.

please help me.