See the code for computing the index of sensitivity to nonignorability: isni

I have code (in R or S) for

Real-time prediction of event counts in clinical trials
Power analysis for a range of analysis models
Statistical methods in health economics

You may contact me at either of my email addresses: