Hello,
I wrote the following program:
dec vec h1(3)
dec vec h2(3)
nonlin h1 h2
frml exq = 0
do i = 1,3
frml exq = exq + h2(i)/(1+exp(-(h1(i)*libm{i})))
end do i
com h1 = %ran(5)
com h2 = %ran(5)
nlls(frml=exq) libm
## NL1. FRML References More Than 20 Deep. Do You Have a Self-referencing FRML?
where libm is the series. What is the error message related to? Is the frml created through the do loop valid? I know I can just write out the model without using the loop, but I want to know how to loop over the frml command to creat long frmls with many parameters, without writing the model in one line.
