#### Abstract

This research studies the optimal consumption, investment, and life insurance choices for a wage earner with habit formation, inflation risk, and mortality risk. The wage earner has access to a risk-free asset, an index bond, and a stock in a financial market. The index bond hedges inflation risk, while life insurance hedges mortality risk. The aim of the wage earner is to maximize the expected utility of consumption, bequest, and terminal wealth, where the utility of consumption comes from the part of the consumption that exceeds a minimum consumption requirement given by the habit level. By using the dynamic programming method, we provide and prove a verification theorem and obtain closed-form expressions for the value function, the optimal life insurance premium rate, and the optimal investment and consumption strategies. Numerical results reveal that habit formation and mortality force change play important roles in the financial behaviors of the wage earner. Especially, the impacts of the expected inflation rate and consumption habit on the optimal strategies are mutual restraint; increasing mortality force raises the demand for life insurance; and the effects of other parameters are also affected by consumption habit and mortality force change.

#### 1. Introduction

The problem of investment and consumption has been widely studied in the last few decades. Samuelson [1] formulates and solves a discrete-time problem, corresponding to lifetime planning of consumption and investment decisions. Merton [2] sets up a continuous-time model of consumption and portfolio choices to maximize the expected utility of consumption and terminal wealth. By incorporating the stochastic hyperbolic preferences into the classical model of Merton [2] with constant relative risk aversion (CRRA), Zou et al. [3] studied finite horizon consumption and portfolio decisions of time-inconsistent individuals. Yang et al. [4] studied the properties of the optimal investment-consumption strategies in a finite horizon robust utility maximization framework with different borrowing and lending rates. By considering random endowments in a possibly incomplete market, Hamaguchi [5] studied a time-inconsistent consumption-investment problem, under general discount functions. Related research can also be found in the studies by Dybvig and Liu [6], Chen et al. [7], Wang and Li [8], Kraft and Weiss [9], and Weiss [10]. However, an investment-consumption problem considering life insurance can be traced back to Richard [11]. Richard proposes a generalized version of the Merton [2] model by incorporating insurance demand, which maximizes the expected utility of bequest and consumption. From this time on, the optimal consumption and portfolio problem involving life insurance has become a canonical problem in the field of mathematical finance and insurance actuary, e.g., Moore and Young [12], Pliska and Ye [13], Kwak and Lim [14], Ye [15], Wei et al. [16], and Zhang et al. [17].

However, the abovementioned works do not consider habit formation of consumption. Habit formation has found empirical support [18]. The introduction of habit formation can resolve empirical facts that seem puzzling under the assumption of a representative agent having time separable power utility. For example, Constantinides [19] and Sundaresan [20] demonstrate that models with habit formation can obtain a high equity premium with low-risk aversion. Munk [21] reveals that the utility associated with the choice of consumption at a given date is likely to depend on past choices of consumption. Li et al. [22] mention that it is not realistic to assume that instantaneous satisfaction depends on only instantaneous consumption and find that the presence of habit formation reduces the insurance coverage in the context of nonlife insurance. Therefore, a more plausible representation of preferences is to allow for habit formation.

In addition to habit formation, mortality risk and inflation risk also play important roles in the family financial asset allocation and consumption decision-making, especially for the families with only one wage earner.

The mortality risk can be hedged by life insurance, a protective tool to ensure enough remaining financial capital for dependentsâ€™ future consumption if the insured dies before retirement; see the seminal papers by Richard [11], Pliska and Ye [13], and Ye [15]. However, the related works usually ignore the influence of mortality force change. Keyfitz and Caswell [23] report that the mortality force may change because of the difference in gender, nationality, or other causes and show that for developed countries, the ratio of male to female mortality ranges from about 1.10 to about 2.80, and the largest ratio is 2-3 times the smallest, based on data. Rabitti and Borgonovo [24] studied the effect of any possible change of the mortality force on the annuity cost. In their model, the change of the mortality force is measured by introducing the constant multiplier.

Similar to the mortality risk, the inflation risk can also be hedged. Usually, one can define the stochastic price level and then introduce index bonds to hedge the inflation risk, e.g., Kwak and Lim [14], Chen et al. [7], and Wang and Li [8]. Meanwhile, Kwak and Lim [14] first considered inflation risk in the consumption-investment problem including life insurance. They show that the changes in the expected inflation rate and volatility of inflation rate can have both positive and negative impacts on the life insurance premium, and effects are considerable. In this sense, one should consider the inflation risk in the model involving life insurance.

