Asthma Exacerbations Model¶
Data¶
Population Data¶
We use the Statistics Canada population data that was generated and saved as: processed_data/birth/initial_pop_distribution_prop.csv.
Column |
Type |
Description |
|---|---|---|
|
|
the starting date / time of the time interval that the data applies to |
|
|
the age of the person in years |
|
|
the province of the person
(e.g., |
|
|
the number of people in a given age group, time interval, province, and projection scenario |
|
|
the number of births in that time interval, province, and projection scenario |
|
|
the proportion of the population in that age group, time interval, province, and projection scenario relative to the number of births in that time interval, province, and projection scenario |
|
|
the proportion of the population in a given age group, time interval, province, and projection scenario who are male |
|
|
the projection scenario used to generate the data |
Occurrence Data¶
We use the occurrence data that was generated and saved as: processed_data/asthma_occurrence_predictions.csv
See Occurrence Model 1: Crude Occurrence for more details about this dataset.
Column |
Type |
Description |
|---|---|---|
|
|
the starting date / time of the time interval that the data applies to |
|
|
|
|
|
the age of the patient in years |
|
|
the predicted asthma incidence for the given time interval, age, and sex |
|
|
the predicted asthma prevalence for the given time interval, age, and sex |
Hospitalization Data¶
The data is from the Hospital Morbidity Database (HMDB) from the
Canadian Institute for Health Information (CIHI).
The hospitalization data was collected from patients presenting to a hospital in Canada due to an asthma exacerbation. We will use this data to calibrate the exacerbation model.
The hospitalization rate in this table is the hospitalization rate per 100 000 people.
For example, in the category F_90+, the value would be the number of people hospitalized who
are female and over 90 during the given year. This can be calculated:
Column |
Type |
Description |
|---|---|---|
|
|
the year the data was collected |
|
|
the hospitalization rate for all ages and sexes in that year. |
|
|
the rate for all ages who are male in that year. |
|
|
the rate for all ages who are female in that year. |
|
|
the rate for all sexes aged 0 in that year. |
|
|
the rate for all sexes aged 1 in that year. |
|
|
… |
|
|
the rate for all sexes aged 90 in that year. |
|
|
the rate for all sexes aged over 90 in that year. |
|
|
the rate for all females aged 0 in that year. |
|
|
… |
|
|
the rate for all females aged over 90 in that year. |
|
|
the rate for all males aged 0 in that year. |
|
|
… |
|
|
the rate for all males aged over 90 in that year. |
Model¶
The number of exacerbations in a given time interval is modelled using a Poisson distribution. The formula is:
Here \(\lambda\) is the expected number of exacerbations per time interval. To obtain \(\lambda\), we must perform a Poisson regression. The Poisson regression assumes that the value we are interested in can be approximated using the following formula:
where:
Variable |
Description |
|---|---|
\(\alpha\) |
the calibration multiplier that adjusts the model to match the hospitalization data |
\(\beta_0\) |
a constant randomly chosen from the normal distribution \(\mathcal{N}(0, 1)\) |
\(c_i\) |
relative time spent in control level \(i\) |
\(\beta_i\) |
control level constant calculated from the Control Model |
To calculate the \(\beta_i\) values, we consider the discrete random variable \(S\), which is the severity of an asthma exacerbation, and the continuous random variable \(R\), which is the rate of exacerbations per time interval.
Calibration¶
We are interested in calculating \(\alpha\). If we rewrite the equation, the meaning of \(\alpha\) becomes more apparent:
How do we obtain \(\alpha\)? We again assume that the mean value has the same form as in a Poisson regression, with the following formula:
\(\lambda_C\): the average number of exacerbations in a given time interval
\(c_i\): relative time spent in control level \(i\)
\(\beta_i\): control level constant
Here, the \(\beta_i\) values were calculated from the Economic Burden of Asthma (EBA) study and are given by:
The number of exacerbations predicted by the model is then:
\(N_{\text{asthma}}\): the number of people in a given time interval, age, sex with asthma
\(N\): the number of people in a given time interval, age, and sex
\(\eta_{\text{prev}}\): the prevalence of asthma in a given time interval, age, and sex, from Occurrence Model 1: Crude Occurrence
and number of hospitalizations is:
\(N_{\text{exac}}^{\text{(pred)}}\): the predicted number of exacerbations (of any severity) for a given time interval, age, and sex
\(P(\text{hosp})\): the probability of hospitalization due to asthma given the patient has an asthma exacerbation
Finally, \(\alpha\) can be computed: