[ Search |  Up Level |  Project home |  Index |  Class hierarchy ]

 WStarA.ox

Demonstrate and test reservation wage models.

This is the base model with no heterogeneity, jobs last forever. $$U = \left(\matrix{ \eta \cr PDV(z)}\right).$$ \(z\sim N(0,1).\)

 WStarA

Base class for reservation wage tests and demonstrations.
Public fields
 cg static current group.
 eta static value of search .
 g static heterogeneity group (=0 for base case).
 m static market status (searching or done).
 ps static \(1-\Phi(z^\star)\).
 RV static Reservation Value solution object.
Public methods
 Build static Create \(m\) and set \(\delta\) .
 Create static Set up the basic model.
 EUtility Return \(E[U | z \lt z*]\) and \(E[U|z\ge z*]\) and respective probabilities.
 graphit static Graph the values and save to WstarA.pdf.
 Run static Create, solve and graph solution.
 Uz virtual Return vector of utilities at cutoff z.

 WStarA

 Build

static WStarA :: Build ( )
Create \(m\) and set \(\delta\) .

 cg

static decl cg [public]
current group.

 Create

static WStarA :: Create ( )
Set up the basic model.

 eta

static decl eta [public]
value of search .

 EUtility

WStarA :: EUtility ( )
Return \(E[U | z \lt z*]\) and \(E[U|z\ge z*]\) and respective probabilities. Use Mill's ratio to compute truncated mean of normal.
Returns:
Array of two vectors, 2x1 and 1x2:
{ EU0 | EU1 , F(z*) ~ 1-F(z*) }

 g

static decl g [public]
heterogeneity group (=0 for base case).

 graphit

static WStarA :: graphit ( )
Graph the values and save to WstarA.pdf.

 m

static decl m [public]
market status (searching or done).

 ps

static decl ps [public]
\(1-\Phi(z^\star)\).

 Run

static WStarA :: Run ( )
Create, solve and graph solution. Called by the menu system.

 RV

static decl RV [public]
Reservation Value solution object.

 Uz

virtual WStarA :: Uz ( z )
Return vector of utilities at cutoff z.