• Open Access
    Original Article

    A machine learning approach to identify correlates of current e-cigarette use in Canada

    Rui Fu 1,2,3
    Nicholas Mitsakakis 1,4
    Michael Chaiton 1,2,3*

    Explor Med. 2021;2:74–85 DOI: https://doi.org/10.37349/emed.2021.00033

    Received: December 02, 2020 Accepted: February 04, 2021 Published: February 28, 2021

    Academic Editor: Richard M. Sherva, Boston University School of Medicine, USA

    This article belongs to the special issue The Biological Basis of Substance Use Disorders

    Abstract

    Aim:

    Popularity of electronic cigarettes (i.e. e-cigarettes) is soaring in Canada. Understanding person-level correlates of current e-cigarette use (vaping) is crucial to guide tobacco policy, but prior studies have not fully identified these correlates due to model overfitting caused by multicollinearity. This study addressed this issue by using classification tree, a machine learning algorithm.

    Methods:

    This population-based cross-sectional study used the Canadian Tobacco, Alcohol, and Drugs Survey (CTADS) from 2017 that targeted residents aged 15 or older. Forty-six person-level characteristics were first screened in a logistic mixed-effects regression procedure for their strength in predicting vaper type (current vs. former vaper) among people who reported to have ever vaped. A 9:1 ratio was used to randomly split the data into a training set and a validation set. A classification tree model was developed using the cross-validation method on the training set using the selected predictors and assessed on the validation set using sensitivity, specificity and accuracy.

    Results:

    Of the 3,059 people with an experience of vaping, the average age was 24.4 years (standard deviation = 11.0), with 41.9% of them being female and 8.5% of them being aboriginal. There were 556 (18.2%) current vapers. The classification tree model performed relatively well and suggested attraction to e-cigarette flavors was the most important correlate of current vaping, followed by young age (< 18) and believing vaping to be less harmful to oneself than cigarette smoking.

    Conclusions:

    People who vape due to flavors are associated with very high risk of becoming current vapers. The findings of this study provide evidence that supports the ongoing ban on flavored vaping products in the US and suggests a similar regulatory intervention may be effective in Canada.

    Keywords

    Electronic cigarettes, vaping, machine learning, classification tree

    Introduction

    Canada and the US have recently witnessed exponential growth of e-cigarette use (vaping), raising worldwide public health concern of a new nicotine epidemic [1, 2]. While some studies have shown the benefit of vaping in assisting with smoking cessation [35], evidence has also directly linked vaping to health conditions including respiratory irritations [6] and lung damage [7]. Indeed, the US Centers for Disease Control and Prevention reports 2,807 cases of vaping-related lung injury, including 68 deaths, as of February 2020 [8]. In September 2019, Canada confirmed its first case of severe pulmonary illness related to vaping, which involved a high school student [9].

    The majority of people who have tried vaping do not continue to use the device in the long run [10, 11]. It is therefore crucial to identify the small group of users who are likely to become long-term vapers as this may indicate vaping dependency that could lead to chronic health effects. Prior studies have suggested a set of characteristics that may be unique to current vapers, including female, younger age, use of a certain type of vaping device as well as initiating vaping due to attraction to flavors and lower cost [1115]. However, these results were yielded primarily by regression where multicollinearity is a concern. As person-level variables are usually correlated, e.g., younger people are easily attracted to e-cigarette flavors and are more likely to perceive vaping to have lower risks [16], it is difficult to isolate a set of independent predictors of current vaping using just regression. Hence, this issue warrants the use of more advanced statistical techniques.

    Identifying current vapers from people with an experience of vaping represents a supervised binary classification task in machine learning, a discipline of computer science with increasing popularity in health research [1719]. Compared with conventional regression, machine learning leverages computational power to reduce multicollinearity and improve the overall model performance. Applications of machine learning in tobacco research are emerging in recent years [2025], but so far, only one such application has been on vaping behaviours. In this Holland-based study, a random forest model was used in conjunction with cross-sectional survey data to classify adult exclusive vapers from dual users of both cigarettes and e-cigarettes [25]. Here we present a simpler and more intuitive machine learning model-a classification tree-to identify and understand the importance of person-level correlates of current vaping. In other fields of tobacco research, classification trees have demonstrated good performance in predicting the status of lab-verified smoking cessation status [20], adherence to nicotine replacement therapy [23] and use of tobacco within 30-min of waking up [21]. Hence, we aimed to verify the performance of classification tree in vaping research and to provide actionable implications on policy interventions regarding e-cigarettes in a Canadian context.

    Materials and methods

    Study design and sample

    This population-based cross-sectional study used data from the 2017 Canadian Tobacco, Alcohol, and Drugs Survey (CTADS) that included 16,349 Canadian residents aged 15+ (excluding institutional residents) from ten provinces (excluding Yukon, Northwest Territories and Nunavut) [26]. The CTADS is a well-validated survey with a range of studies being published using the 2017 data [2730]. We used the question, “Have you ever tried an electronic cigarette, also known as e-cigarette?” to identify all of the 3,059 respondents with an experience of vaping.

    Outcome

    A binary outcome variable was created to represent vaper type (current vs. former vaper). Respondents were defined as a current vaper if they answered, “every day” or “occasionally” to the question, “At the present time, do you use an electronic cigarette, also known as an e-cigarette every day, occasionally or not at all?” People responding “not at all” to the same question were former vapers.

    Candidate correlates

    A wide range of person-level characteristics were explored as potential correlates of vaper type. These 46 variables were mostly categorical, except for age and years of smoking that were continuous. These variables described demographics, socioeconomic factors, household information, health, vaping behaviours, substance use and perceived risk of vaping and smoking (see below).

    Statistical analysis

    We summarized the characteristics of current vs. former vapers and used two-sample tests (Fisher’s exact test, t-test or the Mann-Whitney U-test) to compare their distributions.

    Variable selection has been shown to be a necessary procedure prior to classification tree analysis to reduce the risk of model overfitting and spurious associations [20]. Hence, we used each candidate correlate to predict the odds of being a current vaper in a logistic mixed-effects model with a random intercept indicating provincially based random effects. This model estimates an unadjusted fixed effect for each correlate on all individuals and allows this effect to vary across provinces. Correlates associated with a significant fixed effect (using a 2-sided P-value < 0.05) were selected into the machine learning analysis. This procedure was performed on R using the “lme4” package [31].

    We followed the Classification and Regression Tree (CART) algorithm to develop a tree model to classify current and former vapers [32] using the R package “rpart” [33]. CART is a non-parametric method that develops a classification tree by recursive partitioning. In this tree, a node is where a splitting variable, X, and one of its level of value, c, divides the dataset into two regions, X ≤ c and X > c (or X = 0 and X = 1 for binary X), that correspond to the predicted classes of current and former vapers. An optimal splitting variable X and value c minimize the Gini Index at a node, which is an impurity criterion that measures how well a split correctly separates true current vapers from true former vapers (i.e. how “pure” the separation is). The splitting procedure terminates when a node contains < 5 data. “Pruning” of a tree is often necessary as a full tree may be excessively large and complicated that leads to model overfitting. Hence, a cross-validation method is used to identify an optimal number of splits that minimizes a cost complexity function of total misclassified cases with a penalized term for larger tree size. This procedure yields a tree with manageable size and interpretable structure while maintaining its performance.

    We used a ratio of 9:1 to randomly split the dataset into a training set (n = 2,753) and a validation set (n = 306). The training set was used to develop and to internally validate the model, while the validation set was used to establish model performance externally as it comprised independent data not used in model construction. Using the data from the training set, we first performed oversampling as the number of former vapers significantly exceeded that of current vapers (with a ratio of 4:1), causing concerns on outcome imbalance that may deter model performance. Hence, a random oversampling with replacement was conducted on current vapers on the training set so that their size was increased to be that of former vapers. We then developed a full tree using data from the oversampled training set to classify current and former vapers with the set of correlates selected from the logistic mixed-effects regression analysis. After that, the pruning procedure was performed using a ten-fold cross-validation method. Classification accuracy, specificity and sensitivity of the pruned tree were calculated during the cross-validation process to establish performance of the model on the training set. Finally, the pruned tree was applied to data from the validation set and accuracy, specificity and sensitivity were computed to demonstrate the external performance of the model.

    We assessed the performance of two parsimonious trees, including the one that only had the first split of the full tree and another one with the first two splits. This procedure was adopted from a recent machine learning paper that also used a classification tree to predict smoking cessation status in efforts of quantifying the significance of the top predictors in this model [20]. For both parsimonious tree models, we calculated their accuracy, sensitivity and specificity using data from the oversampled training set and from the validation set separately.

    Multiple imputation by chained equation [34] was used to address the very small portion of data missing from the dataset (totaled 1.0%). After visually confirming the assumption of missing at random, five imputed data copies were generated independently, and all analytical procedures were repeated on each of these data copies to compare results with our primary findings (Supplementary Material 1). Analyses were performed on R (version 3.5.1).

    Results

    Sample characteristics

    Of the 3,059 Canadians aged 15+ who reported to have tried vaping, their average age was 24.4 [standard deviation (SD) 11.0] years, with 41.9% of them being female, 8.5% of them being aboriginal and 74.3% residing in urban areas (Table 1). A total of 2,503 (81.8%) were former vapers and 556 (18.2%) reported to be current vapers.

    Comparing the characteristics of former and current vapers

    CharacteristicsFormer vapers n = 2,503, 81.8%Current vapers n = 556, 18.2%Total n = 3,059P-value
    Age, yr
      Mean ± SD24.9 ± 11.122.5 ± 10.724.4 ± 11.0< 0.001
      Median (IQR)21 (5)19 (5)21 (6)< 0.001
    Female sex1,075 (42.9%)207 (37.2%)1,282 (41.9%)0.02
    Province0.09
      Ontario461 (18.4%)73 (13.1%)534 (17.5%)
      Quebec352 (14.1%)74 (13.3%)426 (13.9%)
      Manitoba227 (9.1%)55 (9.9%)282 (9.2%)
      Alberta232 (9.3%)67 (12.1%)299 (9.8%)
      British Columbia191 (7.6%)48 (8.6%)239 (7.8%)
      Nova Scotia206 (8.2%)46 (8.3%)252 (8.2%)
      Saskatchewan216 (8.6%)42 (7.6%)258 (8.4%)
      New Brunswick221 (8.8%)54 (9.7%)275 (9.0%)
      Prince Edward Island148 (5.9%)42 (7.6%)190 (6.2%)
      Newfoundland249 (9.9%)55 (9.9%)304 (9.9%)
    Aboriginal214 (8.7%)46 (8.4%)260 (8.5%)0.91
    Urban residency1,855 (74.1%)418 (75.2%)2,273 (74.3%)0.64
    Highest education< 0.001
      Less than high school465 (18.6%)210 (37.8%)675 (22.1%)
      High school1,139 (45.5%)221 (39.7%)1,360 (44.4%)
      Non-bachelor certificate611 (24.4%)90 (16.2%)701 (22.9%)
      Bachelor’s degree or above251 (10.0%)25 (4.5%)276 (9.0%)
    Currently working1,718 (68.6%)340 (61.2%)2,058 (67.3%)0.001
    Married currently/previously475 (19.0%)76 (13.7%)551 (18.0%)0.004
    Living with a child under 15579 (23.1%)154 (27.7%)733 (24.0%)0.03
    Smoking allowed inside home179 (7.2%)41 (7.4%)220 (7.2%)0.93
    Vaping allowed inside home458 (18.3%)153 (27.5%)611 (20.0%)< 0.001
    Physical health0.30
      Excellent598 (23.9%)116 (20.9%)714 (23.3%)
      Very good or good1,740 (69.5%)401 (72.1%)2,141 (70.0%)
      Fair or poor162 (6.5%)39 (7.0%)201 (6.6%)
    Mental health0.22
      Excellent670 (26.8%)148 (26.6%)818 (26.7%)
      Very good or good1,551 (62.0%)332 (59.7%)1,883 (61.6%)
      Fair or poor277 (11.1%)76 (13.7%)353 (11.5%)
    Last vaping involved nicotine< 0.001
      Yes1,158 (46.3%)342 (61.5%)1,500 (49.0%)
      No940 (37.6%)182 (32.7%)1,122 (36.7%)
      Unsure405 (16.2%)32 (5.8%)437 (14.3%)
    Reasons of vaping
      Affordable223 (9.0%)109 (19.7%)332 (10.9%)< 0.001
      Allowed at home318 (12.8%)144 (26.0%)462 (15.1%)< 0.001
      Less harmful to oneself628 (25.3%)261 (47.2%)889 (29.1%)< 0.001
      Less harmful to others633 (25.5%)256 (46.3%)889 (29.1%)< 0.001
      Attraction to flavors786 (31.7%)327 (59.1%)1,113 (36.4%)< 0.001
      Help to quit smoking510 (20.6%)202 (36.5%)712 (23.3%)< 0.001
      Don’t smell333 (13.4%)146 (26.4%)479 (15.7%)< 0.001
      Similar to smoking219 (8.8%)76 (13.7%)295 (9.6%)0.001
      Acceptable by non-smokers575 (23.2%)226 (40.9%)801 (26.2%)< 0.001
      Curious1,995 (80.5%)359 (64.9%)2,354 (77.0%)< 0.001
      Others262 (10.5%)82 (15.0%)345 (11.3%)0.003
    Usual place to get e-cigarettes< 0.001
      Purchase by oneself628 (25.1%)246 (44.2%)874 (28.6%)
      Borrow/buy from friends/family1,839 (73.5%)307 (55.2%)2,146 (70.2%)
    Ever tried one of seven drugs*829 (33.1%)189 (34.0%)1,018 (33.3%)0.73
    Recreational use of prescription medications
      Pain reliever105 (4.3%)35 (6.4%)140 (4.6%)0.04
      Sedatives320 (12.9%)79 (14.4%)399 (13.0%)0.40
      Stimulants35 (1.4%)21 (3.8%)56 (1.8%)< 0.001
    Having smoked 100 cigarettes in lifetime902 (36.0%)186 (33.5%)1,088 (33.3%)0.27
    History of smoking, yr
      Mean ± SD4.1 ± 9.93.7 ± 9.14.0 ± 9.80.30
      Median (IQR)0 (3)0 (3)0 (3)0.02
    Type of cigarette smoker< 0.001
      Never smoked1,496 (59.8%)299 (53.8%)1,795 (58.7%)
      Former smoker737 (29.4%)215 (38.7%)952 (31.1%)
      Current daily/occasional smoker270 (10.8%)42 (7.6%)312 (10.2%)
    Ever used other tobacco products
      Cigar or little cigar1,556 (62.2%)362 (65.1%)1,918 (62.7%)0.21
      Tobacco pipe304 (12.1%)82 (14.7%)386 (12.6%)0.11
      Water pipe778 (31.1%)185 (33.3%)963 (31.5%)0.34
      Chewing tobacco496 (19.8%)147 (26.4%)643 (21.0%)0.001
    Type of alcohol drinker< 0.001
      Never/former drinker260 (10.4%)45 (8.1%)305 (10.0%)
      Current light drinker1,431 (57.2%)268 (48.2%)1,699 (55.5%)
      Current heavy drinker683 (27.3%)203 (36.5%)886 (29.0%)
    Type of cannabis user< 0.001
      Never used cannabis585 (23.4%)131 (23.6%)716 (23.4%)
      Former user1,222 (48.8%)329 (59.2%)1,551 (50.7%)
      Current user673 (26.9%)89 (16.0%)762 (24.9%)
    Perceived vaping/smoking behaviours to have moderate/great health risk
      Occasional smoking1,382 (55.2%)297 (53.4%)1,679 (54.9%)0.49
      Regular smoking2,421 (96.7%)545 (98.2%)2,966 (97.0%)0.11
      Occasional vaping845 (33.8%)125 (22.5%)970 (31.7%)< 0.001
      Regular vaping1,758 (70.2%)306 (55.0%)2,064 (67.5%)< 0.001
      Smoking during pregnancy2,435 (97.3%)537 (96.6%)2,972 (97.2%)0.85
      Vaping during pregnancy2,119 (84.7%)434 (78.1%)2,553 (83.5%)< 0.001
    Display full size

    The seven drugs include cocaine, heroin, salvia, hallucinogen, ecstasy, solvent and methamphetamine; IQR: inter-quartile range; yr: year

    The two groups of vapers differed significantly in their characteristics. Notably, current vapers were younger by 2-year on average (mean age = 22.5 vs. 24.9 years) and had lower education (high school or above: 60.4% vs. 79.9%). They were less likely to be female (37.2% vs. 42.9%), currently working (61.2% vs. 68.6%), having been or currently married (13.7% vs. 19.0%) or living with a child (27.7% vs. 23.1%). The most striking difference between the two groups was their perceived risk of vaping. Current vapers were less likely to consider vaping occasionally (22.5% vs. 33.8%), regularly (55.0% vs. 70.2%) or during pregnancy (78.1% vs. 84.7%) to have moderate/great risks rather than no/slight risks.

    Performance of the classification tree

    Twenty-nine correlates were identified by the logistic mixed-effects regression analysis to be potentially important (Table 2; full results see Supplementary Material 2).

    Significant correlates yielded by the mixed-effects regression analysis

    VariablesReference levelOR*95% CIP-value
    AgePer 1-year increase0.980.97–0.99< 0.001
    SexFemale vs. male0.780.65–0.95< 0.001
    Marital statusCurrently/previously married vs. never married0.670.52–0.870.003
    EducationHigh schoolvs. less than high school0.440.36–0.55< 0.001
    Non-bachelor certificate0.340.26–0.44< 0.001
    Bachelor’s degree or above0.230.15–0.36< 0.001
    Currently workingYes vs. no0.720.60–0.870.001
    Living with childrenYes vs. no1.271.03–1.560.02
    Vaping allowed at homeYes vs. no1.701.37–2.10< 0.001
    Type of cigarette smokerFormer smokervs. never smoked1.471.20–1.78< 0.001
    Current smoker0.780.55–1.100.15
    Using nicotine in last vapeYesvs. no1.521.24–1.85< 0.001
    Unsure0.400.27–0.60< 0.001
    Reasons of vapingAffordableYes vs. no2.521.96–3.25< 0.001
    Allowed at home2.481.97–3.11< 0.001
    Less harmful than smoking to oneself2.742.25–3.32< 0.001
    Less harmful than smoking to others2.612.15–3.17< 0.001
    Attraction to flavors3.262.68–3.97< 0.001
    Help to quit smoking2.251.84–2.74< 0.001
    Don’t smell2.341.87–2.92< 0.001
    Similar to smoking1.661.26–2.20< 0.001
    Acceptable to non-smokers2.351.93–2.86< 0.001
    Curious0.470.38–0.57< 0.001
    Others1.501.15–1.960.003
    Usual place to get e-cigarettesPurchase by oneself vs. buy/borrow from family/friends2.401.98–2.90< 0.001
    Type of cannabis userCurrent uservs. never tried cannabis1.200.96–1.500.11
    Former user0.590.44–0.780.001
    Type of alcohol drinkerCurrent light drinkervs. lifetime abstainer and former drinker0.850.65–1.120.25
    Current heavy drinker1.361.02–1.800.04
    Ever tried chewing tobaccoYes vs. no1.451.17–1.80< 0.001
    Recreational use of pain medicationsYes vs. no1.541.04–2.280.03
    Recreational use of stimulantsYes vs. no2.791.61–4.84< 0.001
    Perceived risks of vapingOccasionallyModerate/great risk vs. no/slight risk0.570.46–0.70< 0.001
    Regularly0.520.43–0.62< 0.001
    During pregnancy0.650.51–0.81< 0.001
    Display full size

    The mixed-effects models used province of residence as a random intercept; OR: odds ratio; CI: confidence interval

    Using these correlates, a classification tree (Figure 1) was developed and pruned with a final form comprising just three predictors-attraction to vaping flavor (yes/no), age (with 18-years being chosen as the optimal threshold; age < 18 or age ≥ 18) and believing vaping was less harmful than smoking to oneself (yes/no). Using cross-validation, the accuracy, sensitivity and specificity of this tree model on the training set was 0.71 (95% CI 0.65–0.77), 0.70 (95% CI 0.61–0.76) and 0.71 (95% CI 0.66–0.73), respectively. Applying this model to data from the validation set yielded accuracy, sensitivity and specificity of 0.72, 0.65 and 0.73.

    Classification tree. r_flav = 0: if the reason for using e-cigarette is not attraction to flavor, otherwise = 1; r_hs = 0: if the reason for using e-cigarette is not due to a belief that vaping is less harmful to oneself than cigarette smoking, otherwise = 1

    Correlates of current vaping and importance

    The tree model used attraction to flavor as the first splitting variable, followed by age as the second splitting variable and believing vaping to be less harmful than smoking to oneself as the third splitting variable. People who reported to vape due to flavors were predicted to have the highest probability (0.64) of being a current vaper. Among those who vaped for other reasons, minors with ages < 18 had the second highest probability (0.63) of vaping currently. For adults who did not vape for flavors, their probability of current vaping could reach a high of 0.60 if they believed vaping to be less harmful than cigarette smoking to users and otherwise was a low of 0.26 if they did not have such health belief.

    In order to understand the importance of the top two correlates (attraction to flavor and age), we compared the performance of the full tree to two parsimonious trees that comprised only the first split (attraction to flavor) or the first two splits (attraction to flavor and age; Table 3). Using data from the oversampled training set, classification accuracy and specificity were the highest in the full tree, but sensitivity was the highest in the 2-split tree that used only attraction to flavor and age for prediction (sensitivity = 0.74 vs. 0.70). Similar results were observed on the validation set where the 2-split tree exceeded the full tree in terms of sensitivity (sensitivity = 0.67 vs. 0.65). However, in general, improvement of model performance from a 1-split tree to a 2-split tree to the full tree was minor (Table 3).

    Performance of the classification tree models using only the first two splits

    Performance of the classification treeOversampled training set
    n = 4,506, including 2,253 current vapers and 2,253 former vapers
    Validation set
    n = 306, including 56 current vapers and 250 former vapers
    Tree compositionAccuracySensitivitySpecificityAccuracySensitivitySpecificity
    First split only0.640.600.680.670.560.70
    First two splits0.660.740.600.630.670.62
    Full tree0.710.700.710.720.650.73
    Display full size

    Sensitivity analysis

    Five imputed data copies were generated using the multiple imputation by chained equation method after visual inspection confirmed the assumption of missing at random (Supplementary Material 1). All analytical procedures were repeated on the five imputed datasets and the same classification tree involving attraction to flavor (first-split), age (second-split) and believing vaping to be less harmful than smoking to oneself (third-split) was reached at each iteration. Hence, we conclude the tree model is generally insensitive to missing data.

    Discussion

    We applied machine learning to data collected from a nationally representative sample of Canadians aged 15+ with vaping experience to understand correlates of the current use of the device. A classification tree model was developed and validated with good performance. This model identified vaping due to attraction to flavors to be the most important correlate of current vaping, followed by young age < 18 and vaping with a belief that it was less harmful to oneself than cigarette smoking. Furthermore, we found strong predictive power of the first two correlates, as the 2-split tree demonstrated comparable performance with the full tree.

    Our findings confirmed the vital role of e-cigarette flavors on vaping behaviours. In our sample, attraction to flavors was the second most commonly reported reason for vaping (36.4%), following curiosity (77.0%). This observation coincided with a large body of literature that suggested flavors recruited people, especially young people, to start vaping [12, 15, 3538]. Furthermore, we found some evidence that the attraction to flavors may motivate long-term vaping, which added to the findings of a recent US study that established flavors to be a key part of vaping addiction [15]. These results provide support for bans on flavored e-cigarettes, as seen in some states in the US. In comparison, Canada is slow to action on curbing the epidemic of flavored vaping. Federal-level regulations have prohibited certain e-cigarette flavors, including those with non-descriptive names (e.g., “Miami Heat”) and are suggestive of health benefits (e.g., vitamin flavor) [39]. A few provinces, including Ontario and Prince Edward Island, have announced plans to ban flavored e-cigarettes in 2021, but at this moment the sale of these products is largely legal in Canada [40, 41]. Our findings suggested a similar ban of all flavored vaping products may be effective in Canada at reducing the uptake and continued use of e-cigarettes.

    The classification tree algorithm determined 18-years to be an optimal cut-off value for the age variable and suggested that young people < 18 were associated with high probability of being a current vaper. There are two explanations for this finding: first, it is possible that some of these young people had just started vaping and were thereby more likely to be captured as current vapers in the survey. This speculation could be tested by controlling for a variable that measures the history of vaping, such as the age when started to vape. However, only 17.5% of our sample reported the age at vaping initiation, which impeded us to conduct any additional analysis. Second, it is possible that young age, or in our case, being a youth (aged 15–17), is indeed an important risk factor for long-term vaping. If so, our findings provided new insights into the profile of chronic vapers, which was previously deemed to comprise older, heavy smokers who wished to quit [42]. As youth may also continue vaping in the long run, effective programs that help youth vapers to quit at early phase of e-cigarette use are warranted to reduce their risks of progression to established vaping.

    Limitations

    Due to the cross-sectional nature of the survey data, we were unable to identify true predictors of current vaping, but rather important correlates. Future study with access to longitudinal data could outcome this limitation. Next, our analysis depends entirely on self-reported measures, which may introduce recall bias. However, we believe that the CTADS survey mechanism has been carefully constructed to ensure sufficient answer time for interviewees to adequately recall long-term memory. Third, there are other factors that we do not have access to, such as household income and neighborhood characteristics, that may influence the pattern of vaping. Future researchers with a more comprehensive tracking of people with vaping experiences, preferably through the use of linked administrative dataset, may provide additional insights. Finally, the data used for this study was collected in 2017, which was before the enactment of the Tobacco and Vaping Products Act (in May 2018) [43] and the legalization of recreational cannabis (in October 2018) [44] in Canada. Future researchers may leverage more recent data to explore the impact of these new regulations on vaping behaviours.

    In conclusion, by using a classification tree, we identified attraction to flavors to be one of the most important correlates of current vaping. This finding is relevant to future development of regulations on e-cigarettes as most flavored vaping products are still legal in Canada. Furthermore, interventions that target youths are needed to prevent their e-cigarette uptake and help those who have already initiated vaping to quit.

    Abbreviations

    CART:

    Classification and Regression Tree

    CI:

    confidence interval

    CTADS:

    Canadian Tobacco, Alcohol, and Drugs Survey

    SD:

    standard deviation

    Supplementary materials

    The supplementary materials for this article are available at:

    Declarations

    Author contributions

    RF and MC contributed conception and design of the study; RF obtained access to the dataset, performed the statistical analysis and wrote the first draft of the manuscript; NM contributed to methodology. All authors contributed to manuscript revision, read and approved the submitted version.

    Conflicts of interest

    The authors declare that they have no conflicts of interest.

    Ethical approval

    Not applicable.

    Consent to participate

    Not applicable.

    Consent to publication

    Not applicable.

    Availability of data and materials

    The dataset analyzed for this study is maintained by the Computing in the Humanities and Social Science (CHASS) at the University of Toronto available from: http://datacentre.chass.utoronto.ca/

    Funding

    This work was supported by the Canadian Institutes of Health Research, Catalyst Grant #172898. The funder had no role in the study design, collection, analysis or interpretation of the data, writing the manuscript, or the decision to submit the paper for publication.

    Copyright

    © The Author(s) 2021.

    References

    Hammond D, Reid JL, Cole AG, Leatherdale ST. Electronic cigarette use and smoking initiation among youth: a longitudinal cohort study. CMAJ. 2017;189:E132836. [DOI] [PubMed] [PMC]
    Hammond D, Rynard VL, Reid JL. Changes in prevalence of vaping among youths in the United States, Canada, and England from 2017 to 2019. JAMA Pediatr. 2020;174:797800. [DOI] [PubMed] [PMC]
    Biener L, Hargraves JL. A longitudinal study of electronic cigarette use among a population-based sample of adult smokers: association with smoking cessation and motivation to quit. Nicotine Tob Res. 2015;17:12733. [DOI] [PubMed] [PMC]
    Brown J, Beard E, Kotz D, Michie S, West R. Real-world effectiveness of e-cigarettes when used to aid smoking cessation: a cross-sectional population study. Addiction. 2014;109:153140. [DOI] [PubMed] [PMC]
    Hajek P, Phillips-Waller A, Przulj D, Pesola F, Myers Smith K, Bisal N, et al. A randomized trial of e-cigarettes versus nicotine-replacement therapy. N Engl J Med. 2019;380: 62937. [DOI] [PubMed]
    Chapman DG, Casey DT, Ather JL, Aliyeva M, Daphtary N, Lahue KG, et al. The effect of flavored e-cigarettes on murine allergic airways disease. Sci Rep. 2019;9:13671. [DOI] [PubMed] [PMC]
    Moritz ED, Zapata LB, Lekiachvili A, Glidden E, Annor FB, Werner AK, et al. Update: Characteristics of patients in a national outbreak of e-cigarette, or vaping, product use-associated lung injuries-United States, October 2019. MMWR Morb Mortal Wkly Rep. 2019;68:9859. [DOI] [PubMed] [PMC]
    Centers for Disease Control and Prevention. Outbreak of lung injury associated with e-cigarette use, or vaping; 2020 [cited 2020 Nov 3]. Available from: https://www.cdc.gov/tobacco/basic_information/e-cigarettes/severe-lung-disease.html
    Health Canada. Information update-health Canada warns of potential risk of pulmonary illness associated with vaping products; 2019 [cited 2020 Jul 29]. Available from: https://healthycanadians.gc.ca/recall-alert-rappel-avis/hc-sc/2019/70919a-eng.php
    Shiplo S, Czoli CD, Hammond D. E-cigarette use in Canada: prevalence and patterns of use in a regulated market. BMJ Open. 2015;5:e007971. [DOI]
    Delnevo CD, Giovenco DP, Steinberg MB, Villanti AC, Pearson JL, Niaura RS, et al. Patterns of electronic cigarette use among adults in the United States. Nicotine Tob Res. 2016;18:7159. [DOI] [PubMed] [PMC]
    Bold KW, Kong G, Cavallo DA, Camenga DR, Krishnan-Sarin S. Reasons for trying e-cigarettes and risk of continued use. Pediatrics. 2016;138: e20160895. [DOI] [PubMed] [PMC]
    Camara-Medeiros A, Diemert L, O’Connor S, Schwartz R, Eissenberg T, Cohen JE. Perceived addiction to vaping among youth and young adult regular vapers. Tob Control. 2020;[Epub ahead of print]. [DOI]
    Notley C, Ward E, Dawkins L, Holland R. The unique contribution of e-cigarettes for tobacco harm reduction in supporting smoking relapse prevention. Harm Reduct J. 2018;15:31. [DOI] [PubMed] [PMC]
    Landry RL, Groom AL, Vu TT, Stokes AC, Berry KM, Kesh A, et al. The role of flavors in vaping initiation and satisfaction among U.S. adults. Addict Behav. 2019;99:106077. [DOI] [PubMed] [PMC]
    Montreuil A, MacDonald M, Asbridge M, Wild TC, Hammond D, Manske S, et al. Prevalence and correlates of electronic cigarette use among Canadian students: cross-sectional findings from the 2014/15 Canadian Student Tobacco, Alcohol and Drugs Survey. CMAJ Open. 2017;5:E4607. [DOI]
    Morgenstern JD, Buajitti E, O’Neill M, Piggott T, Goel V, Fridman D, et al. Predicting population health with machine learning: a scoping review. BMJ Open. 2020;10:e037860. [DOI]
    Mak KK, Lee K, Park C. Applications of machine learning in addiction studies: a systematic review. Psychiatry Res. 2019;275:5360. [DOI] [PubMed]
    Sekercioglu N, Fu R, Kim SJ, Mitsakakis N. Machine learning for predicting long-term kidney allograft survival: a scoping review. Ir J Med Sci. 2020;[Epub ahead of print]. [DOI]
    Coughlin LN, Tegge AN, Sheffer CE, Bickel WK. A machine-learning approach to predicting smoking cessation treatment outcomes. Nicotine Tob Res. 2020;22:41522. [DOI] [PubMed] [PMC]
    Singh A, Katyan H. Classification of nicotine-dependent users in India: a decision-tree approach. J Public Health. 2019;27:4539. [DOI]
    Reps JM, Rijnbeek PR, Ryan PB. Supplementing claims data analysis using self-reported data to develop a probabilistic phenotype model for current smoking status. J Biomed Inform. 2019;97:103264. [DOI] [PubMed]
    Kim N, McCarthy DE, Loh WY, Cook JW, Piper ME, Schlam TR, et al. Predictors of adherence to nicotine replacement therapy: machine learning evidence that perceived need predicts medication use. Drug Alcohol Depend. 2019;205:107668. [DOI] [PubMed] [PMC]
    Suchting R, Hébert ET, Ma P, Kendzor DE, Businelle MS. Using elastic net penalized cox proportional hazards regression to identify predictors of imminent smoking lapse. Nicotine Tob Res. 2019;21:1739. [DOI] [PubMed]
    Romijnders KAGJ, Pennings JLA, van Osch L, de Vries H, Talhout R. A combination of factors related to smoking behavior, attractive product characteristics, and socio-cognitive factors are important to distinguish a dual user from an exclusive e-cigarette user. Int J Environ Res Public Health. 2019;16:4191. [DOI]
    Government of Canada. Canadian Tobacco, Alcohol and Drugs Survey (CTADS): summary of results for 2017; 2019 [cited 2019 June 14]. Available from: https://www.canada.ca/en/health-canada/services/canadian-tobacco-alcohol-drugs-survey/2017-summary.html
    Lowry DE, Corsi DJ. Trends and correlates of cannabis use in Canada: a repeated cross-sectional analysis of national surveys from 2004 to 2017. CMAJ Open. 2020;8:E48795. [DOI] [PMC] [PubMed]
    Reid J, Hammond D, Rynard V, Madill C, Burkhalter R. Tobacco use in Canada: patterns and trends. 2017 Edition. Waterloo (ON): Propel Centre for Population Health Impact, University of Waterloo; 2017.
    Azagba S, Baskerville NB, Foley K. Susceptibility to cigarette smoking among middle and high school e-cigarette users in Canada. Prev Med. 2017;103:149. [DOI] [PubMed]
    Mehra VM, Keethakumar A, Bohr YM, Abdullah P, Tamim H. The association between alcohol, marijuana, illegal drug use and current use of E-cigarette among youth and young adults in Canada: results from Canadian Tobacco, Alcohol and Drugs Survey 2017. BMC Public Health. 2019;19:1208. [DOI] [PubMed] [PMC]
    Bates D, Maechler M, Bolker B, Walker S, Christensen RHB, Singmann H, et al. Linear mixed-effects models using “Eigen” and S4; 2020 [cited 2020 Dec 1]. Available from: https://cran.r-project.org/web/packages/lme4/lme4.pdf
    Breiman L, Friedman J, Olshen R, Stone C. Classification and regression trees. 1st ed. Boca Raton (FL): CRC Press; 1984.
    Therneau T, Atkinson B, Ripley B. Rpart: recursive partitioning and regression trees. R Package Version. 2018:4.113.
    van Buuren S, Groothuis-Oudshoorn K. mice: multivariate imputation by chained equations in R. J Stat Soft. 2011;45:167.
    Zare S, Nemati M, Zheng Y. A systematic review of consumer preference for e-cigarette attributes: flavor, nicotine strength, and type. PLoS ONE. 2018;13:e0194145. [DOI] [PubMed] [PMC]
    Drazen JM, Morrissey S, Campion EW. The dangerous flavors of e-cigarettes. N Engl J Med. 2019;380:67980. [DOI] [PubMed]
    Morean ME, Butler ER, Bold KW, Kong G, Camenga DR, Cavallo DA, et al. Preferring more e-cigarette flavors is associated with e-cigarette use frequency among adolescents but not adults. PLoS One. 2018;13:e0189015. [DOI] [PubMed] [PMC]
    Gravely S, Cummings KM, Hammond D, Lindblom E, Smith DM, Martin N, et al. The association of e-cigarette flavors with satisfaction, enjoyment, and trying to quit or stay abstinent from smoking among regular adult vapers from Canada and the United States: findings from the 2018 ITC Four Country Smoking and Vaping Survey. Nicotine Tob Res. 2020;22:183141. [DOI] [PubMed] [PMC]
    Government of Canada. Vaping product regulation; 2019 [cited 2020 Oct 3]. Available from: https://www.canada.ca/en/health-canada/services/smoking-tobacco/vaping/product-safety-regulation.html
    CBC News. P.E.I. to ban flavoured vape, e-cigarette products effective March 1; 2020 [cited 2020 Oct 18]. Available from: https://www.cbc.ca/news/canada/prince-edward-island/pei-bans-vapes-ecigarette-flavours-1.5723962
    Weeks C. Ontario to ban flavoured vaping products from being sold in convenience stores. The Globe and Mail. 2020 Feb 4. Available from: https://www.theglobeandmail.com/canada/article-ontario-to-ban-flavoured-vaping-products-from-being-sold-in/
    Levy DT, Yuan Z, Li Y. The prevalence and characteristics of e-cigarette users in the U.S. Int J Environ Res Public Health. 2017;14:1200. [DOI]
    Government of Canada. Tobacco and vaping products act; 2018 [cited 2020 Oct 3]. Available from: https://www.canada.ca/en/health-canada/services/health-concerns/tobacco/legislation/federal-laws/tobacco-act.html
    Department of Justice Government of Canada. Cannabis legalization and regulation; 2018 [cited 2020 Oct 3]. Available from: https://www.justice.gc.ca/eng/cj-jp/cannabis/