Data analysis
CMO
EVENTS, SECONDARY
Quantitative data, such as primary outcomes of adherence rate, or the secondary survey outcomes, were analysed using the IBM SPSS Statistics version 26.0. The means, mean differences and 95% confidence intervals (CI) were reported for continuous data, and a count (number, %) was reported for nominal data. Pre- to post-intervention scores for secondary outcomes were compared using the paired sample t-test, and Cohen's d was calculated as a measure of effect size and was interpreted as small (d = 0.2), medium (d = 0.5), and large (d = 0.8) [The research team then integrated and evaluated the outcomes of the feasibility trial according to the identified CMO configuration. Recurring resources or contexts in which the programme took place that the residents or activity coordinators described as helpful or influential (or not) were considered as a Context (C) or Mechanism (M). These descriptors generated the overarching themes of the CMO configuration. The researchers then used these interactions as contextual narratives to identify why residents responded as they did. Accordingly, the research team, the AG, and the stakeholders discussed interpretations of actions or events. These interpretations were then tested by seeking data to either support or contradict the statements (either via data on current events or from the interviews and focus groups). Finally, these interpretations were considered when refining the programme theory for future implementation. The discussion section elaborates further on these refinements. Figure Process of the realist evaluation