Description Usage Arguments Details Value Author(s) References Examples
Calculates CRRA utility from u(Resources, hsize, labour, params )
1 | ufun_Atta_disc(Resources, hsize, labour, params)
|
Resources |
a numeric matrix |
labour |
vector of length |
hsize |
either a scalar or a vector of length |
params |
list of scalar parameters:
|
computes augmented CRRA utility of u(c,l,h,params).
u(c,l,h) = (c * exp(alpha * l) )^1-gamma / (1-gamma) * exp( theta * phi(h) ) + mu * phi(h), phi(h) = 0 if h=0, phi(h) = phival if h=1, phi(h) = 1 if h=2
Computes a quadratic approximation to u() for values of consumption such that c < c*, where c* > 0. Resoures can be a scalar, a vector or a matrix. Utility is computed on all elements. Some care needs to be taken when supplying a matrix of consumption values: the corresponding vector of house sizes needs to be either a scalar (same house size at all cons values) or of length nrow(Resources)
Numeric Matrix of Utility values.
<florian.oswald@gmail.com>
Utility functions in
Low, Meghir, Pistaferri, "Wage Risk and Employment Risk over the Life Cycle", American Economic Review, 2010 and |
Attanasio, Bottazzi, Low, Nesheim, Wakefield, "Modelling the Demand for Housing over the Lifecycle", Review of Economic Dynamics, 2012 |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.