Abstract
We study how past consumption and health history affect optimal consumption, investment, and insurance in a multi-state life-insurance model. Two one-dimensional indices encode these distinct forms of history. The Habit-index is controlled by consumption and enters preferences, whereas the Health-index is uncontrolled and may also determine biometric transition intensities; state duration is obtained as a special case. Under power utility, both formulations admit explicit feedback controls and Feynman–Kac representations but lead respectively to systems of ordinary and partial differential equations. We give a verification theorem for the augmented-state control problem. A stylised three-state disability example isolates the mechanism through which additive habit formation can generate a consumption hump.
Keywords:
optimal control; habit formation; semi-Markov; life insurance; Hamilton–Jacobi–Bellman equation; Feynman–Kac representation MSC:
91G05; 93E20; 49L20; 60J28
1. Introduction
The 2021 Christmas letter from the Danish Financial Supervisory Authority (FSA) to the insurance sector raises questions for pension funds and insurance companies. In particular, it asks how an insurance or pension company identifies and addresses heterogeneous needs and preferences within a target group; see Danish FSA (2021). This concern is central to the European Union’s Product Oversight and Governance (POG) regulatory framework, under which insurers and pension providers must be able to explain and justify their product designs to customers and supervisory authorities; see Danish Parliament (2020). More broadly, insurance supports risk sharing, long-term saving, and consumption smoothing, while insurance-market depth may be related to economic development; see Shojaei et al. (2026). Motivated by these considerations, this paper derives and studies optimal consumption, investment, and insurance strategies in path-dependent models. We analyse two such models, the Habit-index model and the Health-index model.
To improve the model’s descriptive fit, it is natural to allow the multi-state framework to track how long the policyholder has occupied the current state. This state-duration effect has received limited attention in the optimal-control literature on life insurance. For example, a person who has been disabled for 20 years is plausibly less likely to recover the next day than a person who has been disabled for only a single day, and they may therefore plan consumption differently. State duration is, however, only one way of encoding the past. Another is habit formation, as in (Kraft et al., 2016), where utility is derived only from consumption above a habit level shaped by past consumption.
Recent work combines habit formation with biometric or health risk and consumption–investment–insurance decisions. Wang and Chen (2024) study biometric risk, habit formation, and smooth ambiguity; Zhao et al. (2025) consider household decisions under health shocks and consumption habits; and Liu and Zhou (2026) analyse habit formation in a stochastic-volatility market. Our contribution is different. We place two economically distinct representations of personal history within a single multi-state framework. The Habit-index is affected by consumption and enters preferences but not transition intensities. The Health-index is not controlled by consumption and may enter both preferences and biometric transition intensities; the usual state-duration process is a special case. Thus, the former captures an intertemporal cost of current consumption, whereas the latter may also change the probabilities of future disability, recovery, or death. This distinction leads to ordinary differential equations for the Habit-index model and partial differential equations for the Health-index model. The common structure permits explicit feedback controls, financial interpretations through Feynman–Kac representations, and a unified verification argument.
1.1. Stochastic Control Problems and the Hamilton–Jacobi–Bellman Equation
The optimal utilisation of wealth has long been an important consideration for individuals and insurance companies alike. What is regarded as optimal depends on how one weighs the importance of consumption and terminal wealth. Wealth can be invested in a financial market that contains both a risky asset and a risk-free asset. An individual’s wealth sets an intrinsic barrier on how much can be consumed at any given time.
Merton originally solved the continuous-time optimal consumption–investment problem in 1969–1971; see Merton (1969, 1971). Later, the uncertain lifetime was taken into account in (Richard, 1975). The model has since been expanded to contain multiple states during one’s lifetime; see, e.g., Kraft and Steffensen (2008) and Asmussen and Steffensen (2020).
An important question is whether optimal control laws depend on the problem’s initial values. From the Bellman Optimality Principle, see, e.g., Björk (2020), it is known that the optimal control law is time-consistent in the sense that the optimal strategy computed at any intermediate time and state coincides with the restriction of the globally optimal strategy.
A simple case to consider is one in which one does not invest in risky assets, cannot change state, faces no impatience, assigns unit weight to consumption, and is constrained to keep both wealth and consumption non-negative. Assume preferences corresponding to power utility; for an axiomatic justification of power utility, see, e.g., Pratt (1964). This yields a simple consumption problem. The Hamilton–Jacobi–Bellman equation provides a method for determining the optimal consumption, see, e.g., Björk (2020). A verification argument is subsequently needed to connect a sufficiently regular solution of this equation with the original control problem; such an argument is provided for our augmented multi-state model in Appendix B.1. The candidate strategy is found by solving
with U being the space of admissible consumption controls and F being some terminal condition. The remainder of this paper will be devoted to handling more complex partial differential equations of similar form. This problem may, for example, be extended to include multiple states, state duration, and habit formation.
1.2. Habit Formation
Forming good and bad habits is an intrinsic part of human behaviour. Unless this is modelled explicitly, an essential determinant of optimal consumption is omitted. It is therefore of interest to extend the standard problem to incorporate habits. Let be an arbitrary utility function, and let c, h, and denote consumption, habit level, and scaling parameter, respectively. The simple consumption problem can then be extended, as in Munk (2008), by incorporating the notion of habit: the utility of current consumption decreases with past consumption. This can be accomplished by defining the utility function as
which is referred to as the additive habit formation structure. Multiplicative structures, such as the Cobb–Douglas utility function studied, e.g., in Douglas (1976), have also been considered in the literature. This alternative preference structure is also discussed in (Bruhn, 2013), where habits are modelled through past utility rather than past consumption. We refer to Carroll et al. (2000) and Toche (2005) for detailed expositions of multiplicative habit formation, though the focus of this paper is on the additive case.
1.3. Multi-State Semi-Markov Probability Model
Introducing a multi-state structure into stochastic optimal control is a straightforward extension of the Hamilton–Jacobi–Bellman framework. Within a multi-state model, an individual may receive income that varies by state, which in turn affects the amount available for consumption.
The state of the individual is described by the point process . To make this state process reflect observed experience more closely, it can be useful to incorporate state duration. This can be modelled through a state-duration process, which is denoted by . The probability model can then be extended to include state duration, yielding a semi-Markov model. This idea can be generalised further to what will later be referred to as the Health-index, of which state duration is a special case; see Section 4. We refer to Asmussen and Steffensen (2020) for a concise treatment of semi-Markov models in life insurance.
2. General Setup
2.1. Financial Market
We consider contracts from time 0 to expiration time T. Unless stated otherwise, . We work in the standard continuous-time market setting in which an investor allocates wealth between a risk-free asset (a bond), denoted , and a risky asset (a stock), denoted . For ease of notation, we often suppress the index of continuous and discrete indexed families, e.g., or .
The risk-free asset, , follows the dynamics
with r being the instantaneous interest rate. The risky asset, , follows the dynamics
where is the drift, is the volatility, and is the initial value of the risky asset. denotes a standard Brownian motion in the filtered probability space . The filtration is defined as the smallest filtration generated by the Brownian motion and the state point process . We define the point process shortly.
The results extend directly to time-dependent r, , and . However, it is assumed that r, , and are constants for ease of notation, which follows the conventions of Björk (2020).
2.2. State Process
An individual can transition between different states throughout their life, e.g., active, inactive, and dead. These states are expressed by the state point process
on the filtered probability space , i.e., a continuous-time point process on ; see, e.g., Asmussen and Steffensen (2020) for a detailed treatment. Whenever j or k is unspecified, it is understood as for . This process reflects the insured’s biological risk. The financial risk and the biological risk are assumed to be independent. The process is assumed to be non-explosive under both the -measure and the -measure defined below; i.e., the process can only jump a finite number of times on any closed and bounded interval.
We define the left limit of f at x as when the limit exists. The number of total jumps and the number of jumps into the k’th state by the -process until time t are defined as
respectively. Note the useful relation . The dynamics of the state point process can be expressed via the counting process such that
where denotes the initial state.
To define the intensities, we consider two cases. First, assume that is Markov, where is a model-specific index process to be defined. The transition intensities are defined as
The transition intensities are assumed to be non-negative, bounded on compact subsets of , continuous in t, locally Lipschitz in h, and deterministic. Together with the recursively defined dynamics of , these assumptions make a finite-dimensional Markov process; no Markov property is required of alone. It is assumed that admits a stochastic intensity process for , i.e.,
is a mean-zero martingale under ; see, e.g., Schilling (2017) or Hansen (2022) for the general theory of martingales.
Next, instead assume that alone is Markov and define the transition intensities as
The transition intensities, , are assumed to exist, be continuous, and be deterministic. Again, it is assumed that the counting process admits a stochastic intensity process, i.e.,
for is a mean-zero martingale. In this paper, we work either under the assumption that is Markov or under the assumption that is Markov. In the first case, the generator contains both the transport derivative in h and transition terms weighted by ; in the second case, the corresponding intensities are , although the derivative in h remains whenever the index evolves continuously.
The following considerations apply to both one- and two-dimensional Markov processes. Introduce the probability space . The measure is the technical measure used by the insurer to price insurance contracts. The measure differs only through the transition intensities . It is assumed that admits the stochastic intensity process under . We assume that the measures and define the same possible transitions; i.e., if is positive (respectively zero), then is positive (respectively zero). When a probability model is stated to be Markov, it is understood to be Markov under both and but with different transition intensities.
Define the inflation factor, which is common to both models,
where and are continuous and jump inflation (or forgetfulness) rates, respectively. The product differs from 1 only when for ; since is non-explosive, the product is well defined. Note that the empty product equals one.
2.3. Preferences
Denote the constant as the risk-aversion parameter; for the theoretical foundations of risk aversion, see, e.g., Pratt (1964). A low is interpreted as high risk tolerance, and conversely, a high is interpreted as low risk tolerance. We assume instantaneous utility functions
Note that the utility functions , , and denote the continuous, jump, and terminal utility, respectively. We may interpret as the utility of bequest, which is measured with respect to the remaining value of the account, . Standard power utility is recovered by choosing and . The variables , , and denote subjective weights that express how consumption is valued in a state, when transitioning states, or at bequest, respectively. The parameter serves as a minimum-consumption scaling parameter. Hence, the individual derives utility only from consumption in excess of and , where h is the current value of the index process. The limit corresponds to logarithmic utility, but we do not consider that class of utility functions here. Different specifications of the utility functions of Equations (14)–(16) are examined in Section 3 and Section 4, where h is the Habit-index and the Health-index, respectively.
2.4. Admissible Controls
A control is admissible from if it is predictable, the controlled equations for admit a non-explosive strong solution, and
whenever the corresponding utility weight is positive. We further require that the positive and negative parts of the discounted utility integral be well defined, that their expectations be finite from above, and that the local martingales arising in the verification argument be uniformly integrable after localisation. The candidate controls must, in addition, keep the effective wealth appearing in the relevant value-function Ansatz strictly positive. Sufficient conditions for coefficients and integrability are stated in Theorem A2.
The insurance controls are signed. Thus, the model is an unconstrained complete-market benchmark in transition-contingent claims and allows borrowing against future income. Requiring non-negative insurance benefits, non-negative financial wealth, or portfolio constraints would lead to corner solutions and would generally preclude the closed-form controls derived below.
3. Habit-Index Model
The Habit-index model extends Merton’s portfolio problem by incorporating additive habit formation into a multi-state Markov setting. The model captures the idea that an individual derives utility only from consumption in excess of a habit level formed by past consumption. This section presents the complete model, including the model-specific setup, the optimal controls, the system of ODEs, and the Feynman–Kac representations.
3.1. Model-Specific Setup
To formalise that past consumption is remembered and that utility is obtained only from consumption above a habit threshold, we impose the following assumption.
Assumption 1.
Assume that is Markov, that the labour income functions , are independent of h, and that the weight functions , , are also independent of h.
The Habit-index process, , is defined by the closed-form representation
where is the inflation factor defined in Equation (13). The dynamics of are
Equation (18) specifies exactly which feature of the consumption history is retained: a regime-dependent, exponentially weighted linear functional of continuous and transition-time consumption. We do not claim that a single scalar preserves an arbitrary consumption history. Rather, preferences are modelled as depending on past consumption only through this recursively updated sufficient statistic. Consequently, after augmenting the state by , the controlled process is Markov and dynamic programming applies. We denote as the Habit-index; the parameters are interpreted as follows.
- The parameters and are the baseline contributions to the Habit-index independent of consumption.
- The parameters and are the scaling factors determining how past consumption contributes to the Habit-index.
- The parameters and are the inflation or forgetfulness rates. When negative, recent consumption becomes more relevant and past consumption dissipates in the Habit-index; see, e.g., Kraft et al. (2016).
- The parameters and are the habit-cost parameters. The individual derives utility only from consumption in excess of and .
3.2. Account Value Process
The individual’s wealth accumulates through labour income and insurance benefits , and is depleted by consumption . The dynamics of these components are
The functions and denote continuous labour income and continuous consumption, respectively, in the j-th state. The quantities , , and denote labour income, insurance benefits, and consumption, respectively, upon transition from the j-th state to the k-th state. While the individual is in state j, a claim paying at a transition to k has premium rate . Hence, is an insurance benefit purchased under the pricing basis , whereas a negative value is a short position in the corresponding transition-contingent claim. The functions and are assumed to be non-negative, deterministic, and continuous in t. The functions , , and depend on , but the dependence on is suppressed, as these functions are controls to be chosen. Admissibility is as in Section 2.4.
The investor is assumed to have initial wealth . The account value process follows the dynamics
where denotes the ratio of wealth invested in the risky asset while in the j-th state.
3.3. The Optimal Control Problem and the Main Result
Define the utility process as
where is the Dirac measure at the termination time T. We introduce the discount rate (the impatience parameter). The optimal control problem is
We embed the optimal control problem and define the optimal value function
where denotes the expectation conditioned on the event at time t.
Define the auxiliary quantities
where , and similarly, . The quantity is a risk-aversion-adjusted discount rate. The quantities and are risk-aversion-weighted arithmetic and geometric means of the transition intensities, respectively.
3.4. The Ansatz
Under Assumption 1, the auxiliary functions , , depend only on t and not on h, and the Ansatz for the optimal value function is
Theorem 1.
Under Assumption 1, let , , and be -solutions of Equations (36)–(38) below. If or , then or must hold, respectively. Then, the optimal controls in feedback form are given by
Proof.
See Appendix B. □
Under power utility, the marginal utilities satisfy
Therefore, the optimum cannot occur at the boundary. As an infinitesimal amount of consumption yields infinitely more utility, the optimal controls in Equations (32) and (33) must satisfy and . Since h and are non-negative, this implies and , so the consumption controls are admissible.
The optimal investment strategy is closely related to the standard multi-state control as considered in Asmussen and Steffensen (2020). The quantity is the current account value plus the expected present value of future labour income less future minimum habit costs. This quantity may also be interpreted as the effective wealth, since it includes financial wealth x in addition to the actuarial reserve . The continuous consumption decomposes into an adjusted ratio of the human capital and a habit-cost term . The factor scales consumption to enable future consumption in excess of the habit-costs; it appears only when .
We have chosen to parametrise our risky investment control via the proportion . This is violated if . In general, one can alternatively parameterise the risky investment control in terms of the nominal amount. The nominal amount equals , and by interpreting this as the nominal amount even for , the results for hold, yielding an amount invested in stocks that is affine in wealth. Despite the need for such a remark, we still prefer to specify the strategy as a proportion.
3.5. System of ODEs
Under Assumption 1, the PDEs for the auxiliary functions derived in Appendix B collapse to a system of ordinary differential equations in time alone. The auxiliary functions for defined by the system
for and solve the Hamilton–Jacobi–Bellman equation. These are one-dimensional ODEs in time, which make both analytical interpretation and numerical computation tractable, with the latter performed using, e.g., Runge–Kutta methods.
3.6. Feynman–Kac Representations
Define the valuation-of-utility process
Assume . The measure is defined as the probability measure under which has transition intensities . Then, the Feynman–Kac representations, see Appendix A, are
for and , where
and
The financial interpretations are as follows.
- is the expected present value of future minimum unit habit costs under the -measure. To see this, assume minimum consumption and and calculate the expected present value of this consumption-path.
- is the expected present value of future labour income less the baseline development of the Habit-index, . The amount must be continuously set aside from labour income to fund the baseline growth of . The same holds jump-wise for the amount .
- is the appreciation of future consumption under the geometric probability measure . The factor is multiplied on the continuous valuation of utility due to the incorporation of additive habit formation.
4. Health-Index Model
The Health-index model extends the multi-state probability model by introducing a health level that can increase or decrease over the contract duration. By convention, a higher Health-index value corresponds to a worse health status, which implies higher health costs and a larger minimum consumption threshold; this convention is maintained throughout the section. The health level affects both the utility and the probability model. Consumption is not included in the index process; instead, the index records baseline health gains. The general preference structure of Equations (14)–(16) is used so that only consumption in excess of health costs yields utility.
4.1. Model-Specific Setup
Assumption 2.
Assume that is Markov, and that .
The assumption concerns the pair ; the continuous index H need not be a semi-Markov state itself. Conditional on and , the future index dynamics and the transition intensities depend on no earlier history. Thus, augmentation by H preserves the Markov structure required for the HJB and Feynman–Kac arguments. The post-transition index equals , which appears explicitly in the generator and the PDE system below.
Recalling the inflation factor defined in Equation (13), we define the Health-index process analogously to the Habit-index by
where . We denote as the Health-index, as it accumulates a baseline increment at time , which is inflated to time t by a subjective rate and jump size. The dynamics are
A high Health-index implies that consumption must be higher to exceed health costs. A low Health-index, therefore, represents a healthy individual, and conversely, a high Health-index represents an unhealthy individual. The parameter is interpreted as a unit health cost: the individual gains utility only from consumption in excess of and .
4.2. Account Value Process
The individual’s wealth accumulates through labour income and insurance benefits , and it is depleted by consumption . The dynamics of these components are
The functions and are assumed to be non-negative, deterministic, and continuous in both t and h. Under the natural interpretation of consumption, the controls and must be non-negative. The controls and have no further constraints to be admissible. The account value process follows the same pattern as in the Habit-index model of Section 3, so we state only the resulting dynamics
4.3. The Optimal Control Problem and Its Solution
The optimal control problem is defined as in the Habit-index case, as shown in Equation (25), with the utility process of the same form. Define the same auxiliary quantities , , and as in Equations (27)–(29) but now with the intensities depending on since is Markov. The auxiliary functions are now functions of both t and h, and the ansatz is
Theorem 2.
Under Assumption 2, let , , and be -solutions of Equations (57)–(59) below. If or , then or must hold, respectively. Then, the optimal controls in feedback form are given by
Proof.
For a control u, the state-j generator is the generator in Equation (A12) with , , , and . In particular, its continuous index term is , and its transition term evaluates at the post-transition index . The first-order conditions in Equations (A23) and (A24) remain valid with these index-dependent coefficients. Substitution of the Ansatz (51) gives Equations (52)–(55); substitution of these controls back into the HJB equation and separation of the resulting powers of give Equations (57)–(59). Optimality follows from Theorem A2 under its regularity and integrability conditions. □
Under power utility, the marginal utilities satisfy
Therefore, the optimum cannot occur at the boundary. As an infinitesimal amount of consumption yields infinitely more utility, the optimal controls in Equations (52)–(55) must satisfy and . Since h and are non-negative, this implies and , so the consumption controls are admissible.
If , we reparameterise the risky investment control from the proportion to the nominal amount invested in the risky asset. The optimisation is then carried out in terms of , which remains well defined at zero wealth, so it is still meaningful to describe investment in the risky asset when . We do not explicitly write this reparameterisation in the control formulation to keep the notation concise.
Under Assumption 2, and recalling that , the PDEs for the auxiliary functions that solve the Hamilton–Jacobi–Bellman equation are
4.4. Feynman–Kac Representations
Assuming , Theorem A1 yields Feynman–Kac representations for all three auxiliary functions. The representations for and are analogous to those of the Habit-index model in Section 3 except that the auxiliary functions and transition intensities now depend on h and that . We therefore omit them. The Feynman–Kac representation for is
for and , where
The financial interpretations are as follows.
- is the expected present value of future health costs under .
- is the expected present value of future labour income less the baseline health-cost development of the Health-index . The parameters and are the continuous and jump baseline gains of the Health-index process, respectively. From the PDE for in Equations (57)–(59), the amounts and must be set aside from continuous and jump labour income, respectively, to fund the baseline development of .
- is the appreciation of future consumption with the state-wise discounting factor . The weights , , can still depend on the Health-index as long as they remain non-negative and well defined.
4.5. Duration-Dependence-Index Sub-Model
We now revisit the multi-state semi-Markov probability model. Choosing , , and , the index process becomes
We denote this as the Duration-index, which is simply the time spent in the current state, as in the usual semi-Markov setup. The first term indicates whether any prior time was spent in the initial state by the start of the contract; this time is forgotten upon a change of state. The second term is additional time spent in a state. The dynamics are
which is the well-known dynamics of the state-duration process, see, e.g., Asmussen and Steffensen (2020). With these parameter choices, the PDEs become
Note that under these parameter choices, and the jump term for the differential equation of is , which does not contain any because the state duration is reset to 0 upon transition.
The Feynman–Kac representations for and under the Duration-dependence-index sub-model are
for and . Here, and convert state duration into monetary amounts and can be interpreted as duration costs. The auxiliary function is the expected present value of the future unit duration cost over the remainder of the contract. The auxiliary function is the expected present value of future continuous labour income minus unit duration costs and jump labour income under , that is, an adjusted expected present value of future labour income.
4.6. Connection to the Habit-Index Model
There is a structural connection between the Health-index model and the Habit-index model, but the economic roles of the indices differ, as summarised in Table 1.
Table 1.
Comparison of the two index formulations.
Habit formation creates a shadow cost of current consumption because consumption raises the future habit level. In contrast, the Health-index may alter both minimum consumption needs and the probabilities of future disability, recovery, or death. Accordingly, policy differences need not be the consequence of path dependence alone; they may also reflect a distinct transition structure.
When in the Habit-index model, that is, the index process does not collect consumption, the dynamics of in Equation (19) simplify to
which is identical to the Health-index dynamics of Equation (46). The difference between the two models then lies solely in the probability model: the Habit-index model assumes that alone is Markov, whereas the Health-index model assumes that is jointly Markov, so that transition intensities may depend on the index. This connection highlights that the two models share a common mathematical structure but differ in how path dependence enters the probability model versus the preference structure.
5. Numerical Example
We examine how additive habit formation influences consumption in a multi-state model. The example is deliberately stylised: its purpose is to isolate the mechanism that can generate a consumption hump, but it does not intend to calibrate the magnitude of the effect or to demonstrate all controls simultaneously. Investment and insurance remain active in the general solution of Theorem 1; here, they are suppressed to avoid confounding their effects with habit formation. Under the Habit-index model, as shown in Assumption 1, the differential equations in Equations (36)–(38) form a system of ODEs, which makes the numerical experiment tractable.
5.1. Setup of the Numerical Experiment
Assume the setup of the Habit-index model, which is shown in Assumption 1. To isolate the effect of habit formation, we make the following baseline assumptions: all wealth is placed in the risk-free bond (, so the optimal risky investment is ), there are no jump contributions (), and there is no utility from jump consumption or bequest (). With no insurance business, the account value process dynamics become
Assume . The continuous consumption under Assumption 1 with is
The auxiliary functions , , and are given by Equations (36)–(38) and computed numerically using the fourth-order Runge–Kutta (RK4) method for stability; see, e.g., Kincaid and Cheney (2009). The human capital process is computed by forward iteration, while the auxiliary functions are computed backward. Each RK4 run uses steps; i.e., four steps per month throughout the contract.
5.2. Multi-State Model
We assume the three-state disability model, i.e., , with a contract that runs for 50 years, . State 1 is the active state in which contributions to the policy are made, state 2 is when the policyholder is disabled, and state 3 is when death has occurred. We assume , i.e., when the policyholder is dead, no more transitions can occur and no utility may be achieved. Assume no contribution to wealth while disabled or dead, , no jump contributions, , and no utility from jump consumption, . Assume that the continuous valuation of utility is the same in both active and disabled states, . We use the market transition intensities given in Buchardt and Møller (2015). The mortality rate from the active state, , is the Danish FSA benchmark of 2012 (see Danish FSA (2013)) and is used without accounting for expected future improvements. Note that the Danish FSA mortality rates are discrete by definition, and continuity is achieved through linear interpolation. The other transition intensities are
The policyholder is assumed to be a 40-year-old male with an instantaneous labour income of
i.e., a yearly regulation with the interest rate and a retirement age of 70.
5.3. Case Study: Habit-Index Model
We set . The utility function under these assumptions is
The individual derives utility from consumption, c, only when c exceeds the threshold h. This habit level could represent fixed costs, e.g., housing rent, which do not directly increase the individual’s happiness but must be paid. We assume the scaling parameters and the forgetfulness parameters . The habit formation process is
where we collect a scaled consumption and discount past consumption by . We set and select the parameters of the H-process as in (Kraft et al., 2016). The parameter choices are summarised in Table 2; the values of are inspired by Table 3 in (Dehn-Toftehøj et al., 2025).
Table 2.
Main parameters in the numerical illustration.
As the name suggests, the constant relative risk-aversion parameter quantifies one’s aversion to risk. This affects how one invests in the risky asset; however, in this example, such investments are not permitted. Instead, the level of risk aversion affects only the consumption profile.
Under power utility, when increases (risk aversion decreases), the additional utility one obtains from consuming more is lower compared to when is small. This means that for large values, it is essential to remain conservative when consuming to stay above the Habit-index. This is exactly what we see in Figure 1, where early consumption decreases as increases, and conversely, increases as decreases. Going from to , this change is the most noticeable.
Figure 1.
Optimal instantaneous consumption in the active state of the 3-state model for various values of . The black solid lines represent optimal consumption in the Habit-index model, and the grey solid lines are the corresponding Habit-index levels. The grey dashed lines are the optimal consumption under no habit formation.
For both the Habit-index model and the model without habit formation, the consumption curve eventually declines. This reflects the impatience parameter : utility today is valued more highly than the same utility tomorrow. The central difference between the two models is that under the Habit-index model, consumption initially rises. As habits develop, the individual must consume less at the outset to retain sufficient capital for later consumption. The impatience parameter and the Habit-index therefore act in opposite directions. Impatience shifts consumption towards earlier periods, whereas the Habit-index shifts it towards later periods because higher current consumption raises future habit costs. The result is a consumption hump, which also appears in the corresponding single-state setting.
The Habit-index parameters are identical to those estimated for a single-state model in Kraft et al. (2016). The figure therefore establishes a qualitative mechanism rather than empirical robustness in the present multi-state setting. Varying parameters that have not been jointly estimated would demonstrate mechanical sensitivity but could give a misleading impression of economically meaningful magnitudes. A proper empirical extension would estimate disability, recovery, and mortality intensities from transition histories and recalibrate the habit parameters using longitudinal observations of consumption and insurance state. Such joint data are not currently available to us, and this empirical exercise lies beyond this paper’s theoretical purpose.
6. Closing Remarks
This paper establishes tractable optimal rules for consumption, investment, and insurance in two multi-state models with path dependence. In the Habit-index model, path dependence enters preferences through past consumption. In the Health-index model, path dependence enters both preferences and the probability model through a health-related index. A central conclusion is that both specifications admit a common analytical structure based on the Hamilton–Jacobi–Bellman equation and Feynman–Kac representations yet yield economically distinct interpretations. Two directions appear especially relevant for future research. First, it would be of interest to allow consumption to affect the probability model. Under the present setup, this is ruled out by the assumed independence between financial and biometric risk, so identifying tractable relaxations of that restriction remains an open problem. Second, numerical experiments for the Health-index model, including the Duration-dependence-index sub-model, remain to be conducted in future work, which could help elucidate the properties of these models.
A point of interest for further research is incorporating multiplicative utility structures, such as the Cobb–Douglas utility function, into the habit formation framework. The Cobb–Douglas utility function expresses the relationship between consumption and the habit level, offering a different perspective on how experience influences current preferences. In such a framework, utility depends on the ratio of consumption to a habit level rather than on the excess of consumption above a habit threshold. Analysing the associated optimal controls, differential equations, and financial interpretations would complement the additive analysis presented here.
The numerical experiments demonstrate that the consumption hump persists across single-state and multi-state settings under additive habit formation. It arises from the opposing effects of impatience, which shifts consumption earlier, and habit formation, which shifts consumption later. A natural next step is therefore to recalibrate the habit-formation parameters within the multi-state model rather than relying on estimates from the single-state case. Such a recalibration would require empirical data on consumption patterns in multiple life-insurance states, which is not readily available at present.
Finally, the analysis relies on power utility for mathematical tractability. Extending the framework to broader preference classes would require conditions that ensure both the existence and robustness of the solution, and such conditions are likely to depend closely on the structure of the underlying control problem.
Author Contributions
Writing—original draft preparation, J.H.F. and P.G.; writing—review and editing, M.S.; Supervision, M.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Feynman–Kac Representation for Thiele-like PDEs
The following theorem extends the classical Feynman–Kac representation, see, e.g., Björk (2020), to handle the Thiele-like PDEs that arise from the Hamilton–Jacobi–Bellman equation in our setting.
Theorem A1.
Let the process have the dynamics
where and for . Assume that the intensities are non-negative, locally Lipschitz in h, and bounded on compact subsets, and that the process is non-explosive. Let , , , , and be measurable functions of at most polynomial growth, with . Assume that the discount factor and payments below satisfy
Define the discounting factor
and the payment process
If functions of at most polynomial growth solve
where admits a stochastic intensity process, i.e., is a mean-zero martingale for . Then,
Consequently, the PDE system has at most one classical solution within this growth class.
Sketch of Proof.
The proof consists of three main steps: (i) applying Itô’s lemma to the discounted value function , (ii) integrating the resulting dynamics and substituting the PDE of Equation (A5) to eliminate differential equation terms, and (iii) taking conditional expectations to eliminate martingale terms.
First, using Itô’s lemma for jump processes (see, e.g., Björk (2021)) on yields
Integrating from t to T and rearranging, one obtains an expression for as an integral from t to T involving the PDE terms in Equation (A5). Second, substituting the PDE Equation (A5) eliminates the differential equation terms, leaving only the payment terms , , , and a martingale component . Finally, taking the conditional expectation eliminates the martingale terms, and using the terminal condition yields the Feynman–Kac representation Equation (A6). For a complete proof of the classical case, see Björk (2020). □
Appendix B. Proof of the Optimal Controls Under the Habit-Index Model
We sketch the derivation of the optimal controls stated in Theorem 1 by solving the Hamilton–Jacobi–Bellman (HJB) equation. The approach follows (Kraft & Steffensen, 2008) and is adapted to the Habit-index setting. Throughout this appendix, we assume Assumption 1, so that is Markov, the weight functions are independent of h, and the auxiliary functions depend only on t.
Appendix B.1. Verification
We state a verification result in the style of Theorem 6.1 in (Asmussen & Steffensen, 2020). It applies to both index models. Let denote the open state domain on which effective wealth and all utility arguments are positive.
Theorem A2
(Verification). Assume that the market coefficients are bounded with , the transition intensities satisfy the conditions in Section 2, the index coefficients are locally Lipschitz and of linear growth, and the utility weights are non-negative and of at most polynomial growth. Let be continuous at T and satisfy the state-wise HJB equations and terminal conditions. Assume further that the following apply:
- (i)
- For every admissible control and localising sequence , the stochastic integrals in Itô’s formula for stopped at are martingales;
- (ii)
- The stopped terminal values are uniformly integrable, and their boundary contribution has non-positive limsup;
- (iii)
- A measurable feedback control attains the HJB supremum, is admissible, keeps the state in , and satisfies the corresponding limiting relation with equality.
Then, is the value function and is optimal from every .
Proof.
Fix an admissible control u and stop the controlled process at
where is an increasing sequence of compact subsets exhausting the admissible state domain. Itô’s formula for regime-switching jump diffusions, applied to on , gives
the Brownian and compensated-jump terms having zero expectation. The HJB inequality
therefore implies that dominates the expected utility accumulated up to plus the stopped continuation value. Letting and using uniform integrability, the boundary condition, and the terminal condition, we obtain . Taking the supremum gives .
For , the HJB inequality is an equality. Repeating the argument and using the equality in the limiting condition gives . Hence, is optimal and is the value function. □
For the feedback controls below, the strict positivity of effective wealth is preserved between jumps by its multiplicative diffusion dynamics and across jumps by Equation (A25); the Health-index case has the analogous relation with the functions evaluated at the post-transition index. Together with bounded coefficients over a finite horizon, these properties provide the standard localisation and integrability conditions used above. Thus, the theorem requires no boundary value at the effective-wealth boundary, which is not reached by the candidate control.
Appendix B.2. The HJB Equation
The candidate value function postulated in the Habit-index Ansatz in Equation (30) satisfies the HJB equation
where is the stochastic intensity of the utility process. Using Itô’s lemma for jump processes (see, e.g., Björk (2021)), the state-j generator is
Here, in the Habit-index model and in the Health-index model. The derivative appears in either model whenever H evolves between jumps, while the index dependence of the intensities occurs only in the Health-index model. The terminal condition is on its positive utility domain.
Appendix B.3. The Ansatz and Its Key Derivatives
We postulate the Ansatz
where , , are smooth functions of t alone, which is consistent with Assumption 1.
The key partial derivatives of the Ansatz are
Throughout the derivation, we restrict attention to the human capital domain
on which the Ansatz and all first-order conditions are well defined. Moreover, the admissibility of the consumption controls requires
These inequalities are consistent with power utility because marginal utility diverges at the lower bounds, so an optimiser cannot be attained at the boundary.
Appendix B.4. First- and Second-Order Conditions, and Optimal Controls
Substituting the Ansatz and its derivatives into the Hamiltonian in Equation (A11) and applying first-order conditions for each control yields the optimal controls. For the investment strategy , the first-order condition yields
For continuous consumption , the first-order condition is
Substituting the utility function and using , one obtains
Put and . The transition-time consumption and insurance first-order conditions are, explicitly,
The second equation balances the marginal value of the transition benefit against its continuously paid premium. Substituting the Ansatz into these two equations gives and in Theorem 1.
It can be shown that is a geometric Brownian motion with jumps when choosing the optimal controls proposed from the first-order conditions. This is simple but labour-intensive to prove by deriving the dynamics of human capital. For the remainder of the argument, condition on a transition from the j-th state to the k-th state. Substituting the optimal controls and of Equations (33) and (34) into the post-jump human capital upon a transition and simplifying, the weight and the habit-cost parameter cancel entirely, leaving the exact relation
Since the transition intensities and are positive whenever the transition from the j’th state to the k’th state is possible, Equation (A25) shows that the human capital retains its sign across every jump if and only if . No further restriction on or is needed for this particular property. Together with the initial condition and positivity of , this therefore ensures that the human capital process is almost surely positive, which is essential for the following consideration.
The second-order conditions follow from the strict concavity of the Hamiltonian in each control variable. Given and, by Equation (A25) and the discussion above, the positivity of the human capital , the second-order derivative in x of the Ansatz in Equations (A14)–(A17) is strictly negative. Hence, the Ansatz in Equation (A13) is strictly concave in x. The risky-investment Hamiltonian term is quadratic in with a negative leading coefficient, , and hence strictly concave in . Likewise, the power-utility terms and are themselves strictly concave in and for , and the jump contribution to the Hamiltonian is affine in composed with the strictly concave ; hence, it is strictly concave in . Consequently, the Hamiltonian is strictly concave in each of , , , and separately, so the stationary point identified by the first-order conditions is in fact the unique maximiser of the Hamiltonian in each control.
Appendix B.5. Deriving the ODE System
After substituting the optimal controls back into the HJB equation and collecting terms in powers of , one separates the coefficients by requiring the equation to hold for all x and h. The terms proportional to yield the ODE for ; the terms proportional to without h-dependence yield the ODE for ; and the terms proportional to yield the ODE for . The resulting system is precisely Equations (36)–(38), which, together with the verification argument given at the outset of this appendix, completes the derivation of the optimal controls stated in Theorem 1.
References
- Asmussen, S., & Steffensen, M. (2020). Risk and insurance: A graduate text. Probability Theory and Stochastic Modelling. Springer Nature. [Google Scholar]
- Björk, T. (2020). Arbitrage theory in continuous time (4th ed.). Oxford University Press. [Google Scholar]
- Björk, T. (2021). Point processes and jump diffusions: An introduction with finance applications. Cambridge University Press. [Google Scholar]
- Bruhn, K. (2013). Preferences and design in insurance and pension [Ph.D. thesis, University of Copenhagen]. [Google Scholar]
- Buchardt, K., & Møller, T. (2015). Life insurance cash flows with policyholder behavior. Risks, 3(3), 290–317. [Google Scholar] [CrossRef] [Scilit]
- Carroll, C. D., Overland, J., & Weil, D. N. (2000). Saving and growth with habit formation. American Economic Association. [Google Scholar]
- Danish FSA. (2013). Description of the danish FSA’s longevity benchmark. Available online: https://www.dfsa.dk/fact-and-figures/statistics/the-danish-fsa%E2%80%99s-longevity-benchmark (accessed on 30 November 2025).
- Danish FSA. (2021). Produktudvikling og -overvågning afdækning af målgruppers behov. Available online: https://cdn2.gopublic.dk/finanstilsynet/media/52601/Julebrev_LIV_151221.pdf (accessed on 4 December 2025).
- Danish Parliament. (2020). Lov om produkter og markedsovervågning. Available online: https://www.ft.dk/samling/20191/almdel/ERU/bilag/58/2103988.pdf#32#1 (accessed on 4 December 2025).
- Dehn-Toftehøj, J.-P., Falden, D. K., & Steffensen, M. (2025). Calibration of risk aversion to real pension asset allocation. Quantitative Finance, 25(10), 1657–1674. [Google Scholar] [CrossRef] [Scilit]
- Douglas, P. H. (1976). The Cobb-Douglas production function once again: Its history, its testing, and some new empirical values. Journal of Political Economy, 84(5), 903–915. [Google Scholar] [CrossRef] [Scilit]
- Hansen, E. (2022). Stochastic processes (3rd ed.). Department of Mathematical Sciences, University of Copenhagen. [Google Scholar]
- Kincaid, D., & Cheney, W. (2009). Numerical analysis—Mathematics of scientific computing. American Mathematical Society. [Google Scholar]
- Kraft, H., Munk, C., Seifried, F. T., & Wagner, S. (2016). Consumption habits and humps. Economic Theory, 64, 305–330. [Google Scholar] [CrossRef] [Scilit]
- Kraft, H., & Steffensen, M. (2008). Optimal consumption and insurance: A continuous-Time Markov chain approach. ASTIN Bulletin, 38(1), 231–257. [Google Scholar] [CrossRef] [Scilit][Green Version]
- Liu, Q., & Zhou, Q. (2026). Asymptotic solution for the optimal consumption, life insurance, and investment problem. Probability, Uncertainty and Quantitative Risk, 11(1), 111–136. [Google Scholar] [CrossRef] [Scilit]
- Merton, R. C. (1969). Lifetime portfolio selection under uncertainty: The continuous-time case. The Review of Economics and Statistics, 51(3), 247–257. [Google Scholar] [CrossRef] [Scilit]
- Merton, R. C. (1971). Optimum consumption and portfolio rules in a continuous-time model. Journal of Economic Theory, 3, 373–413. [Google Scholar] [CrossRef] [Scilit]
- Munk, C. (2008). Portfolio and consumption choice with stochastic investment opportunities and habit formation in preferences. Journal of Economic Dynamics & Control, 32, 3560–3589. [Google Scholar] [CrossRef] [Scilit]
- Pratt, J. W. (1964). Risk aversion in the small and in the large. The Econometric Society, 32, 122–136. [Google Scholar] [CrossRef] [Scilit]
- Richard, S. F. (1975). Optimal consumption, portfolio and life insurance rules for an uncertain lived individual in a continuous time model. Journal of Financial Economics, 2, 187–203. [Google Scholar] [CrossRef] [Scilit]
- Schilling, R. K. (2017). Measures, integrals and martingales (2nd ed.). Cambridge University Press. [Google Scholar]
- Shojaei, S. A., Orouji, M., Pakgohar, A., & Armosh, F. (2026). Depth, not size: Rethinking the insurance–income nexus in mature OECD markets. Journal of Risk and Financial Management, 19(6), 453. [Google Scholar] [CrossRef] [Scilit]
- Toche, P. (2005, September 1–3). Saving and growth with habit formation: A comment. Money Macro and Finance (MMF) Research Group Conference, Rethymno, Greece. [Google Scholar]
- Wang, T., & Chen, Z. (2024). Optimal portfolio and insurance strategy with biometric risks, habit formation and smooth ambiguity. Insurance: Mathematics and Economics, 118, 195–222. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Z., Liu, W., & Tang, X. (2025). Optimal investment, consumption, and life insurance decisions for households with consumption habits under the health shock risk. Communications in Statistics—Theory and Methods, 54(15), 4766–4790. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