In this study, we set up an investment, consumption, and life insurance decision problem for a wage earner subject to mortality risk and inflation risk, considering habit formation and mortality force change. To the best of our knowledge, we are the first to apply habit formation, mortality force change, and inflation risk simultaneously to a consumption-investment problem. This is the first contribution of this study. The second contribution is that we provide and prove a verification theorem and obtain closed-form expressions for the value function and the optimal strategies, by using the dynamic programming method. As the third contribution of this study, we show the influencing factors of the optimal strategy, including consumption habit, mortality force change, inflation risk, the correlation between the index bond price and stock price, income, and the relative risk aversion coefficient. Especially, we obtain the following results: the impacts of the expected inflation rate and consumption habit on the optimal strategies exhibit mutual restriction, e.g., for a given expected inflation rate, a strong (weak) habit limits (raises) the purchase of life insurance, while for a given habit strength, a high (low) expected inflation rate decreases (increases) the purchase of the life insurance; increasing mortality force raises the demand for life insurance; the effects of the other parameters (the expected growth rate of income) are also affected by consumption habit and mortality force change.

The rest of this study is organized as follows. Section 2 presents some necessary assumptions and describes the model. Section 3 obtains the analytical solution of the optimization problem of the wage earner. Section 4 analyzes the impact factors of the optimal strategies. Section 5 concludes the study.

#### 2. The Model

We consider a wage earner who faces financial risk, inflation risk, and habit formulation. We assume that the investment horizon of the wage earner is , where is fixed as retirement time. Trading takes place continuously, and there are no transaction costs or taxes. The uncertainty is represented by a complete probability space that supports Brownian motions , where and are mutually independent and the prime denotes the transposition of a matrix. is the augmentation generated by the nature filtration and satisfies the usual conditions, i.e., is right continuous and P-complete. represents the information available until time . Assume that all the stochastic processes and random variables are well defined and adapted to .

##### 2.1. Financial Market and Life Insurance

Assume the wage earner can invest in an index bond, a risk-free asset, and a stock. In order to describe the inflation risk, we define the stochastic price level (cf. [7, 14, 25]) bywhere is the expected inflation rate, and is the volatility of the inflation rate. The index bond (inflation-linked asset) with a constant rate of real return has the price dynamics:

The risk-free asset has a constant rate of nominal return , and its price follows the ordinary equation:

The stock price has the dynamicswhere the expected return and volatility are the constants, and is the correlation between the index bond price and the stock price. We assume that (cf. [14, 26, 27]).

Assume that the wage earnerâ€™s lifetime is uncertain. Let denote the death time of the wage earner, which is a nonnegative random variable. Also, we assume that is independent of the Brownian motions and and has the probability density function for conditional on .where is the force of mortality (cf. [23, 24]), is a constant, and multiplier characters any possible change of mortality force in gender, nationality, or other causes, follows Gompertzâ€™s law as , where and denote the dispersion coefficient and the modal value of life, respectively.

Assume that the wage earner purchases life insurance to hedge the mortality risk during her/his working period . Specifically, the wage earner pays life insurance premium at rate continuously. If the wage earner dies at time , the beneficiary will receive the insurance benefit , where denotes the deterministic premium insurance ratio. It should be noted that may be negative. In this case, Dybvig and Liu [6] explain that resembles a term version of a life annuity since wealth (the amount is ) in the event of death is traded for a cash inflow while living, and Kwak and Lim [14] think of as a pension annuity.

##### 2.2. The Investment Account Dynamics and Consumption Habit

We assume that the wage earner receives a deterministic stream of income from the nonfinancial market at a rate of during the period , which will be terminated at the death time of the wage earner. Let , where , , and denote the proportions investing in the index bond, the stock, and the risk-free asset, respectively. Let denote the consumption rate for the wage earner. Meanwhile, definewhere and are the premiums of the index bond and the stock, respectively, and the matrix is nonsingular. Then, the wealth process of the wage earner is given by

