11.07.2015 Views

Preface to First Edition - lib

Preface to First Edition - lib

Preface to First Edition - lib

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ANALYSIS USING R: GEE 239R> summary(btb_gee)...Model:Link:IdentityVariance <strong>to</strong> Mean Relation: GaussianCorrelation Structure: Independent...Coefficients:Estimate Naive S.E. Naive z Robust S.E. Robust z(Intercept) 3.569 1.4833 2.41 2.2695 1.572bdi.pre 0.582 0.0564 10.32 0.0916 6.355trtBtheB -3.237 1.1296 -2.87 1.7746 -1.824length>6m 1.458 1.1380 1.28 1.4826 0.983drugYes -3.741 1.1766 -3.18 1.7827 -2.099Estimated Scale Parameter: 79.3...Figure 13.2R output of the summary method for the btb_gee model (slightlyabbreviated).GEE procedure is 0.676, very similar <strong>to</strong> the estimated intra-class correlationcoefficient from the random intercept model. i.e., 7.03 2 /(5.07 2 + 7.03 2 ) = 0.66– see Figure 12.2.13.3.2 Respira<strong>to</strong>ry IllnessWe will now apply the GEE procedure <strong>to</strong> the respira<strong>to</strong>ry data shown inTable 13.1. Given the binary nature of the response variable we will choosea binomial error distribution and by default a logistic link function. We shallalso fix the scale parameter φ described in Chapter 7 at one. (The defaultin the gee function is <strong>to</strong> estimate this parameter.) Again we will apply theprocedure twice, firstly with an independence structure and then with anexchangeable structure for the working correlation matrix. We will also fit alogistic regression model <strong>to</strong> the data using glm so we can compare results.The baseline status, i.e., the status for month == 0, will enter the modelsas an explana<strong>to</strong>ry variable and thus we have <strong>to</strong> rearrange the data.framerespira<strong>to</strong>ry in order <strong>to</strong> create a new variable baseline:R> data("respira<strong>to</strong>ry", package = "HSAUR2")R> resp "0")R> resp$baseline

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

Saved successfully!

Ooh no, something went wrong!