Policy function calculation from value function iterations

 

We consider the following three switching models:

 

Model 1:

 

 

 .

 .

 .

where

 

 .

 .

 .

 

 

Model 2:

 

 

 .

 .

 .

where

 

 .

 .

 .

 

 

Model 3:

 

 

 .

 .

 .

where

 

 .

 .

 .

and

 

 .

 .

 .

 

In each model, constant labors are computed in the same way as what we did before

 

in mixed models.

 

Technically, all we have to do is make index vectors for states as in 0812 and set them.