© February 7, 2021, Christopher D. Carroll Habits

Consumption Models with Habit Formation

1 The Problem

Consider a consumer whose goal at date t  is to solve the problem1

      T− t
      ∑     n
max       β  u(ct+n, ht+n )
      n=0
(1)

where ht+n  is the habit stock, and all other variables are as usually defined. The DBC is

mt+1  =  (mt  − ct)R  + yt+1.
(2)

However, when habits affect utility we must also specify a process that describes how habits evolve over time. Our assumption will be:

h     =  c.
  t+1      t
(3)

Bellman’s equation for this problem is therefore

v  (m  ,h ) =  max    u (c ,h ) +  βv    ((m   − c )R  + y    ,c ).
  t   t   t     {ct}       t  t        t+1     t     t       t+1   t
(4)

To clarify the workings of the Envelope theorem in the case with two state variables, let’s define a function

vt(mt, ht, ct) =  u(ct,ht ) + βvt+1 ((mt  −  ct)R +  yt+1, ct)
(5)

and define the function c (m  ,h  )
 t   t   t  as the choice of c
 t  that solves the maximization (4), so that we have

v  (m  ,h ) =  v-(m  , h ,c (m   ,h )).
  t   t   t      t   t  t   t   t  t
(6)

1.1 Optimality Conditions

1.1.1 The First Order Condition

The first order condition for (4) with respect to c
 t  is (dropping arguments for brevity and denoting the derivative of f  with respect to x  at time t  as f x
  t  ):

      c      ( h         m  )
0 =  ut +  β  vt+1 −  Rv t+1
(7)

or, equivalently,

 c      (   m       h  )
ut =  β  Rv t+1 −  vt+1  .
(8)

The intuition is as follows. Note first that if utility is not affected by habits, then vh    = 0
  t+1  and equation (8) reduces to the usual first order condition for consumption, which tells us that increasing consumption by 𝜖  today and reducing it by R 𝜖  in the next period must not change expected discounted utility. With habits, an increase in consumption today has a consequence beyond its effect on tomorrow’s resources m
  t+1   : tomorrow’s habit stock will be changed as well. An increase in consumption today of size 𝜖  increases the size of the habit stock which tomorrow’s consumption is compared to, and therefore reduces tomorrow’s utility by an amount corresponding to the marginal utility of higher habits tomorrow vh
 t+1   . Since vh
 t+1   is negative (higher habits make utility lower), this tells us that the RHS of equation (8) will be a larger positive number than it would be without habits. This means that the level of ct  that satisfies the first order condition will be a lower number (higher marginal utility) than before. Hence, habits increase the willingness to delay spending, and increase the saving rate.

Note that the first order condition also implies that

dvt-
 dc  =  0
   t
(9)

when evaluated at ct = ct (mt, ht)  .

1.1.2 Envelope Conditions

Now consider the total derivative of vt(mt, ht, ct(mt, ht ))  with respect to mt  . (To reduce clutter, I will write dct(mt,  ht)∕dmt  as dct∕dmt  ). The chain rule tells us that

                   ◜=◞0◟ ◝        (                                   )
dv--     dct        dht             dct
---t-=  -----uct + -----uht + β   ( -----)(vht+1 −  Rvmt+1 ) + Rvmt+1
dmt     dmt        dmt              dmt
        (      )              (               )
     =    -dct-      (uc +  β   vh   −  Rvm    )    + βRvm
          dmt        ◟ -t--------t+◝1◜-------t+1--◞           t+1
                  =0  at c  =  c (m  ,h ) from   (7)
                          t     t   t   t
(10)

so we have that

 m     dvt--
vt  =       |ct=ct(mt,ht)
       dmt
    =  βRvmt+1.
(11)

The Envelope theorem is the shortcut way to obtain this conclusion. The clearest way to use the theorem is by taking the partial derivatives of the vt  function with respect to each of its three arguments, using the Chain Rule to take into account the possible dependency of h
  t  and c
 t  on mt  :

vt(mt, ht ) = vt(mt,  ht,ct(mt,  ht))

       vm  =  -∂vt- +  ∂vt- ∂ht--+  ∂vt- -∂ct- +  ∂vt-∂ct- ∂ht--
         t    ∂mt      ∂ht  ∂mt     ∂ct  ∂mt      ∂ct ∂ht  ∂mt
                           ◟ ◝◜◞    ◟◝◜◞                   ◟◝◜◞
                             =0      =0                     =0
(12)

where the Envelope theorem is what tells you that the ∂vt-∕∂ct  term is equal to zero because you are evaluating the function at c =  c (m   ,h )
 t     t   t  t  (and ∂ht ∕∂mt  is zero by the assumed structure of the problem in which ht  is predetermined).

Now writing out ∂vt-∕∂mt  , (12) becomes

 m     -∂---
vt =        [βvt+1 ((mt  −  ct)R +  yt+1,ht+1 )]
       ∂mt
(13)

which the envelope theorem says is equivalent to

 m          m
vt  =  βRv  t+1.
(14)

There is a potentially confusing thing about doing it this way, however: when you reach an expression like (13) it is tempting to think to yourself as follows: ct  is a function of mt  , and ht+1  =  ct  is also indirectly a function of mt  , so the chain rule tells me that when I take the derivative in (13) I need to keep track of these.” In fact, you must treat ∂ct ∕∂mt  and ∂ht+1 ∕ ∂mt  as zero here. The reason is that this is a partial derivative with respect to m
  t  . The dependence of ct  (and indirectly ht+1   ) on mt  has already been taken care of in the two terms in (12) that were equal to zero. The confusion here is caused largely by the fact that partial differentiation is an area where standard mathematical notation is basically confusing and poorly chosen.2

