Skip to contents

Generate Missing Data Handling Description

Usage

boilerplate_report_missing_data(
  estimators = c("lmtp"),
  grf_appendix = "C",
  baseline_wave,
  exposure_wave,
  outcome_wave,
  baseline_missing_data_proportion
)

Arguments

estimators

Character vector specifying the statistical estimators used.

grf_appendix

Character string specifying the appendix for GRF missing data handling.

baseline_wave

Character string specifying the baseline wave of the study.

exposure_wave

Character string specifying the exposure wave of the study.

outcome_wave

Character string specifying the outcome wave of the study.

baseline_missing_data_proportion

Numeric value indicating the percentage of missing data at baseline.

Value

A character string containing the missing data handling description in markdown format.

Examples

missing_data_text <- boilerplate_report_missing_data(
  estimators = c("lmtp", "grf"),
  grf_appendix = "D",
  baseline_wave = "NZAVS time 10, years 2018-2019",
  exposure_wave = "NZAVS time 11, years 2019-2020",
  outcome_wave = "NZAVS time 12, years 2020-2021",
  baseline_missing_data_proportion = 15
)