Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block tyokota

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tslumley /
Last active Dec 17, 2017
predictive margins like SUDAAN does them

Predictive margins for generalised linear models in R

This code implements the thing that PREDMARG in SUDAAN does, as described in

  • Graubard B, Korn E (1999) "Predictive Margins with Survey Data" Biometrics 55:652-659
  • Bieler, Brown, Williams, & Brogan (2010) "Estimating Model-Adjusted Risks, Risk Differences, and Risk Ratios From Complex Survey Data" Am J Epi DOI: 10.1093/aje/kwp440
You can’t perform that action at this time.