Next, we assume the wage earner develops consumption habit. Referring to Detemple and Zapatero [28], Munk [21], and Li et al. [22], the habit level is defined asi.e.,where is the initial habit level, is the scaling parameter, is the persistence parameter, and . The habit level represents an endogenously determined subsistence level of consumption.

Given the habit level is at time . If, from time onwards, the wage earnerâ€™s consumption is exactly at the minimum, that is, for ; then, the future habit level is

(11) represents the wage earnerâ€™s minimum consumption level. indicates the habit strength by determining how much the current habit level restricts future decisions. When is small, the habit only declines very slowly even with minimum consumption and therefore limits the wage earner more (cf. [29]).

##### 2.3. Optimization Problem

We call a strategy. A strategy is said to be admissible if , and are adapted to and satisfy , , and , where denotes the Euclidean norm of a vector. Let denote the set of all admissible strategies.

For an arbitrary admissible strategy , the expected discounted utility of the wage earner at time can be expressed aswhere , is the time preference, represents the indicator function, and are the constants with . In addition, is the power utility function that is strictly concave, continuously differentiable, strictly increasing, and satisfies

In (12), the wage earnerâ€™s utility is composed of three components: the utility from , the part of the consumption that exceeds the minimum consumption requirement given by the habit level ; the utility from , the bequest as the wage earnerâ€™s beneficiary in the event of premature death; and the utility from the terminal wealth at retirement time. Hence, represent the weights of the three utility components.

Now, by (5), the law of iterated expectation and some calculations (Appendix A), (12) can be transformed into

Then, the value function is defined aswhere is the set of all admissible strategies over the time interval .

#### 3. Solution of the Optimization Problem

We use the dynamic programming method to solve the wage earnerâ€™s optimization problem. The corresponding Hamiltonâ€“Jacobiâ€“Bellman (HJB) equation for the value function (14) iswith the boundary condition .

For convenience, we assume that wage earner exhibits the power utility function, i.e., , where is the relative risk aversion coefficient. Next, we try to find explicit solutions to the problem. We first construct a solution to HJB (15) and then derive the solution of (14).

Theorem 1. *A solution to HJB equation (15) with the boundary condition is given by*

The candidate optimal consumption and life insurance premium rates are given by

The candidate optimal proportion of wealth invested in the risky assets isthat is, the candidate optimal proportions invested in the index bond and stock are given bywhere and are the wealth process and habit level corresponding to the candidate optimal strategy , respectively, and

*Proof. *See Appendix B.

The following theorem verifies that a solution of the HJB equation (15) is indeed a solution of problem (14).

Theorem 2. *For the optimization problem (14) of the wage earner, if is a solution of HJB equation (15) with the boundary condition , then the value function is , and the optimal strategies are given by (17), (18), (20), and (21).*

*Proof. *See Appendix C.

*Remark 1. *In equations (16)â€“(21), can be regard as the consumption habit buffer, representing the costs of ensuring that consumption exceeds the habit level (cf. [29]), and is known as the human capital, which is the discounted value of the future income stream ([7, 30, 31]) with the discount rate in terms of considering the premium insurance ratio. From (17) and (18), we can see that the consumption habit buffer has a negative contribution to the value function, the optimal consumption, and life insurance premium rates, while the human capital has a positive one. These are the same with intuition.

*Remark 2. *In (24), we assume ([2, 14]). In addition, we observe that has an important role because the value function, the optimal consumption, and life insurance premium rates are affected by inflation risk through .

*Remark 3. *From (20), the proportion of investment in the index bond can be divided into two parts, i.e., and . The first part is proportional to the premium of the index bond and reflects investment demand. Specifically, means more (less) investment in the index bond. The second part includes , exhibits the covariance structure, and reflects diversification demand. means less (more) investment in the index bond due to more (less) diversification demand. Similarly, from (21), we see that means less (more) investment in the stock because of more (less) diversification demand. Meanwhile, if in (21), i.e., the stock is free from the inflation risk, and there are no habit and labor income; then, (21) degenerates to a Merton-type strategy ([2]).

#### 4. Numerical Illustrations

In this section, we present several numerical examples to highlight our findings. We mainly focus on the effects of consumption habit, mortality force change, inflation risk, the correlation between the index bond price and the stock price, income, and the relative risk aversion coefficient on the optimal strategies. For simplicity, we assume , (cf. [14, 16]), ( is the constant initial income level and is the constant expected growth rate of income), and use the expected total available capital, , in place of . Taking expectation on both sides of equation (C.3) in Appendix C, we get

