Package JointModel. R topics documented: June 9, Title Semiparametric Joint Models for Longitudinal and Counting Processes Version 1.

Similar documents
Package ICGOR. January 13, 2017

Package SimSCRPiecewise

Package GORCure. January 13, 2017

The nltm Package. July 24, 2006

Package CoxRidge. February 27, 2015

Package ICBayes. September 24, 2017

Package crrsc. R topics documented: February 19, 2015

Package spef. February 26, 2018

Package TwoStepCLogit

Package gtheory. October 30, 2016

Package CPE. R topics documented: February 19, 2015

Package MultisiteMediation

Package metafuse. October 17, 2016

Package jmcm. November 25, 2017

Package clogitboost. R topics documented: December 21, 2015

Longitudinal + Reliability = Joint Modeling

Package gma. September 19, 2017

Multivariate Survival Analysis

Package mmm. R topics documented: February 20, Type Package

Package scio. February 20, 2015

Package SPreFuGED. July 29, 2016

Package ARCensReg. September 11, 2016

Package idmtpreg. February 27, 2018

Package penmsm. R topics documented: February 20, Type Package

Package CopulaRegression

Package face. January 19, 2018

Package LBLGXE. R topics documented: July 20, Type Package

Package CorrMixed. R topics documented: August 4, Type Package

Package BayesNI. February 19, 2015

PENALIZED LIKELIHOOD PARAMETER ESTIMATION FOR ADDITIVE HAZARD MODELS WITH INTERVAL CENSORED DATA

Package RootsExtremaInflections

Package cccrm. July 8, 2015

Package ShrinkCovMat

Package rnmf. February 20, 2015

Package MonoPoly. December 20, 2017

Package covtest. R topics documented:

Package anoint. July 19, 2015

Package drgee. November 8, 2016

Package threg. August 10, 2015

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package penalized. February 21, 2018

Package reinforcedpred

Package blme. August 29, 2016

Multivariable Fractional Polynomials

Package sbgcop. May 29, 2018

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package SpatialVS. R topics documented: November 10, Title Spatial Variable Selection Version 1.1

Package RcppSMC. March 18, 2018

Package mlmmm. February 20, 2015

Package PVR. February 15, 2013

Introduction to lnmle: An R Package for Marginally Specified Logistic-Normal Models for Longitudinal Binary Data

Package darts. February 19, 2015

Package BNN. February 2, 2018

Package pssm. March 1, 2017

Package sklarsomega. May 24, 2018

Modelling geoadditive survival data

Package covsep. May 6, 2018

Package elhmc. R topics documented: July 4, Type Package

Analysing repeated measurements whilst accounting for derivative tracking, varying within-subject variance and autocorrelation: the xtiou command

Multivariable Fractional Polynomials

Package HIMA. November 8, 2017

Accelerated Failure Time Models

Package epr. November 16, 2017

Package dispmod. March 17, 2018

Package rgabriel. February 20, 2015

Stat 209 Lab: Linear Mixed Models in R This lab covers the Linear Mixed Models tutorial by John Fox. Lab prepared by Karen Kapur. ɛ i Normal(0, σ 2 )

Package polypoly. R topics documented: May 27, 2017

Package OUwie. August 29, 2013

Subject-specific observed profiles of log(fev1) vs age First 50 subjects in Six Cities Study

Package breakaway. R topics documented: March 30, 2016

Package netcoh. May 2, 2016

Package dispmod. R topics documented: February 15, Version 1.1. Date Title Dispersion models

Logistic regression model for survival time analysis using time-varying coefficients

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package pearson7. June 22, 2016

Package factorqr. R topics documented: February 19, 2015

Package My.stepwise. June 29, 2017

Package Rsurrogate. October 20, 2016

Package TSPred. April 5, 2017

Package CompQuadForm

Package esreg. August 22, 2017

Package InferenceSMR

Package abundant. January 1, 2017

Package ebal. R topics documented: February 19, Type Package

Semiparametric Models for Joint Analysis of Longitudinal Data and Counting Processes

Package ltsbase. R topics documented: February 20, 2015

Package weightquant. R topics documented: December 30, Type Package

Package SK. May 16, 2018

[Part 2] Model Development for the Prediction of Survival Times using Longitudinal Measurements

Package nardl. R topics documented: May 7, Type Package

Package riv. R topics documented: May 24, Title Robust Instrumental Variables Estimator. Version Date

A Handbook of Statistical Analyses Using R 2nd Edition. Brian S. Everitt and Torsten Hothorn

Semiparametric Mixed Effects Models with Flexible Random Effects Distribution

Lecture 12. Multivariate Survival Data Statistics Survival Analysis. Presented March 8, 2016

Package emplik2. August 18, 2018

A Handbook of Statistical Analyses Using R 2nd Edition. Brian S. Everitt and Torsten Hothorn

Package ForwardSearch

Package mma. March 8, 2018

Package AID. R topics documented: November 10, Type Package Title Box-Cox Power Transformation Version 2.3 Date Depends R (>= 2.15.

Transcription:

Package JointModel June 9, 2016 Title Semiparametric Joint Models for Longitudinal and Counting Processes Version 1.0 Date 2016-06-01 Author Sehee Kim <seheek@umich.edu> Maintainer Sehee Kim <seheek@umich.edu> Joint fit of a semiparametric regression model for longitudinal responses and a semiparametric transformation model for time-to-event data. Depends R (>= 3.2.0), lme4, survival, splines, statmod License GPL-3 LazyData TRUE NeedsCompilation no Repository CRAN Date/Publication 2016-06-09 05:49:19 R topics documented: dropout........................................... 2 jplm............................................. 3 pred.jplm.cumhaz...................................... 5 pred.jplm.nonlinear..................................... 7 prostate........................................... 8 Index 9 1

2 dropout dropout Prostate Cancer Data: Part 2 - a simulated example of study drop-out process A simulated data set used in Kim et al. (2016) to illustrate the JPLM method. This data set was generated under settings mimicking the prostate cancer study. For detailed data generation settings, see Kim et al. (2016). Format A data frame with 100 observations (n = 100 patients) on the following 4 variables. ID2 a numeric vector of patient ID. Status a numeric (binary) vector indicating whether the study drop-out time (end of follow-up) was informative. DropTime a numeric vector of the end of follow-up. logpsa.base2 a numeric vector of log(baseline PSA + 0.1). Source The prostate cancer data have been previously studied by Proust-Lima et al. (2008) and Taylor et al. (2013), among others. Kim, S., Zeng, D., Taylor, J. M. G. (2016) Joint partially linear model for longitudinal data with Proust-Lima, C., Taylor, J. M. G., Williams, S. G., Ankerst, D. P., Liu, N., Kestin, L. L., Bae, K., and Sandler, H. M. (2008) Determinants of change in prostate-specific antigen over time and its association with recurrence after external beam radiation therapy for prostate cancer in five large cohorts. International Journal of Radiation Oncology Biology Physics 72, 782-791. Taylor, J. M. G., Part, Y., Ankerst, D. P., Proust-Lima, C., Williams, S., Kestin, L., Bae, K., Pickles, T., and Sandler, H. (2013) Real-time individual predictions of prostate cancer recurrence using joint models. Biometrics 69, 206-213.

jplm 3 jplm Joint Partially Linear Model for Longitudinal and Time-to-Event Data Usage This function fits jointly a partially linear model for normal longitudinal responses and a semiparametric transformation model for time-to-event data using a sieve maximum likelihood approach (Kim et al., 2016). jplm(formula.lm.y, nlm.par=null, data.y, formula.surv.fixed, formula.frailty, id.vec=null, transf.par=0, data.surv, degree=3, n.knots=3, CovEst=TRUE, maxiter=200, epsilon=5e-04,...) Arguments formula.lm.y nlm.par a formula inheriting from class lmer. The right side of the formula describes both the linear fixed effects and random effects part of the longitudinal model. Random-effects terms are distinguished by one vertical bar ( ) separating expressions for design matrices from grouping factors. Only one vertical var is allowed. a vector of nonlinear effect covariate. data.y a data.frame containing the variables named in formula.lm.y. formula.surv.fixed a formula inheriting from class coxph. That is, the response must be a survival object as returned by the Surv(,) function, and the right side of formula must include only fixed effects covariates. formula.frailty a formula with the right side descring frailty term of the survival model. The left side of the formula must leave in blank, and the intercept term will be included unless specified by ~ -1+... or ~ 0+... id.vec transf.par data.surv degree n.knots CovEst a vector containing subject ID corresponding to formula.frailty. a non-negative value of transformation parameter applied to the cumulative hazard function. transf.par=0 will fit a proportional hazards model, while transf.par=1 will fit a proportional odds model. Default is 0. a data.frame containing the variables named in the formula.surv.fixed. degree of the sieve polynomial. Default is 3 for cubic splines. the number of interior knot points for the B-spline approximation of the nonlinear effect. Default is 3. logical value; if TRUE, the covariate matrix of all the model parameters are estimated.

4 jplm maxiter the maximum number of EM iterations. Default is 200. epsilon... other arguments tolerance value in the Newton-Raphson algorithm used to update the parameters in the M-step. Default is 5e-04. Details Function jplm fits joint models for longitudinal and survival data. Viewing time-to-drop-out as an event process, the same joint models also can be fitted to longitudinal data with informative drop-outs. For more detailed formulation of these models, refer to Kim et al. (2016). For the longitudinal model specification, all linear effects part (including fixed and random) should be described in formula.lm.y, while a non-linear fixed effect component should be specified in the nlm.par argument. For the survival model specification, the fixed effects component should be described by the argument formula.surv.fixed, whereas the random effects (frailty) component should be described in formula.frailty. The current version assumes all random effects coefficients are the same. For example, the argument formula.frailty= ~ 1+time implies a regression model with φ(b 1 + b 2 time), where b 1 and b 2 represent the random intercept and slope terms and φ is one dimensional coefficient corresponding to both b 1 and b 2. A logarithmic transformation can be applied to the cumulative hazard function by varying the value of transf.par. Specifically, the transformation function takes the form of: H(x) = 0 if transf.par=0; otherwise H(x) = log(1 + K)/K with transf.par=k. transf.par=0 will fit a proportional hazards model, while transf.par=1 will fit a proportional odds model. For AIC- or BIC-based model selection, CovEst=FALSE is strongly recommended. Value coef.lm.y coef.nlm.y var.resid raneff.vcomp the vector of linear coefficients in the longitudinal model. the vector of sieve coefficients corresponding to B-spline approximation of the nonlinear effect in the longitudinal model. the variance estimate of longitudinal response residuals. the vector of estimates of random effects variance component, corresponding to random intercept, random slope, and their correlation. coef.fixed.surv the vector of fixed coefficients in the survival model. coef.frailty.surv value of random (frailty) coefficient in the survival model. lambdas loglik AIC BIC degree the vector of jump sizes of the baseline cumulative hazard function, corresponding to the ordered observed event times. value of the log-likelihood with the final values of the coefficients. value of AIC with the final values of the coefficients. value of BIC with the final values of the coefficients. degree used for the sieve polynomial.

pred.jplm.cumhaz 5 n.knots K covy covb covt number of interior knot points used for the B-spline approximation of the nonlinear effect. the transformation parameter. the variance matrix of all the parameters in the longitudinal model, corresponding to the estimates ofcoef.lm.y,coef.nlm.y, and var.resid. the variance matrix of all the parameters in raneff.vcomp. the variance matrix of all the parameters in the survival model, corresponding to the estimates of coef.fixed.surv, coef.frailty.surv, and lambdas. Author(s) Sehee Kim Kim, S., Zeng, D., Taylor, J. M. G. (2016) Joint partially linear model for longitudinal data with See Also pred.jplm.nonlinear, pred.jplm.cumhaz Examples # a simulated data set of longitudinal responses attach(prostate) # a simulated data set of time-to-event (e.g., drop-out process) attach(dropout) # joint fit of a partially linear model and a proportional hazards model # with a subject-specific random intercept and random slope fit0 <- jplm(logpsa.postrt ~ logpsa.base + (1 + VisitTime ID), nlm.par=prostate$visittime, data.y=prostate, Surv(DropTime, Status) ~ logpsa.base2, formula.frailty= ~ 1 + DropTime, id.vec=dropout$id2, transf.par=0, data.surv=dropout) summary(fit0) pred.jplm.cumhaz Predict the baseline cumulative hazard function at any given time point This function calculates a predicted baseline cumulative hazard function, evaluated at given time points.

6 pred.jplm.cumhaz Usage pred.jplm.cumhaz(object, at=null, CI=FALSE) Arguments object at CI a Joint Model fit object, i.e., the result of jplm. a vector of fixed time points to be evaluated. logical value; if TRUE, a 95% pointwise confidence interval is returned. Value If CI=FALSE, it returns a numeric vector of predicted cumulative hazard values at at=. If CI=TRUE, it returns a numeric vector of predicted cumulative hazard values, the standard error estimate of the predicted value, and its lower and upper 95% pointwise confidence interval. Author(s) Sehee Kim Kim, S., Zeng, D., Taylor, J.M.G. (2016) Joint partially linear model for longitudinal data with See Also jplm Examples # a simulated data set of longitudinal responses attach(prostate) # a simulated data set of drop-out process (or, time-to-event) attach(dropout) # joint fit of a partially linear model and a proportional odds model # with a subject-specific random intercept and random slope fit1 <- jplm(logpsa.postrt ~ logpsa.base + (1 + VisitTime ID), nlm.par=prostate$visittime, data.y=prostate, Surv(DropTime, Status) ~ logpsa.base2, formula.frailty= ~ 1 + DropTime, id.vec=dropout$id2, transf.par=1, data.surv=dropout) # Evaluate at 20,...,80 percent of the maximum observed survival time pts <- c(0.2, 0.4, 0.6, 0.8)*max(dropout$DropTime) pred.jplm.cumhaz(fit1, at=pts) out <- pred.jplm.cumhaz(fit1, at=pts, CI=TRUE) out$value

pred.jplm.nonlinear 7 pred.jplm.nonlinear Predict a smoothed nonlinear effect on the longitudinal response Usage This function calculates a predicted nonlinear effect function evaluated at given points. pred.jplm.nonlinear(object, nlm.par, at=null, CI=FALSE) Arguments object a Joint Model fit object, i.e., the result of jplm. nlm.par a vector of nonlinear effect covariate, as specified in nlm.par= of jplm. at CI Value a vector of fixed points to be evaluated. logical value; if TRUE, a 95% pointwise confidence interval is returned. If CI=FALSE, it returns a numeric vector of predicted nonlinear effect at at=, the standard error estimate of the predicted value, and test result based on the asymptotic normality. If CI=TRUE, it returns a numeric vector of predicted nonlinear effect, the standard error estimate of the predicted value, and its lower and upper 95% pointwise confidence interval. Author(s) Sehee Kim Kim, S., Zeng, D., Taylor, J.M.G. (2016) Joint partially linear model for longitudinal data with See Also jplm Examples # a simulated data set of longitudinal responses attach(prostate) # a simulated data set of time-to-event (e.g., drop-out process) attach(dropout) # joint fit of a partially linear model and a proportional odds model # with a subject-specific random intercept and random slope

8 prostate fit1 <- jplm(logpsa.postrt ~ logpsa.base + (1 + VisitTime ID), nlm.par=prostate$visittime, data.y=prostate, Surv(DropTime, Status) ~ logpsa.base2, formula.frailty= ~ 1 + DropTime, id.vec=dropout$id2, transf.par=1, data.surv=dropout) # Evaluate at 20,...,80 percent of the maximum measurement time pts <- c(0.2, 0.4, 0.6, 0.8)*max(prostate$VisitTime) pred.jplm.nonlinear(fit1, prostate$visittime, at=pts) out <- pred.jplm.nonlinear(fit1, prostate$visittime, at=pts, CI=TRUE) out$value prostate Prostate Cancer Data: Part 1 - a simulated example of longitudinal responses A simulated data set used in Kim et al. (2016) to illustrate the JPLM method. This data set was generated under settings mimicking the prostate cancer study. For detailed data generation settings, see Kim et al. (2016). Format Source A data frame with 697 observations (n = 100 patients) on the following 4 variables. ID a numeric vector of patient ID. logpsa.postrt a numeric vector containing Prostate-specific Antigen (PSA) levels after radiation therapy, i.e., log(psa(t) + 0.1) observed at time t. VisitTime a numeric vector of visiting time. logpsa.base a numeric vector of log(baseline PSA + 0.1). The prostate cancer data have been previously studied by Proust-Lima et al. (2008) and Taylor et al. (2013), among others. Kim, S., Zeng, D., Taylor, J. M. G. (2016) Joint partially linear model for longitudinal data with Proust-Lima, C., Taylor, J. M. G., Williams, S. G., Ankerst, D. P., Liu, N., Kestin, L. L., Bae, K., and Sandler, H. M. (2008) Determinants of change in prostate-specific antigen over time and its association with recurrence after external beam radiation therapy for prostate cancer in five large cohorts. International Journal of Radiation Oncology Biology Physics 72, 782-791. Taylor, J. M. G., Part, Y., Ankerst, D. P., Proust-Lima, C., Williams, S., Kestin, L., Bae, K., Pickles, T., and Sandler, H. (2013) Real-time individual predictions of prostate cancer recurrence using joint models. Biometrics 69, 206-213.

Index Topic datasets dropout, 2 prostate, 8 dropout, 2 jplm, 3, 6, 7 pred.jplm.cumhaz, 5, 5 pred.jplm.nonlinear, 5, 7 prostate, 8 9