The Canadian Postsecondary Education Alcohol and Drug Use Survey
(CPADS) is one of the Statistics Canada PUMFs that MORIE supports out of
the box. Variable names, value codes, and survey weights differ across
cycles, so MORIE provides a canonical column contract and a
morie_canonicalize_cpads_data() helper to harmonise cycles
into a single analysis-ready tibble.
morie_cpads_contract() returns the canonical names,
value-code maps, and survey-weight columns. Using the contract is opt-in
— the estimators in MORIE do not require it — but it lets you write
analysis code once and run it across cycles unchanged.
survey-weighted vignette covers complex-sample
sampling (stratified, cluster, PPS), bootstrap CIs, and design
effects.causal-inference vignette covers the full ATE / ATT
/ ATC / AIPW / CATE / GATE estimator family.