Im am trying to implement an Autoregression model and estimating the parameters.
The code I have so far, reading the data and calculating the error term does work perfect! But the whole problem is when I want to minimize my error term by changing the parameters.....
Im more used to programming in oxmetrics and Matlab so I really could use some help with knowing how to optimize my parameters!!!
Im not looking for the answers but a few clues or hints would really be great!