The shortest way to obtain the end result is, as in the single variable problem, to start with Bellman’s equation and take the partial derivative with respect to mt  directly (treating the problem as though ct  were a constant):

 v  (m  ,h ) =  u (c ,h ) + βv     ((m   − c )R  + y    ,h    )
   t   t   t        t  t       t+1     t    t        t+1    t+1
vm  (mt, ht) =  βRvm    (mt+1,  ht+1 ).
  t                  t+1
(15)

Whichever way you do it, substituting (14) into the FOC equation (8) gives

vm  =  uc + βvh    .
 t      t       t+1
(16)

The intuition for this is as follows. The marginal value of wealth must be equal to the marginal value associated with a tiny bit more consumption. In the presence of habits, the extra consumption yields extra utility today uc
  t  but affects value next period by  h
vt+1   (which is a negative number), the discounted consequence of which from today’s perspective is the βvh
   t+1   term.

In a problem with two state variables, the Envelope theorem can be applied to each state (and indeed in general must be applied in order to solve the model).

Again let’s start the brute force way by working through the total derivative of v-
  t  . For this problem, the total derivative (again denoting dc (m  , h )∕dh
  t    t  t     t  as dct ∕dht  ) is:

                          (                            )
-dvt    dct-  c    h        dht+1-- h      dmt+1--  m
dh   =  dh  u t + ut +  β     dh   vt+1 +   dh    vt+1
   t       t              (     t              t               )
        dct   c    h        dht+1  dct  h      dmt+1   dct  m
     =  ----u t + ut +  β   -----------vt+1 +  -----------v t+1
        dht                   dct  dht           dct  dht
              dct      (                        )
     =  uht + ----      uct +  β(vht+1  − Rvmt+1 )
              dht      ◟-----------◝◜-----------◞
                   =0  at ct =  ct(mt, ht) from   (7)
(17)

so we have

vh =  dvt-|
 t    dht  ct=ct(mt,ht)
       h
   =  ut .
(18)

Turning now to more direct use of the envelope theorem, the Chain Rule tells us

             =0
            ◜◞◟|◝
 h    -∂vt- ∂mt--   ∂vt-   ∂vt- ∂ct-
vt =  ∂m    ∂h   +  ∂h  +  ∂c   ∂h
          t    t       t      t    t

while the Envelope theorem once again says ∂vt-∕∂ct =  0  at ct =  ct(mt, ht )  so we obtain

vh  =  ∂vt-
  t    ∂ht
        h
    =  ut
(19)

since h
 t  appears directly only in the u(c ,h  )
   t   t  part of v (m  ,h  ,c )
-t   t   t  t  . And once again, the shortest way to the answer is to treat ct  as though it were a constant in the value function, which yields

 v (m  ,h  ) = u (c ,h ) +  βv    ((m   − c )R  + y    ,c )
  t   t   t        t  t        t+1     t     t       t+1   t
vh (m  ,h  ) = uh .
  t   t   t      t
(20)

From (16) this implies that

 m      c       h
vt  =  ut + βu  t+1.
(21)

Roll this equation forward one period and substitute into equation (14) to obtain:

                   [               ]
uc + βuh    =  R β  uc    + βuh
 t      t+1           t+1       t+2
(22)

Note that if   h       h
u t+1 =  ut+2 =  0  so that habits have no effect on utility, (22) again is solved by the standard time-separable Euler equation.

Now assume that the utility function takes the specific form

u(c, h) =  f(c − αh  )
(23)

which implies derivatives of

  c     ′
 u  =  f
  h         ′
u   =  − αf .
(24)

Substituting these into equation (22) we obtain,

f′−  αβf ′   =  R β[f′   −  αβf ′  ]
t        t+1         t+1        t+2
(25)

Now assume that there is a solution in which marginal utility of consumption grows at a constant rate over time,  ′      ′
ft =  kft+1   and substitute into (25)

   ′                     ′
  ft+1 (k −  αβ ) =  Rβ [ft+2(k −  α β)]
   ′                     ′
kf t+2 (k −  αβ ) =  Rβ [ft+2(k −  α β)]
               k =  Rβ
(26)

so marginal utility grows at rate 1∕R β  . Note that if we assume α =  0  so that habits do not matter, we again obtain the standard result that u ′(ct) =  R βu ′(ct+1 )  .

Now make the final assumption that          1− ρ
f(z) =  z    ∕(1 −  ρ)  , implying of course that f′(z) =  z− ρ  . Equation (26) can be rewritten

                   − ρ
1 =  R β (zt+1∕zt )
(27)

Now expand z    ∕z
  t+1   t

pict

where (29) follows from (28) because ct+1∕ct =  1 +  (ct+1 −  ct)∕ct ≈  1 + Δ  log ct+1   and ct− 1∕ct =  (ct − (ct − ct− 1))∕ct ≈  1 − Δ  log ct  , and (32) follows from (31) because for small η  and 𝜖,(1 +  η)∕ (1 + 𝜖) ≈  1 +  η −  𝜖  .

Substituting (32) into (27) gives

                       (        )
                            1
         1 ≈  R β (1 +   -------   (Δ log ct+1 −  α Δ log ct])− ρ
                         1 −  α
                            (        )
         0 ≈  log [R β ] − ρ   --1----  (Δ  log c    − α Δ  log c )
                              1 −  α            t+1             t
                        − 1
Δ log ct+1 ≈  (1 −  α )ρ   (r − 𝜗 ) + α Δ log ct.

Thus, this formulation of habit formation implies that the growth rate of consumption is serially correlated.

References

   Carroll, Christopher D. (2000): “Solving Consumption Models with Multiplicative Habits,” Economics Letters, 68(1), 67–77, http://econ.jhu.edu/people/ccarroll/HabitsEconLett.pdf.