From (10), we can derive (Appendix D)

Based on (28) and (29), we can get and then the expected values of , , , and . Afterward, the terms of the consumption, the life insurance premium, and the amounts invested in the index bond and stock represent their expectations, respectively, i.e., , and . Meanwhile, throughout this section, unless otherwise states, other parameters are assumed as follows (cf. [14â€“16, 22]): .

##### 4.1. Effects of Inflation Risk and Consumption Habit

Figures 1(a) and 1(b) show that increasing the expected inflation rate raises the amounts invested in the index bond and stock; especially, the index bond is more sensitive. Meanwhile, for a given expected inflation rate, increasing habit strength reduces the amounts invested in risk assets, and when the expected inflation rate increases, the role of habit strength is more remarkable. Figure 1(c) shows the following results. (i) For a small expected inflation rate, a weak habit ( is small, seeing the black solid line) means that the consumption decreases over time, while a strong habit ( is high, seeing the black dashed line) means that the consumption increases over time; for a high expected inflation rate, the consumption increases over time, and a strong habit corresponds to rapid consumption growth. (ii) For a given habit strength (given ), the increase of the expected inflation rate reduces the demand for consumption, which means that the individual prefers the high return of the index bond rather than current consumption.

**(a)**

**(b)**

**(c)**

**(d)**

Figure 1(d) shows that for a given expected inflation rate, a strong (weak) habit limits (raises) the purchase of life insurance, while for a given habit strength, a high (low) expected inflation rate decreases (increases) the purchase of the life insurance.

In a word, the above conclusion shows that the impacts of the expected inflation rate and consumption habit on the optimal strategies are not independent, but mutual restraint.

However, from Figure 2, we observe that the volatility of the inflation rate has a little effect on stock investment, consumption, and life insurance purchase, but great influence on the holding for the index bond. This implies that between the consumption habit and the volatility of the inflation rate, the former affects the stock, consumption, and life insurance purchase more. Meanwhile, the impact of inflation rate volatility on the index bond holding is subject to consumption habit. Figure 2(a) shows that a high (low) volatility of the inflation rate means a low (high) holding for the index bond, and for given , habit consumption lowers investment in the index bond.

**(a)**

**(b)**

**(c)**

**(d)**

##### 4.2. The Effects of Inflation Risk and Mortality Force Change

From Figure 3, we can observe that the effects of the expected inflation rate on the optimal strategies are affected by mortality force. Figures 3(a)â€“3(c) show that increasing the mortality force will weaken the impact of the expected inflation rate, but when the expected inflation rate decreases, this trend becomes weak. Figure 3(d) shows that for given , the higher the expected inflation rate, the lower the demand for life insurance. Meanwhile, for a low (high) expected inflation rate, increasing the mortality force will foster (lower) the demand for life insurance.

**(a)**

**(b)**

**(c)**

**(d)**

Figure 4(a) shows that investment in the index bond is mainly affected by the volatility of the inflation rate, and high (low) volatility of the inflation rate will decrease (increase) investment in the index bond as shown in Figure 2(a). For given , increasing mortality force will lower investment in the index bond. However, with the increase of , the effects of mortality force change and on the index bond are all weakened. Figures 4(b) and 4(c) show that the inflation rate volatility and mortality force change have a little effect on consumption and stock holding. However, Figure 4(d) shows that the life insurance purchase is mainly affected by mortality force change, and increasing mortality force will raise the demand for life insurance.

**(a)**

**(b)**

**(c)**

**(d)**

These results imply that in a model involving life insurance and inflation risk, it is necessary to consider mortality force change.

##### 4.3. Effects of Other Parameters

In this subsection, we study the effects of the correlation between the index bond price and the stock price, the wage earnerâ€™s income, and the relative risk aversion coefficient on the optimal strategies. For simplicity but without loss of generality, we focus on the analysis at time .

Figure 5 shows that the effects of the correlation between the index bond price and the stock price on the optimal strategies, under different and . We observe that for given and , when increases, the amount invested in the index bond decreases (Figure 5(a)), the amount invested in the stock first decreases and then increases (Figure 5(b)), the consumption decreases (Figure 5(c)), and the demand for life insurance increases (Figure 5(d)).

