TomDoan wrote:That you're reading an Excel file as FORMAT=FREE?
If you've posted ten questions about a model for a data set that you haven't even read in yet, then you're doing empirical work backwards.
Dear Tom,
I am truly sorry for posting so many questions here. I know most of my questions are simple and naïve. This is my first time using state space model and Rats program, so everything is new to me. Except the manual book, I have limited access to ask for help as most of my classmates they do not use Rats. You are my last resource for asking for help.
I tried the initial commands; however, they did not work. Based on error message, I made a small change to my commands. Still, the commands did not work. I checked the manual book to see how I can fix the error. Unfortunately, I did not the solution in the book. Therefore, could you please kindly take a look my commands and the error message and let me know where I did wrong?
B
est regards,
Sam
data(format=xls, org=columns) 1954:4 2007:12 EVWRD EEWRD TERM DEFAULT DYIELD DEMOCRATIC
frml(reg,vector=b) lineareg EVWRD
# TERM{1} DEFAULT{1} DYIELD{1}
compute b=%zeros(3,1)
dec frml real a z c sw sv
nonlin b ph1
frml a = 1.0
frml z = constant+ph1*democratic
frml c = 1.0
frml sw = sigsqeps
## SX11. Identifier SIGSQEPS is Not Recognizable. Incorrect Option Field or Parameter Order?
frml sv = ||se^2||
## SX11. Identifier SE is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>>frml sv = ||se^<<<<
dlm(presample=ergodic,a=a,z=z,sw=sw,sv=sv, mu=lineareq, c=c,f=f,y=EVWRD,method=bfgs,type=filter)/ states0