
Calculate Naive (Unadjusted) Bucher Indirect Comparison
Source:R/calc_bucher_naive.R
calc_bucher_naive.RdCalculates the unadjusted indirect comparison between two active treatments via a common comparator using the standard Bucher method. Estimates are calculated on the link scale (e.g., log-odds) and back-transformed to the requested scale.
Arguments
- ipd_trial
Data frame containing the Individual Patient Data.
- ald_trial
Data frame containing the Aggregate Level Data.
- outcome_model
Formula specifying the outcome model (used to identify variables).
- family
A family object (e.g.,
binomial(link="logit")).- ref_trt
Character string identifying the common comparator treatment.
- scale
Character string specifying the desired output scale (e.g., "risk_difference").