**(a)**

**(b)**

**(c)**

**(d)**

Figure 6 shows that the effects of the wage earnerâ€™s income on the optimal strategies, under different and . For given and , the amounts invested in risky assets, the consumption, and the demand for life insurance all increase with the expected growth rate of income. These results are consistent with our intuition.

**(a)**

**(b)**

**(c)**

**(d)**

Figure 7 shows that the effects of the relative risk aversion coefficient on the optimal strategies, under different and . For given and , when the relative risk aversion coefficient increases, the amounts invested in risky assets and the consumption decrease, and the demand for life insurance increases. However, with the increase of , its impacts on the optimal strategies tend to be steady.

**(a)**

**(b)**

**(c)**

**(d)**

From Figures 5â€“7, we notice that the effects of the correlation between the index bond and stock prices, income, and relative risk aversion coefficient on the optimal strategies are also affected by consumption habit and mortality force change. These further show that it is necessary to consider consumption habit and mortality force change in a problem involving the investment-consumption problem and life insurance.

#### 5. Conclusion

In this study, we have constructed an investment, consumption, and life insurance model for a wage earner who considers habit formation, mortality risk, and inflation risk. The wage earner consumes his/her income, invests his/her wealth in a risk-free asset, an index bond, and a stock, and purchases life insurance. The goal is to maximize the expected utility of consumption, bequest, and terminal wealth, where the utility of consumption comes from the part of the consumption that exceeds a minimum consumption requirement given by the habit level. Meanwhile, we consider a possible change of the mortality force in gender, nationality, or other causes. As theoretical results, we provide and prove a verification theorem and obtain the value function and the optimal strategies. As numerical examples, we demonstrate the effects of consumption habit, mortality force change, inflation risk, the correlation between the index bond and stock prices, income, and the relative risk aversion coefficient on the optimal strategies. The results show that consumption habit and mortality force change play important roles in the wage earnerâ€™s financial behaviors, which implies that it is necessary to consider them in a problem involving consumption, investment, and life insurance.

There are some possible extensions of our model. First, our model considers only one wage earner, and in future, we can extend it to comprise two wage earners as reported in Wei et al. [16]. Second, this study assumes that the wage earnerâ€™s income is deterministic, but not stochastic, aiming to obtain a simpler and explicit result, highlighting the roles of habit formation and the mortality force change. In future research, we may consider income risk. Third, one may introduce a hyperbolic discounting factor to capture the time-inconsistent preference of a wage earner. These more realistic considerations would make the model more complex and difficult to solve.

#### Appendix

#### A. The Derivation Process of (13)

By (5) and the law of iterated expectation, we get

From (A.1)â€“(A.3), we can obtain (13).

#### B. Proof of Theorem 1

Suppose that is a solution of HJB equation (15) satisfying , , and , then the first-order optimal conditions are

Substituting (B.1)â€“(B.3) into (15) yields

We guess that a solution of (B.4) has the form

The corresponding partial derivatives of arewhere . Substituting the above derivatives and into (B.4) yieldswhere

Then, we have the following equations:with . Solving the above equations, we obtain

Substituting into (B.1)â€“(B.3), after some calculation, we get (17)â€“(21).

#### C. Proof of Theorem 2

In order to prove Theorem 2, we first introduce a lemma (cf. [32, 33]).

Lemma 1. *Assume that is given by (16); then, for any ,*

*Proof. *Substituting (17)â€“(19) into (8) yieldsIt is easy to getwhere is a deterministic and bounded function on . Substituting (C.3) into (16), since , we can obtain .

Next, we prove Theorem 2. For convenience, we denote and define the generatorBy the Dynkin formula, Lemma 1 and (15), we getThus, we obtainTaking the supreme w.r.t in (C.6) and combining with (14), we haveMoreover, under the strategy , the inequalities in (C.5) and (C.6) become the equalities. We havefor all . Combining (C.7) and (C.8), we get .

#### D. The Expectation of

From (10), we haveand thus,

By equation (17), we take the expectation of and derive

#### Data Availability

No data were used in this study.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This research was supported by the National Natural Science Foundation of China (71721001 and 71991474) and the State Scholarship Fund of China (202106380104).