Due to convergence issue, I need help with model-based standardization or parametric g-formula for marginal risk difference estimation in Stata. Currently, I use binreg and qreg2. Thanks.
My current commands:
*number of patients with adverse events
binreg adverse_events group sex age, rd vce(cluster site)
*number of adverse events
qreg2 weekly_qs_adverse_events age sex group, cluster(site)
Best wishes
Behnam Liaghat
My current commands:
*number of patients with adverse events
binreg adverse_events group sex age, rd vce(cluster site)
*number of adverse events
qreg2 weekly_qs_adverse_events age sex group, cluster(site)
Best wishes
Behnam Liaghat
Comment