Compute an unadjusted (naive) indirect treatment comparison by comparing crude outcomes from the IPD and AgD without any covariate adjustment. Returns treatment effect on the link scale plus absolute predictions (event probabilities, risk difference, risk ratio) for both populations.
Arguments
- data
An
mlumr_dataobject fromcombine_data()- link
Link function. For binomial:
"logit"(default),"probit", or"cloglog". For normal/poisson: ignored (identity/log always used). IfNULL, uses the canonical default.- conf_level
Confidence level for the interval (default 0.95)
Details
For binomial outcomes, event-probability intervals use Wald standard errors
and are bounded to [0, 1]. For Poisson outcomes, the log-rate contrast
uses a 0.5 continuity correction when an observed event count is zero.
Examples
if (FALSE) { # \dontrun{
result <- naive(dat)
print(result)
} # }
