key: cord-0073206-di5g6qur authors: Lefèvre, Claude; Simon, Matthieu title: On the Risk of Ruin in a SIS Type Epidemic date: 2022-01-08 journal: Methodol Comput Appl Probab DOI: 10.1007/s11009-021-09924-z sha: 490a00de7ce75ddb65381d80c31d008e6870a92d doc_id: 73206 cord_uid: di5g6qur The paper deals with the problem of possible ruin when providing insurance coverage for an epidemic. The model studied is an SIS type epidemic which generalizes the well-known logistic model. Contractually, the premiums are paid by susceptible people while the care costs are reimbursed to infected people via an annuity or a lump-sum benefit. Our goal is to determine the distribution of the main statistics of the ruin when it occurs during the epidemic. The case where the reserve alternates between normal and epidemic episodes is also discussed using a Brownian modeling of the reserve. Finally, some of the results are illustrated for two particular SIS epidemic models. There is a vast mathematical literature on epidemic models and their applications. Much material on the stochastic approach can be found in the books by Daley and Gani (1999) , Andersson and Britton (2000) and Britton and Pardoux (eds.) (2019) . Two central classes of models concern epidemics of the SIR (Susceptible-Infected-Removed) type and the SIS (Susceptible-Infected-Susceptible) type. In short, in the first case an infected is permanently eliminated by death or vaccination, while in the second case an infected recovers and becomes again exposed to the disease. This paper focuses on a stochastic SIS epidemic process that spreads in a closed population of total size N. Let (S t , I t ) be the number of susceptibles and infectives present at time t. By definition, S t + I t = N for all t. The evolution of S t in time is described by a Markovian birth-and-death process whose possible transitions are So, (s) represents the global infection rate on s susceptibles and (s) the global recovery rate for i = N − s infectives. Of course, we assume (0) = 0 (since s = 0 ) and (N) = 0 (since s = N ). Moreover, it is natural to take (N) = 0 (since i = 0 ), which makes N an absorbing state for the susceptibles. All the other rates are chosen strictly positive. A classic special case is the logistic SIS epidemic in which (s) = s(N − s) and (s) = (N − s) for some constants , > 0 . Here, the infection rate is proportional to the number of possible infectious contacts and the recovery rate to the number of infected. This model has received considerable attention, especially due to the existence of a quasistationary state. We refer the reader to the book by Nåsell (2011) and to numerous articles including Andersson and Djehiche (1998) , van Doorn and Pollett (2013) and Clancy and Tjia (2018) . Various extensions of this model were also discussed, e.g. by Nåsell (1999) and Clancy (2005) . The problem that we will study concerns the insurance coverage of a birth-and-death epidemic process (1). We will thus combine ruin theory and epidemiology, two fields which are not generally associated with each other. Indeed, very little work has to date been devoted to actuarial applications of epidemic models. In addition, they were all carried out for infectious diseases of the SIR type. Thus, the seminal article by Feng and Garrido (2011) dealt with the deterministic version of a well-known model called the general epidemic. A stochastic approach for a Markovian version of this model was then developed by Lefèvre et al. (2017) . The related question of the possible occurrence of ruin has just been investigated by Lefèvre and Simon (2021) . Very recently, Feng et al. (2022) reviewed basic compartmental epidemic models with several actuarial applications. Measuring the risk of ruin and its consequences is a central subject of traditional mathematical theory of insurance. A fairly comprehensive survey of the literature is provided by the book of Asmussen and Albrecher (2010) . The reader is also referred e.g. to the books by Dickson (2017) and Schmidli (2018) . Our aim will be to examine the problem of insurance coverage and possible ruin for an epidemic model that has precisely the SIS schema described above. The paper is organized as follows. In Section 2, we derive the distribution of several variables that influence the cost of insurance coverage for a SIS type epidemic (Propositions 2.1, 2.2 and their Corollaries). In the next two sections, we consider two different insurance plans to cover medical costs caused by the epidemic. Premiums are collected from policyholders as long as they are in good heath (susceptible), and financial compensation is provided to policyholders whenever they catch the disease (infected). In Section 3, the company reimburses the care of infectious people for the duration of the treatment (annuity benefit). In Section 4, a compensation of random (exponential) amount is paid to each infected as soon as they recover from the disease (lump-sum benefit). We mainly focus on the ruin of the company when it occurs before the infection is over. Thus, we determine the joint distribution of the time of ruin T r , the total number of contaminations N T r and the final population state S T r (Propositions 3.1, 3.2 and 4.1, 4.2). In Section 5, we consider a risk process over a large time scale so that it can now alternate between two regimes, normal or (1) s → s − 1, at rate (s), s → s + 1, at rate (s). epidemic. This leads us to introduce a regenerative extension of the model using a Brownian reserve process. Here too, we obtain the distribution of the ruin statistics above together with the number J T r of epidemics triggered before ruin (Proposition 5.1). In Section 6, we illustrate and comment on some of the results for two particular epidemic models of SIS type. By virtue of (1), the susceptible process {S t , t ≥ 0} is Markovian with state space {0, … , N} and generator where (s) ≡ (s) + (s) for 0 ≤ s ≤ N . Obviously, the last state N is absorbing, and since it is a finite Markov chain, N will be attained after a finite time We introduce two specific random variables that will play a key role in the insurance context. On the one hand, the variable N T which counts the new contaminations made up to T (i.e. the total number of transitions s → s − 1 until absorption). This statistic gives a measure of the virulence of the contamination until the end of infection. On the other hand, the variable H T which is defined as where h is any positive real function defined on {0, … , N − 1} . This statistic allows us to assess the total costs or revenues incurred by the susceptibles. Note that T is a special case of H T with the choice h(s) = 1 for all s. Let us derive the joint Laplace transform of these two variables when the initial state is S 0 = s (< N). where the g l ( , z) satisfy the recursion Proof Let l be the first-passage time of the susceptible process at the height l, i.e. (so, N = T ), and consider the expectations Now, starting in state s, the susceptible process must go through the states s + 1, … , N − 1 before being absorbed into N. From (4) and (8), we then directly obtain the equality (5). To get the recursion (6), we condition in (8) with respect to the duration v before the first change of state. Using (2) and (4), we find that The reasoning for the second integral is that the first change of state is the infection of a susceptible among the l present, and the number of susceptible must then increase twice before reaching l + 1 . The formula (6) follows after integration. In particular, the mean of N T and H T easily follow from (5), (6). Proof For brevity, we will only derive (10). From (5), we have since g l (0, 1) = 1 by (8). Set x l = −[dg l ( , z)∕d ] =0,z=1 . Differentiating (6), we see that the x l satisfy the recursion with x −1 ≡ 0 . The solution of this recursion is found to be under the convention ∏ l j=l+1 = 1 . Inserting (12) into (11) then gives (10). Another quantity used for insurance cost is the probability that starting from S 0 = n , the number of susceptibles reaches any given level s < n before the end of the epidemic (see Section 4). In order to determine it, we will first obtain the Laplace transform of the vector with the constraint s < T where s is defined by (7) and s < n . The reasoning is similar to that followed for Proposition 2.1. As usual, A denotes the indicator variable for a random event A. where the q l ( , z) satisfy the recursion with q N ( , z) ≡ 0. To reach s from n, the susceptible process must go through the states n − 1, … , s + 1 before absorption. So, (13) directly follows from (15). For the recursion (14), we condition in (15) with respect to the length v before the first state change. This gives which yields the desired result. In particular, we deduce an explicit expression for the first-passage probabilities from n to s < n. where the q l are given by Proof Define the probabilities When = 0 and z = 1 , q l ( , z) reduces to q l , so that (13) becomes (16). For (17), consider the recurrence (14) with again = 0 and z = 1 . This yields with q N ≡ 0 . In the two sides of this identity, let us substract q l+1 and then divide by (1 − q l )(1 − q l+1 ) . Making the change of variable x l = 1∕(1 − q l ) , we get the relation with x N ≡ 1 . The solution of this recursion is Substituting (18) into x l gives (17) for q l . Consider an epidemic insurance plan in which premiums are collected from policyholders as long as they are in good heath (susceptible), and financial compensation is provided to policyholders, according to certain rules, whenever they catch the disease (infected). In this section, we assume that the company undertakes to reimburse the medical costs of infectious persons for the whole period of treatment. The Insurance Plan Specifically, the net income rate of the insurance at time t will depend on the population state at time t. When S t = s , the rate is c(s) = p(s) − r(s) where p(s) represents the rate of premium collection and r(s) the rate of medical reimbursement. A common case is when c(s) = ps − (N − s) , which means that the premium is charged at the fixed rate p per susceptible and the reimbursement is given at the fixed rate per infected. Of course, the function c(s) can also be non-linear to take account of group effects, for example, in the collection of premiums or the costs of care. It is natural to suppose that c(s) increases with s, with first negative and then positive values. So, c(s 1 ) ≥ c(s 2 ) if s 1 > s 2 , and there exists s * ∈ {1, … , N − 1} such that c(s) < 0 for s < s * and c(s) > 0 for s ≥ s * . For simplicity, we take c(s) ≠ 0 for all s, but this can be easily lifted. The coverage rate r(s) is normally determined or estimated by the company. On the basis of this amount, the company calculates a premium rate p(s) for a given premium structure, typically p(s) = ps . For this, a criterion often used is the Equivalence Principle in life insurance, which requires that benefit outgo = premium income . Thus, according to this principle, the fair value of the premium is set from the equality From (10), we can rewrite (19) for S 0 = n (< N) as and then deduce a function p(s) with the desired structure. In particular, if p(s) = ps , the fair premium level p * given by (20) is . The Reserve Process To the susceptible process we associate a reserve process where R t represents the net capital of the insurance at time t. Initially, The reserve then evolves continuously over time by adding the premiums received and subtracting the refunds made. Explicitly, So, R t can be positive or not, and increase or not. Its trajectories are continuous and piecewise linear (they are linear if p and r are constant). Until the end time T, R t varies according to S t through the rate of net income c(S t ) , i.e. From now on, we focus our study on the ruin time of the company, defined as T r = inf{t > 0 | R t ≤ 0} , when ruin occurs before the end of the infection ( T r < T ). Let N T r be the total number of contaminations up to time T r and S T r the number of susceptibles at T r . Our goal is to determine the expectation for ≥ 0 , z ∈ (0, 1] and 0 ≤ j ≤ s * − 1 since the net rate is necessarily negative at T r . This is the Laplace transfiorm of the vector (T r , N T r ) together with the specification of the population state S T r when the ruin actually occurs during the epidemic. To obtain this transform, we will use the row vectors s ( , z) , s = s * , … , N − 1 , of dimension s * whose j-th element, 0 ≤ j ≤ s * − 1 , is defined by Note that the initial reserve here is taken to be 0. In addition, we introduce the s * × s * matrix and we define the 1 × s * vector = (0, … , 0, 1). Proposition 3.1 Let ≥ 0 , z ∈ (0, 1] and 0 ≤ j ≤ s * − 1 . Starting with n < s * susceptibles and a reserve u ≥ 0, while starting with n ≥ s * susceptibles and a reserve u ≥ 0, where 0 ≤ s, j < s * . So, it gives the transform of interest when initially, the reserve is x and the number of susceptibles is s < s * . Therefore, starting with S 0 = n susceptibles and a reserve u ≥ 0 , we have using the definition (24). z, y) . Indeed, to reach 0 starting from x + y , the reserve process must first reach y and the corresponding probabilities are in Φ( , z, x) ; then, the past is forgotten by the strong Markov property and the first passage probabilities at 0 are given by Φ( , z, y) . Therefore, Φ( , z, x) is of the form where the matrix U ≡ U( , z) is to be found. For that, we consider (28) and condition on the time of the first change of state. Setting (s) = ( (s) + )∕c(s) , we obtain that for 0 < s < s * − 1, For s = 0 , we get similarly and for s = s * − 1, Differentiating (31), (32), (33) with respect to x then taking x = 0 leads respectively to the relations Using (25), we see that a compact form for U is It remains to insert (30) with (34) in (29) to deduce (26) and (27). Of course, we now need to determine the vectors s ( , z) defined by (24). They are provided by (35), (36) below. where the M l ( , z) are s * × s * matrices given recursively by (7)), and define Conditioning on the level of increase x of the reserve before the first-passage of the population at height s * − 1 , we easily see that where * denotes the convolution product with respect to x and Φ( , z, x) is the matrix (28). By (30), Φ( , z, x) = exp(Ux) so that from (38), where the matrices M l ( , z) are given by To determine these M l ( , z) , we consider (37) Multiplying both sides of this equality by exp(Ux) and integrating over x ∈ (0, ∞) then gives using (40) Finally, since m l ( , z, 0) = [ (l)∕c(l)]z , we deduce that which is equivalent to (36) using the expression (34) of U. Note that the inverse matrix in (36) is of the form (cI − A) −1 where c > 0 and A is a (defective) generator matrix. Thus, the eigenvalues of A are non-negative, so that the matrix cI − A is invertible. The vectors s ( , z) can indeed be calculated from Proposition 3.2. Different methods allow to solve numerically the fixed-point equation (35). One possibility, for example, is to proceed iteratively as follows. First, s * ( , z) is evaluated as the limit which is a simple modification of (38) and where, analogously to (30) 2005)). Once s * ( , z) is obtained from (41), (42), the other vectors s ( , z) can be easily calculated from (35), (36). In the illustrations of Section 6, we will essentially determine the probability that ruin occurs, i.e. Obviously, this probability is obtained by setting = 0 and z = 1 in (26), (27) and by summing over all possible states j of S T r . In addition, the vectors involved s (0, 1) defined by (24) as are then calculated from Proposition 3.2 using the iterative procedure above. In this section, we assume that the company pays each infected a lump-sum compensation which depends on the number of susceptible still present. The Insurance Plan Specifically, when an infected person recovers from the disease, they receive one-time coverage of random, possibly constant, amount from the company. These lump-sums are independent variables and their distribution is function of the number of susceptibles at the time of recovery. As before, the company collects premiums continuously over time at the rate p(s) when S t = s . It is natural to take p(0) = 0 and p(s) > 0 when s > 0 , but these assumptions can be relaxed. A different model might be for a person to receive a lump-sum once they contract the disease. In fact, the study of such a model is very similar to the one below. In this case, however, the initial infectious are not covered, which explains our choice. To get the fair value of the premium, we again use the Equivalence Principle and require that where M (k) T is the total number of transitions from k to k + 1 susceptibles, and the E l,k represent the lump-sums which are independent random variables with mean ̃(k) (that depends on k as announced). This yields Now, it is clear that M (N−1) T = 1 a.s., and for k < N − 1, where k is the first-passage time at the height k (see (7)). Moreover, we observe that [M (k) T | S 0 = k] has a geometric distribution on {1, 2, …} with success probability given by ℙ k−1 > T | S 0 = k . Note that this probability corresponds to 1 − q k where q k = q k (0, 1) is given by (17). Therefore, Let n be the initial number of susceptibles. From (45), (46) and applying Corollary 2.2, we can then reexpress the equality (44) as In the special case where ̃(k) =̃ for all k, i.e. the lump-sum distribution is the same for all infected, (43) reduces to where N T is the counting variable of Section 2 and the E k are i.i.d. random variables with mean ̃ . For S 0 = n , (47) is replaced by and from (9), (10), this becomes In particular, if p(s) = ps , the fair premium level p * given by (48) is where R t is the net capital of the insurance at time t, starting from R(0) = u ≥ 0 . Instead of (22), we have So, R t increases in a continuous, piecewise linear way with independent jumps downwards. In the following, we assume that the lump sums E l,k are distributed exponentially with the parameter (k) ( = 1∕̃(k) above). This case is less burdensome to deal with mathematically and allows us to use reasoning similar to that of Section 3. However, it does not cover lump-sums which would be constant, for example. To face this case, we can extend the model to more general jumps of phase type and then particularize to suitably normalized Erlang distributions. A different method consists in working with the Laplace transform of the probabilities of ruin with respect to the initial reserve u. The lump-sums can then be of arbitrary distribution but this approach leads to invert transforms of transforms numerically. Define T r as the ruin time of the company when this actually occurs. Note that there may be a jump just before the end T (compensation given to the only infected present), and this jump could cause the ruin at T, so that T r ≤ T . Let N T r be the total number of infections up to time T r and S T r the number of susceptibles at time T r − , i.e. just before T r . We want to determine the expectation for ≥ 0 , z ∈ (0, 1] and 0 ≤ j ≤ N − 1. For that, we define as in (24) a N × N matrix Ψ( , z) whose row vectors s ( , z) are of j-th element for 0 ≤ s, j ≤ N − 1 , and also the two following N × N matrices Proposition 4.1 Let ≥ 0 , z ∈ (0, 1] and 0 ≤ j ≤ N − 1 . Starting with n < N susceptibles and a reserve u ≥ 0, Proof As for (29), we get where Ψ( , z) is the matrix defined trough (50) and (Φ( , z, x) ) s,j is the transform given that the susceptible process starts from s with an immediate jump (exponentially distributed with parameter (s) ) followed by a transition to s + 1. It is easy to see that as in (30), To determine U( , z) , we first condition in (54) on the size of the initial jump, hence where 1 a denotes the indicator function for a fixed set a. Using the notation (51), we can rewrite this in matrix form as Now, it suffices to differentiate both sides and take x = 0 to deduce that The formula (52) then follows from (53), (55), (56). Of course, it remains to determine the matrix Ψ( , z) . Define the N row vectors 0 , … , N−1 where l = (0, … , 1, … , 0) with the 1 at the (l + 1)-th position. Proof For an epidemic starting with s = 0 , we have (Ψ( , z)) 0,j = j,0 exp(− 0 ) , so that which corresponds to (57) when s = 0 ( ∑ 0 . Consider now the case with s > 0 . To find (Ψ( , z)) s,j , we examine all the trajectories of the susceptible process which are possible between t = 0 and the first time when the number of susceptibles increases. These trajectories are in number l + 1 and of the form s → s − 1 → ⋯ → l → l + 1 for l = 0, … , s . Indeed, for such a l, the number of susceptibles first decreases from s to l (without recovery in the interval), then a first recovery occurs which means a transition from l to l + 1 . With the previous notation (s) adapted here to (s) = ( (s) + )∕p(s) , s > 0 , we then obtain Using the exponential form (55) for Φ( , z, x) , this equality gives in which the inverse matrices exist as for (36). Substituting (56) for U ≡ U( , z) , (59) leads to the formulas (57), (58). That Ψ( , z) corresponds to the minimal non-negative solution of (57) can be deduced using standard arguments (see e.g. Bean et al. (2005) ). Analogously to Section 3, different techniques allow the numerical evaluation of Ψ( , z) . For example, this matrix can be obtained as the limit where Ψ (0) ( , z) = 0 and Ψ (k+1) s ( , z) , k ≥ 0 , is given by the following recursion from (57), In particular, the probability that the ruin will occur, i.e. P(T r < T | S 0 = n, R 0 = u) , follows from (52) with = 0 and z = 1 , after having summed over all possible states j of S T r . The unknown matrix Ψ(0, 1) is then evaluated from Proposition 4.2 via the previous recursion. With Annuity Benefit An insurance contract can provide for both an annuity and lumpsum benefits. Under the same notation as before, the fair premium level is obtained from (19) and (43) by Moreover, the last expectation in (60) is still given by (44) with the right-hand side of (47). Combining (22) and (49), the associated reserve process is defined as When the variables E l,k are distributed exponentially in (61), the problem of ruin can be analyzed by distinguishing the cases where the ruin is due to the payment of a lump-sum or not, then adapting the previous reasoning. This leads to heavy writing in the formulas, and we do not report the results here for the sake of brevity. A company could offer an insurance contract for normal times as well as additional coverage for epidemic episodes. In the current framework, this would lead to examining an insurance contract for a regenerative extension of the SIS type model. The objective of this section is precisely to study such a process, this time using a Brownian reserve process. More precisely, we consider a risk process involving a closed population of N individuals and which alternates between two regimes, normal or epidemic. • In the normal regime, there is no spread of infection, so everyone is in good health (with regard to the infectious disease). The reserve then evolves as a Brownian motion of drift c(N) and of variance 2 (N) > 0. • In the epidemic regime, part of the population becomes infected and transmits the disease to others through an SIS schema. The evolution of reserve is here also described by a Brownian motion but its parameters now depend on the state of the population: when there are s susceptibles present, the drift of the Brownian motion is c(s) and its variance is 2 (s) > 0. During a normal regime, an epidemic can occur at the rate e . If this happens, a certain number of people are instantly infected: these are the I 0 infectives of the epidemic. So, the number of starting susceptibles S 0 = N − I 0 is a random variable of distribution where The model thus switches to the epidemic regime, and it will remain in this situation until the end of the epidemic, i.e. when the N individuals are all susceptible. Then, it returns to the normal regime until the next outbreak, and so on. Consequently, the susceptible process {S(t), t ≥ 0} is described by a Markov-modulated Brownian motion whose generator is the matrix T of dimension (N + 1) × (N + 1) given by where, as before, (s) and (s) are the global infection and recovery rates in presence of s susceptibles. For s < N , we set (s) = (s) + (s) with s < N , all the other rates being strictly positive. Note that the state N is no longer absorbing. Also, when e = 0 , this model is a variant of the one in Section 3 in which the reserve process is now Brownian instead of piecewise linear. The reserve evolves as a Brownian motion of drift and variance depending on the state of the population. When S t = s , the drift c(s) roughly represents the premium rate p(s) minus the reimbursement rate r(s). It is natural to assume that c(s) increases with s, but no further assumption is required here. The variance 2 (s) takes into account the relative uncertainty in premium collection and care payments. For example, it could be set independently of s, or be of the form 2 1 s + 2 2 (N − s) if each susceptible or infective generates some noise. A central problem for insurance is determining a premium rate p(s) given a premium structure. In a simplified approach, it is reasonable to assume that the hedge rates r(s) and the variances 2 (s) can be estimated by the company. A priori, there are (at least) two different ways to set the premium. A first criterion consists in applying the Equivalence Principle to each epidemic period. So, every time an epidemic is triggered, the expected net gain for the company must be equal to 0. This implies that the fair premium satisfies the condition Another criterion is to ask that the mean stationary drift of the reserve process, d ⋆ , is equal to 0. An advantage here is that episodes under normal regime are taken into account and the expected net gain of the company is 0 in the long run. In this case, the fair premium satisfies the equation where the vector v is the stationary distribution for the generator T defined in (62) (i.e. such that vT = 0). Consider the problem of ruin with this Brownian regenerative epidemic process. Ruin is generally not certain, in fact it will occur almost surely in finite time iff d ⋆ ≤ 0 . We will determine a transform similar to the one in the previous sections but including an additional random variable J T r which counts the epidemics triggered before the ruin. For convenience of notation, set (N) = e and define, for J T r , Proposition 5.1 Let ≥ 0 and z, w ∈ (0, 1] . Starting with n susceptibles and a reserve Proof We use the following standard result: if {B(t), t ≥ 0} is a Brownian motion with drift c(s) and variance 2 (s) , and is an independent exponential variable of parameter (s) + , then the two random variables are independent and exponential of respective parameters s and s given by (63) (see e.g. Corollary 45.8 in Sato (1999) ). The exponential form in the right hand side of (64) is justified as before. Now, in the iterative scheme above, the matrix exp(U (k) x) gives the transform considered in (64) but when there are restrictions on the sample paths allowed until the end of the epidemic. These constraints are defined recursively for k = 0, 1, … as follows. First, the matrix U (0) is defined as where denotes the first transition time of the susceptible process. In other words, the additional constraint is that ruin must occur before any infection or recovery. We can easily see that U (0) = −diag( 0 , … , N ) as indicated in the above statement. Next, assuming U (k) known, we define U (k+1) , k ≥ 0 , such that (exp(U (k+1) x)) s,j gives the transform (64) under new constraints. Starting from level x, the reserve process evolves normally until the first transition time of the susceptible process. During this period, the reserve process will have attained some minimum x − Z 1 before leaving at the higher level x − Z 1 + Z 2 when the first infection or recovery occurs. Here, Z 1 and Z 2 are the random variables defined in (67) and which are independent and exponential of parameters s and s , respectively. Then, the first return to level x − Z 1 must be done by one of the sample paths allowed by the restrictions imposed on U (k) . From this construction, we condition on (Z 1 , Z 2 ) = (y 1 , y 2 ) to write that, when there are 0 ≤ s < N initial susceptibles, and when s = N, It suffices then to differentiate each side of these two equations with respect to x and to take x = 0 , which provides the announced formulas (65) and (66), the inverse matrices existing as for (36). Finally, the convergence of the algorithm follows directly from the physical interpretation of the constraints since the restrictions on the trajectories of the process disappear when k goes to ∞. By way of illustration, we examine in this section two particular epidemic models of SIS type. On the one hand, we will consider the classical logistic model where the overall infection and recovery rates are (s) = s(N − s) and (s) = (N − s) . On the other hand, we will generalize this model by supposing the transmission rate per infective no longer as a linear function s of the number of susceptibles, but as a power function s b with b > 0 of this number. Such a rate makes it possible to quantify the capacity of the disease to contaminate a whole set of susceptibles. So, when b < 1 (resp. > 1 ), having more than fewer susceptibles gives more (resp. less) safety. Another extension in the same vein could be a power function (N − s) a with a > 0 for the transmission rate per susceptible. These two e U (0) x s,j = e − T r z N T r w J T r S T r =j,T r < , l e U (k) y 2 e U (k+1) (x−y 1 ) l,j dy 1 dy 2 . cases have already been proposed by Severo (1969) for a SIR model and have since been discussed in numerous papers (see e.g. Gouriéroux and Lu (2020) and their references). The premium rates are assumed equal to p per susceptible, thus p(s) = ps . We start with a contract providing for an annuity benefit (Section 3). The coverage rates are taken equal to per infective, thus r(s) = (N − s) . Figure 1 gives the probability of ruin as a function of the number n of initial susceptibles for b = 1 (logistic), b = 0.9 (more safety) and b = 1.05 (less safety). The premium and coverage rates are p = 0.3 and = 1 with an initial reserve u = 100 , and the recovery and infection coefficients are = 1 and = 0.9∕N (left) or = 1.2∕N (right) for a population size N = 500 . As expected, we see that a higher value of b or results in a higher probability of ruin. Both graphs show that only a small range of n (neither too small nor too large) leads to a non-extreme probability of ruin (other than 0 or 1). For a similar model with b = 1 , b = 0.9 and b = 1.05 , Figure 2 gives the fair premium rate (left) and the corresponding probability of ruin (right) again as a function of S 0 = n . The parameters here are p (n) ⋆ given by (21), = 1 , u = 100 and = 1 , = 1∕N , N = 500 . We note that the fair premium depends rather strongly on the safety-in-number parameter b. However, for most values of n, the use of the fair premium rate leads to a very high probability of ruin. This is not really surprising since choosing the fair premium ensures that the net profit of the company over the entire epidemic will be zero. As the reserve increases sharply towards the end of the epidemic (when the number of susceptibles is close to N), it is normal that this is compensated earlier in the course of the epidemic by significant losses which will often result in the ruin. Thus, the Equivalence Principle provides a level of premium which may be insufficient if the main objective is to avoid ruin (for relatively small initial reserve). Another way to set the premium is to ask that the probability of ruin does not exceed a fixed threshold. This is what is illustrated with Figure 3 in the case of the logistic model. The probability of ruin is drawn as a function of the premium coefficient p when u = 1 (left) or u = 100 (right). The other parameters are = 1 and = 1 , = 1.2∕N , n = 490 , N = 500 . We observe that the probability of ruin remains high and relatively constant until the premium p approximately reaches the level of 0.2, then this probability suddenly jumps to zero. In such a situation, a premium amount slightly greater than 0.2 would therefore be advisable and would make ruin very unlikely. We finally compare the insurance risks for a contract in the logistic model with annuity benefit (Section 3) and with a lump sum benefit (Section 4) when an infected person receives the same coverage on average. Figure 4 gives the probability of ruin as a function of n (left) when u = 100 , or as a function of u when n = 350 (right). The other parameters are p = 0.3 , = 1 , = 1 and = 1 , = 1.2∕N , N = 500 . Note that 1∕ = ∕ , i.e. the average reimbursement per infective is indeed the same in both models. A significant difference is that with the annuity, the cost of an infected person is directly related to his period of infection, while with the lump-sum, this cost is independent of the duration of the infection. This tends to result in a higher probability of ruin in the latter case, as illustrated by both graphs. Note that the effect of n is again roughly all-or-nothing. These examples use special parameter values that have been chosen to highlight different possible situations. In reality, these parameters must of course be estimated, which poses new and interesting research questions. In addition, the size of the population N can be very large when considering a large company. The implementation of the formulas derived in the paper then takes a lot of time and approximation methods become useful, possibly necessary. Here we continued our previous work on the problem of ruin for an infectious disease of the SIR type (Lefèvre and Simon 2021) by considering the important alternative of an infectious disease of the SIS type. The epidemic situation in these two models is very different since in the case of SIR, the epidemic ends with a certain number of remaining susceptibles, while in the case of SIS, the entire population is ultimately infected. Nevertheless, to study the ruin problem, we were able to use in both cases matrix-analytic methods and similar probabilistic tools. The analysis for the current model turns out to be a little less cumbersome, which allowed us to also deal with regenerative epidemic episodes. Extensions of the modeling could take into account the intervention measures taken by the health authorities such as the isolation of infectives and the vaccination of susceptibles. It would certainly come in handy for practical purposes, especially now with the COVID-19 outbreak. In actuarial science, it is normal to incorporate a discount factor into costs and premiums. As an epidemic generally does not last long, the question seems to be less relevant in this setting. However, such a factor could be used but would require working with non-homogeneous transition rates. A threshold limit theorem for the stochastic logistic epidemic Hitting probabilities and hitting times for stochastic fluid flows Stochastic Epidemic Models with Inference A stochastic SIS infection model incorporating indirect transmission Approximating time to extinction for endemic infection models Actuarial applications of epidemiological models Epidemic compartmental models and their Insurance applications SIR model with stochastic transmission Epidemic risk and insurance coverage Ruin problems for epidemic insurance On the time to extinction in recurrent epidemics Extinction and Quasi-Stationarity in the Stochastic Logistic SIS Model Cham Severo NC (1969) Generalizations of some stochastic epidemic models Quasi-stationary distributions for discrete-state models Acknowledgements We thank the referees and the associate editor for their useful comments and suggestions. C. Lefèvre received partial support from the Chair DIALog sponsored by CNP Assurances.