add example from https://github.com/cukarthik/IUDEstimationStudy/blob/master/R/AdditionalAnalysis.R#L27