Package CPE. R topics documented: February 19, 2015

Similar documents
Package SimSCRPiecewise

Package covtest. R topics documented:

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

Package MiRKATS. May 30, 2016

Package My.stepwise. June 29, 2017

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

Package BNN. February 2, 2018

Package BayesNI. February 19, 2015

Package ShrinkCovMat

Package LIStest. February 19, 2015

Package rgabriel. February 20, 2015

Package TwoStepCLogit

Package CoxRidge. February 27, 2015

Package Grace. R topics documented: April 9, Type Package

Package spcov. R topics documented: February 20, 2015

Package gtheory. October 30, 2016

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

Package polypoly. R topics documented: May 27, 2017

Package MultisiteMediation

Package invgamma. May 7, 2017

Package TSF. July 15, 2017

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

Package icmm. October 12, 2017

Package hds. December 31, 2016

Package severity. February 20, 2015

Package netcoh. May 2, 2016

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

Package idmtpreg. February 27, 2018

Package abundant. January 1, 2017

Package SCEPtERbinary

Package CompQuadForm

Package ltsbase. R topics documented: February 20, 2015

Package IsingFit. September 7, 2016

Package darts. February 19, 2015

Package HIMA. November 8, 2017

Package SK. May 16, 2018

Package MicroMacroMultilevel

Package sscor. January 28, 2016

Package depth.plot. December 20, 2015

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

Package EnergyOnlineCPM

Package factorqr. R topics documented: February 19, 2015

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

Package FindAllRoots

Package noise. July 29, 2016

Package reinforcedpred

Package OrdNor. February 28, 2019

Package InferenceSMR

Package survidinri. February 20, 2015

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

Package FinCovRegularization

Package rnmf. February 20, 2015

Package esreg. August 22, 2017

Package rbvs. R topics documented: August 29, Type Package Title Ranking-Based Variable Selection Version 1.0.

Package RTransferEntropy

Package dhsic. R topics documented: July 27, 2017

Package NlinTS. September 10, 2018

Package Blendstat. February 21, 2018

Package CovSel. September 25, 2013

Package threg. August 10, 2015

Package drgee. November 8, 2016

Package clogitboost. R topics documented: December 21, 2015

Package OGI. December 20, 2017

Package fwsim. October 5, 2018

Package ICGOR. January 13, 2017

Package skellam. R topics documented: December 15, Version Date

Package monmlp. R topics documented: December 5, Type Package

Package crrsc. R topics documented: February 19, 2015

Package flora. R topics documented: August 29, Type Package. Title flora: taxonomical information on flowering species that occur in Brazil

Package ICBayes. September 24, 2017

Package scio. February 20, 2015

Package shrink. August 29, 2013

Package metafuse. October 17, 2016

Package sbgcop. May 29, 2018

Package basad. November 20, 2017

Package denseflmm. R topics documented: March 17, 2017

Package anoint. July 19, 2015

Package R1magic. April 9, 2013

Package R1magic. August 29, 2016

Package leiv. R topics documented: February 20, Version Type Package

Package CMC. R topics documented: February 19, 2015

Package covsep. May 6, 2018

Package Tcomp. June 6, 2018

Package EMVS. April 24, 2018

Package bigtime. November 9, 2017

Package CRAC. February 19, 2015

Package IUPS. February 19, 2015

Package unbalhaar. February 20, 2015

Package milineage. October 20, 2017

Package varband. November 7, 2016

Package supernova. February 23, 2018

Package mpmcorrelogram

Package DTK. February 15, Type Package

Package noncompliance

Package complex.surv.dat.sim

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

Package gma. September 19, 2017

Package WaveletArima

Package SpatialNP. June 5, 2018

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

Transcription:

Package CPE February 19, 2015 Title Concordance Probability Estimates in Survival Analysis Version 1.4.4 Depends R (>= 2.10.0),survival,rms Author Qianxing Mo, Mithat Gonen and Glenn Heller Maintainer Qianxing Mo <qmo@bcm.edu> Description Functions to calculate concordance probability estimates in survival analysis LazyData no License GPL (>= 2) Repository CRAN Date/Publication 2012-07-07 16:21:46 NeedsCompilation yes R topics documented: phcpe............................................ 1 phcpe2............................................ 3 Index 5 phcpe Gonen \& Heller Concordance Probability Estimate for the Cox Proportional Hazards model Description Usage A function to calculate Gonen \& Heller concordance probability estimate (CPE) for the Cox proportional hazards model. phcpe(coxfit, =FALSE,out.ties=FALSE) 1

2 phcpe Arguments coxfit out.ties A coxph or cph object A logical value indicating whether the standard error of the CPE should be calculated If out.ties is set to FALSE,pairs of observations tied on covariates will be used to calculate the CPE. Otherwise, they will not be used. Value CPE Concordance Probability Estimate the Standard Error of the Concordance Probability Estimate Author(s) Qianxing Mo, Mithat Gonen and Glenn Heller; <qmo@bcm.edu> References Mithat Gonen and Glenn Heller. (2005). Concordance probability and discriminatory power in proportional hazards regression. Biometrika, 92, 4, pp.965-970 Examples ### create a simple data set for testing set.seed(199) nn <- 1000 time <- rexp(nn) status <- sample(0:1, nn, replace=true) covar <- matrix(rnorm(3*nn), ncol=3) survd <- data.frame(time, status, covar) names(survd) <- c("time","status","x1","x2","x3") coxph.fit <- coxph(surv(time,status)~x1+x2+x3,data=survd) phcpe(coxph.fit) phcpe(coxph.fit,out.ties=true) #result is identical because the covariates are not tied # ### Calculate CPE and phcpe(coxph.fit, =TRUE) phcpe(coxph.fit, =TRUE,out.ties=TRUE) #*** For unknown reason, coxph.fit may need to be removed before running cph()*** rm(coxph.fit) cph.fit <- cph(surv(time, status)~x1+x2+x3, data=survd,method="breslow")

phcpe2 3 phcpe(cph.fit) phcpe(cph.fit,out.ties=true) ### Calculate CPE and phcpe(cph.fit, =TRUE) phcpe(cph.fit, =TRUE,out.ties=TRUE) phcpe2 Gonen \& Heller Concordance Probability Estimate for the Cox Proportional Hazards model Description A function to calculate Gonen \& Heller concordance probability estimate (CPE) for the Cox proportional hazards model. Usage phcpe2(coef,coef.var,design, =FALSE,out.ties=FALSE) Arguments coef coef.var design out.ties The coefficients of the Cox model. The covariance matrix of the coefficients of the Cox model. A design matrix for covariates. The rows correspond to subjects, and the columns correspond to covariates. A logical value indicating whether the standard error of the CPE should be calculated If out.ties is set to FALSE,pairs of observations tied on covariates will be used to calculate the CPE. Otherwise, they will not be used. Value CPE Concordance Probability Estimate the Standard Error of the Concordance Probability Estimate Author(s) Qianxing Mo, Mithat Gonen and Glenn Heller; <qmo@bcm.edu> References Mithat Gonen and Glenn Heller. (2005). Concordance probability and discriminatory power in proportional hazards regression. Biometrika, 92, 4, pp.965-970

4 phcpe2 Examples ### create a simple data set for testing set.seed(199) nn <- 1000 time <- rexp(nn) status <- sample(0:1, nn, replace=true) covar <- matrix(rnorm(3*nn), ncol=3) survd <- data.frame(time, status, covar) names(survd) <- c("time","status","x1","x2","x3") coxph.fit <- coxph(surv(time,status)~x1+x2+x3,data=survd) phcpe(coxph.fit,=true) phcpe2(coef=coxph.fit$coefficients,coef.var=coxph.fit$var,design=model.matrix(coxph.fit)) #*** For unknown reason, coxph.fit may need to be removed before running cph()*** rm(coxph.fit) cph.fit <- cph(surv(time, status)~x1+x2+x3, data=survd,method="breslow") phcpe2(cph.fit$coefficients,coef.var=cph.fit$var,design=model.matrix(cph.fit),=true)

Index Topic survival phcpe, 1 phcpe2, 3 phcpe, 1 phcpe2, 3 5