Optim Weights in Optimal Policy Rules
Posted: Thu Sep 17, 2015 5:06 pm
Hi I want to know how can I optimize the weight of lambda because I use:
but I have to put the value of lambda1 above and the results changes everytime I change the value of lambda1.
Is there a way to make the program find the value of lambda1 that minimizes the loss function??
Thanks
- Code: Select all
optim_weights;
y 1;
p lambda1;
end;
but I have to put the value of lambda1 above and the results changes everytime I change the value of lambda1.
Is there a way to make the program find the value of lambda1 that minimizes the loss function??
Thanks