How to Simulate

Dear all,

I am a new user of dynare programme, and I really need your help.

What I would like to do is deriving a interest rule policy from a loss function and indeed simulate its artificial parameters . Lets say thatt the rule as i= a.x +b.y +c.z ,and I have an iinterval for a,b,c separetely. Now, I need to figure out loss function values for each different values in the interval while each time there is a tech. shock.
For each different combinations of parameter values, I need to calculate the loss function and, after all ı need to compare them.

Unfortunately,I dont know how to process,is there any example or notes similiar to this? is this process called ‘‘loop’’?

I really appreciate any of comment,help!

Thank you ,