rbelhach95 wrote:Dear Tom,
Thank you so much for your reply. My question was not about how not exclude the vector of coefficients when convergence is not attained, but rather, whether the code could be executed again with a different set of piters or increasing the subiters limit e.g. until convergence is obtained. Your help is very much appreciated
Rachid
report(row = new, atcol = 1) mux muT sigmax1 sigmaT1 sigmaTx1 sigmax2 sigmaT2 sigmaTx2
if %converged == 1
com mux_hat(k) = mux, muT_hat(k) = muT
com sigmax1_hat(k) = sigmax1, sigmaT1_hat(k) = sigmaT1
com sigmax2_hat(k) = sigmaTx1, sigmaT2_hat(k) = sigmax2
com sigmaTx1_hat(k) = sigmaT2, sigmaTx2_hat(k) = sigmaTx2
report(row=current, atcol=1, align=decimal) mux_hat(i)
report(row=current, atcol=2, align = decimal) muT_hat(i)
report(row = current, atcol=3, align = decimal) sigmax1_hat(i)
report(row = current, atcol=4, align = decimal) sigmaT1_hat(i)
report(row= current, atcol=5, align = decimal) sigmaTx1_hat(i)
report(row = current, atcol=6, align = decimal) sigmax2_hat(i)
report(row = current, atcol=7, align = decimal) sigmaT2_hat(i)
report(row = current, atcol=8, align = decimal) sigmaTx2_hat(i)Return to General Econometrics
Users browsing this forum: No registered users and 2 guests