\[ M=\begin{bmatrix} 1-c & c & 0 \\r & 1-r & 0 \\s & 0 & 1-s \\\end{bmatrix} \]
The above matrix is the transition matrix for smoking states, where \(c\) represents the cessation rate per day, \(r\) represents the relapse rate per day, and \(s\) represents the starting rate (of smoking) per day.
We’ll let \(S_n\) represent the predicted state of the population at step \(n\), with starting state \(S_0 =\begin{bmatrix}0.115 \\ 0.25 \\ 0.635\end{bmatrix}\).
We must find values for \(c, s, r \in \mathbb{R}\) such that \(S_n \approx S_0\) as \(n\) goes to some relatively high number.
\(S_n\) can be computed using the transition matrix \(M\) and the initial state, \(S_0\), as follows:
\[ S_n=(M^T)^nS_0 \]
With the assumption that the Never smoking state is
isolated from the rest, we can set \(s=0\).
Given \(c, s, r\) we can compute what \(S_n\) is expected to be given a starting state of \(S_0\), with the following code:
rm(list=ls())
library("expm") # lets us raise matrices to a power
## Loading required package: Matrix
##
## Attaching package: 'expm'
## The following object is masked from 'package:Matrix':
##
## expm
smoking_states <- c("Current", "Former", "Never")
S_0 <- c(0.115, 0.617, 0.268) # starting state
sum(S_0) # = 1
## [1] 1
ratio = S_0[1] / S_0[2]
c = 0.001 # cessation rate per day
r = 0.001 * ratio # relapse rate per day
s = 0.000 # starting rate per day
r / c
## [1] 0.1863857
M = matrix(c(1-c, r, 0, c, 1-r, 0, s, 0, 1-s), nrow=3, dimnames=list(smoking_states, smoking_states))
M_t = t(M) # transpose matrix
M_t
## Current Former Never
## Current 0.999 0.0001863857 0
## Former 0.001 0.9998136143 0
## Never 0.000 0.0000000000 1
after3Days = (M_t %^% 3) %*% S_0
after10Days = (M_t %^% 10) %*% S_0
after100Days = (M_t %^% 100) %*% S_0
after1000Days = (M_t %^% 1000) %*% S_0
after3Days
## [,1]
## Current 0.115
## Former 0.617
## Never 0.268
after10Days
## [,1]
## Current 0.115
## Former 0.617
## Never 0.268
after100Days
## [,1]
## Current 0.115
## Former 0.617
## Never 0.268
after1000Days
## [,1]
## Current 0.115
## Former 0.617
## Never 0.268
We can see that as long as \(\frac{r}{c} = \frac{115}{617}\), the population of current and former smokers should stay consistent.
According to the CDC, 55.1% of adult smokers attempted to quit in the past year in 2018. From that, we can calculate the daily cessation rate \(c = \frac{0.551}{365 \text{ days}} = 0.00150958904\).
The same data also shows that only 7.5% of adult smokers successfully quit in the past year in 2018. We can compute that \(55.1 - 7.5 = 47.6\%\) of smokers relapsed in the past year, giving a daily relapse rate of $r = =
0.00130411$.
Using these numbers, the population of smokers will not stay constant:
c = 0.00150958904
r = 0.00130411
s = 0
M = matrix(c(1-c, r, 0, c, 1-r, 0, s, 0, 1-s), nrow=3, dimnames=list(smoking_states, smoking_states))
M_t = t(M)
after1000Days = (M_t %^% 1000) %*% S_0
after1000Days
## [,1]
## Current 0.3258725
## Former 0.4061275
## Never 0.2680000
This prediction goes against what we are actually observing, that is,
smoking rates dropping. The reason for this is probably because those
who attempt to quit are very likely to relapse for the first year, but
as time goes on become more and more likely to stay Former
smokers.
To account for this, we can compute the relapse rate using the cessation rate to keep the aggregate population rates stable. \(r = c * \frac{115}{617}=0.0002813659\).
c = 0.00150958904
r = c * (115 / 617)
s = 0
M = matrix(c(1-c, r, 0, c, 1-r, 0, s, 0, 1-s), nrow=3, dimnames=list(smoking_states, smoking_states))
M_t = t(M)
after1000Days = (M_t %^% 1000) %*% S_0
after1000Days
## [,1]
## Current 0.115
## Former 0.617
## Never 0.268
We’ll define 3 states pertaining to AUD: current,
former, and never.
From this source,
29.1% of adults meet lifetime AUD criteria. From this source source,
11.3% of adults currently have AUD. With those numbers, we can set
former AUD at 17.8% (29.1 - 11.3) and never
AUD at 70.9% (100 - 29.1).
According to this source, individuals with AUD transition as follows after one year:
From this we can derive yearly transitions from AUD: AUD->AUD: 34.2%, AUD->Former: 65.8%. The daily cessation rate for AUD is as follows: \(c = \frac{0.658}{365 \text{ days}}=0.00180274\).
Similar to the smoking transition rates, to maintain the population at stable proportions of AUD, we can solve for the relapse rate our model needs: \(r = c * \frac{113}{178}\).
AUD_states = c("AUD", "Former", "Never")
c = 0.658 / 365 # cessation
r = c * (113/178) # relapse
s = 0 # starting AUD
S_0 = c(.113, .178, .709)
sum(S_0)
## [1] 1
M = matrix(c(1-c, r, 0, c, 1-r, 0, s, 0, 1-s), nrow=3, dimnames=list(AUD_states, AUD_states))
M_t = t(M)
after1000Days = (M_t %^% 1000) %*% S_0
after1000Days
## [,1]
## AUD 0.113
## Former 0.178
## Never 0.709
In order to initialize the population with the conditional
probabilities, we need to have conditional probabilities for
former AUD as well. We can set values for \(P(F | T)\) and \(P(F | T^C)\) so that they satisfy the
equation \(0.178 = 0.115 * P(F | T) + 0.885 *
P(F | T^C)\), which should bring the population’s initial
former population to around 17.8%.
I’ll choose the values \(P(F | T) = 0.26\) and \(P(F | T^C) = 0.167\).
Similarly, we can solve for \(P(AUD | T^C)\). \[\begin{align} P(AUD)&=P(AUD | T)P(T) + P(AUD | T^C)P(T^C) \\ 0.113 &= 0.267826087 * 0.115 + P(AUD | T^C) * 0.885 \\ P(AUD | T^C) &= 0.09288136 \end{align}\]
When we use separate transition matrices, the co-use dynamic will fade with time and AUD and tobacco will seem to become independent as the simulation runs.
As there are no agent-agent or agent-environment interactions, we can prove that the model is expected to behave this way by constructing a 9x9 transition matrix to represent it.
co_use_states = c("Current-Current","Current-Former","Current-Never","Former-Current","Former-Former","Former-Never","Never-Current","Never-Former","Never-Never")
starting_alc = c(.113,.178,.709)
starting_tobacco = c(0.115, 0.617, 0.268)
S_0 = matrix(starting_tobacco, 3, 1) %*% matrix(starting_alc, 1, 3)
S_0 = c(S_0)
S_0
## [1] 0.012995 0.069721 0.030284 0.020470 0.109826 0.047704 0.081535 0.437453
## [9] 0.190012
One way to solve this, instead of calculating a 9x9 transition matrix that takes into account the conditional probabilities, is to adjust the relapse and cessation rates of smoking and tobacco to better represent the conditional probabilities.
We need the overall relapse rate of AUD to be 0.001144436. We can break it up like so: \[\begin{align} P(R) &= P(R | T)P(T) + P(R | T^C)P(T^C) \\ 0.001144436 &= 0.115x + 0.885y \end{align}\]
To maintain \(P(AUD | T) = 0.267826087\), we need \(\frac{P(AUD | T)}{P(AUD | T^C)}=\frac{0.267826087}{0.09288136} = 2.883529\) to be the ratio of \(x:y\).
Solving this system of equations we get \(y=0.0009406792\) and \(x=0.002712476\).
Another option is to look at observed data.
From this source:
“In the fully adjusted model (Model 5), Wave 1 daily smokers had 17%
greater odds of relapsing to alcohol abuse (95% CI: 1.02–1.34), and 54%
greater odds of relapsing to alcohol dependence (95% CI: 1.38–1.71)
compared to Wave 1 non-smokers. Non-daily smokers had 87% greater odds
of relapsing to alcohol abuse (95% CI: 1.65–2.12), and 95% greater odds
of relapsing to alcohol dependence (95% CI: 1.53–2.49) compared to Wave
1 non-smokers.”
AUD’s effect on smoking relapse / cessation