23.10.2012 Views

View PDF Version - RePub - Erasmus Universiteit Rotterdam

View PDF Version - RePub - Erasmus Universiteit Rotterdam

View PDF Version - RePub - Erasmus Universiteit Rotterdam

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3.2<br />

170<br />

Table 4. Structure of the data.frame with the data to be used in R: id is identifi cation of patient, time is time<br />

of the visit in months, age is age at baseline, dosis is dosis of UDCA medication, bili, albu, ap are obtained<br />

values of longitudinal markers.<br />

id time age dosis bili albu ap<br />

1 0.00 52.38 600 0.64 1.22 3.24<br />

1 1.84 52.38 600 0.50 1.14 1.69<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

and τ corresponding to visit times of these new patients (given in column time of<br />

the data.frame DataNew) are computed using:<br />

clust ¡- GLMM˙longitDA(mod = list(mod0, mod1),<br />

·<br />

·<br />

·<br />

w.prior = c(0.8, 0.2),<br />

y = DataNew[, c(”bili”, ”albu”, ”lap”)],<br />

id = DataNew[, ”id”],<br />

time = DataNew[, ”time”],<br />

xz.common = TRUE,<br />

x = list(bili = DataNew[, c(”age”, ”dosis”)],<br />

albu = DataNew[, c(”age”, ”dosis”)],<br />

lap = DataNew[, c(”age”, ”dosis”)]),<br />

z = list(bili = DataNew[, ”time”],<br />

albu = DataNew[, ”time”],<br />

lap = DataNew[, ”time”]))<br />

·<br />

·<br />

·<br />

1 119.69 52.38 1200 NA 1.26 1.25<br />

2 0.00 52.72 600 4.14 1.19 9.91<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

Note that for each patient and each time τ when Pg,i(τ) is computed, the above<br />

mentioned code considers the whole history of a particular patient by time τ by<br />

checking the variables id and time. The resulting object clust is a list with<br />

components named ident (identification information), marg, cond, ranef (matrices<br />

with G columns containing computed values of Pg,i for the three discrimination<br />

approaches described in this paper). For more details, see documentation of the<br />

package mixAK.<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·<br />

·

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!