We described participant characteristics and knowledge, attitudes and behavior variables using numbers and simple percentages. To estimate associations between: (1) personal characteristics and knowledge/attitudes; (2) personal characteristics and behavior; (3) knowledge/attitudes and behavior; and (4) knowledge/attitudes and being sunburnt, we calculated prevalence ratios (PRs) and 95% confidence intervals (95% CI) using log-binomial regression. In cases where the log-binomial model did not converge or was unable to estimate the covariance matrix, we used Poisson regression.
We used directed acyclic graphs to help identify additional potential confounders of the associations of interest, including propensity to sunburn, occupational status and history of skin cancer treatment. In multivariable analysis, we first applied a change in estimate approach (>10%) to decide whether to include or exclude a covariate in the final model. In addition, we repeated analyses separately for men and women to examine whether the associations of interest differed by sex. All analyses were performed using R version 4.1.2.