Skip to main content

Table 5 SAS computing code for counter-matched WECARE data (wecare.dat) as illustrated in Table 4

From: Study design: Evaluating gene–environment interactions in the etiology of breast cancer – the WECARE study

data wecare;

   infile 'wecare.dat';

   input id setno cc rrt m_rrt n_rrt true_rt rad_dose atm chemo;

   logw = log(n_rrt/m_rrt);

   rad_atm_int = rad_dose*atm;

run;

* Radiation treatment yes/no, use true RT value;

proc phreg data = wecare;

   model setno*cc(0) = true_rt/offset = logw;

   strata setno;

run;

* Radiation-AT mutation interaction model;

proc phreg data = wecare;

   model setno*cc(0) = rad_dose atm rad_atm_int/offset = logw;

   strata setno;

run;

  1. The input variables are as follows: id, subject identification no. (ID); cc, case = 1/control = 0; rrt, Registry radiation therapy (0 = RRT-,1 = RRT+); m_rrt, number sampled from RRT stratum; n_rrt, total in RRT stratum; true_rt, true radiation therapy (0 = TRT-,1 = TRT+); rad_dose, radiation dose; atm, ATM mutation (0 = non-carrier,1 = carrier); chemo, chemotherapy (0 = no chemotherapy,1 = chemotherapy).