skip to content National Cancer Institute U.S. National Institutes of Health www.cancer.gov
Division of Cancer Prevention logo
Home Site Map Contact DCP
Skip to subnavigation.
Programs & Resources
Skip to main content.

Biometry Research Group

Statistical Software

Missing Binary Outcome with an Auxiliary Variable and All-or-None Compliance

(written by Stuart G. Baker)

These files are based on the manuscript by Baker SG. Analyzing a randomized cancer prevention trial with a missing binary outcome, an auxiliary variable, and all-or-none compliance. Journal of the American Statistical Association 2000;95:43-50.

It runs in Mathematica 3.0 and requires the files listed below.

Downloads

  • modall.m (m, 2kb) - Main program (which loads others)
  • modcorA.m (m, 13kb) - Model A core program
  • modA.m (m, 5kb) - Model A
  • modcorAM.m (m, 23kb) - Model AM core program
  • modcorC.m (m, 13kb) - Model C core program
  • modC.m (m, 4kb) - Model C
  • modcorAC.m (m, 23kb) - Model AC core program
  • modAC.m (m, 6kb) - Model AC
  • modvar.m (m, 10kb) - Functions for some variance calculations (MP transformation)
  • modsim.m (m, 4kb) - Functions for simulations

To reproduce the calculations in the manuscript load modall.m and use the functions:

modA[{1.2,1}, n, "NUL"], modA[{1.2,1.1}, n, "ALT"],
modC[{1.2}, n, "NUL"], modC[{1.2}, n, "ALT"], modAC[{1.2,1}, n, "NUL"], modAC[{1.2,1.1}, n, "ALT"].

The parameter n is the number of simulations where n=0 gives an analytic approximation only. The value 1.2 is the ratio of the probability of missing given finasteride to the probability of missing given placebo. The values 1 and 1.1 are the ratios of true positive rates in the finasteride group to those in the placebo group.