Package ICGOR. January 13, 2017

Similar documents
Package GORCure. January 13, 2017

Package ICBayes. September 24, 2017

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

Package clogitboost. R topics documented: December 21, 2015

Package SimSCRPiecewise

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

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

The nltm Package. July 24, 2006

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

Package covtest. R topics documented:

Package ARCensReg. September 11, 2016

Package CoxRidge. February 27, 2015

Package gtheory. October 30, 2016

Package reinforcedpred

Package spef. February 26, 2018

Package scio. February 20, 2015

Package bivariate. December 10, 2018

Package MultisiteMediation

Package darts. February 19, 2015

Package eel. September 1, 2015

Package metafuse. October 17, 2016

Package RI2by2. October 21, 2016

Package BayesNI. February 19, 2015

Package face. January 19, 2018

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

Package netcoh. May 2, 2016

Package mlmmm. February 20, 2015

Package pearson7. June 22, 2016

Package MonoPoly. December 20, 2017

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

Package idmtpreg. February 27, 2018

Package anoint. July 19, 2015

Package FDRreg. August 29, 2016

Package CPE. R topics documented: February 19, 2015

Package sklarsomega. May 24, 2018

Package survidinri. February 20, 2015

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

Package crrsc. R topics documented: February 19, 2015

Package TwoStepCLogit

Package MAVE. May 20, 2018

Package ProDenICA. February 19, 2015

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

Package ShrinkCovMat

Package CompQuadForm

Package bmem. February 15, 2013

Package pssm. March 1, 2017

Package Bhat. R topics documented: February 19, Title General likelihood exploration. Version

Package ZIBBSeqDiscovery

Package rgabriel. February 20, 2015

Package effectfusion

Package Rsurrogate. October 20, 2016

Package GPfit. R topics documented: April 2, Title Gaussian Processes Modeling Version Date

Package IsingFit. September 7, 2016

Package mistwosources

Package EMVS. April 24, 2018

Package convospat. November 3, 2017

Package severity. February 20, 2015

Package threg. August 10, 2015

Package emplik2. August 18, 2018

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

Package BNN. February 2, 2018

Package rnmf. February 20, 2015

Package jmcm. November 25, 2017

Package locfdr. July 15, Index 5

Package invgamma. May 7, 2017

Package HIMA. November 8, 2017

The coxvc_1-1-1 package

Package bhrcr. November 12, 2018

Package sbgcop. May 29, 2018

Package unbalhaar. February 20, 2015

Package SPreFuGED. July 29, 2016

Package aspi. R topics documented: September 20, 2016

Package ssanv. June 23, 2015

Package spcov. R topics documented: February 20, 2015

Package CopulaRegression

Package sodavis. May 13, 2018

Package icmm. October 12, 2017

Package SK. May 16, 2018

Package mmabig. May 18, 2018

Package EDR. September 14, 2016

Package mar. R topics documented: February 20, Title Multivariate AutoRegressive analysis Version Author S. M. Barbosa

Package basad. November 20, 2017

Package mixture. R topics documented: February 13, 2018

Package ChIPtest. July 20, 2016

Package LIStest. February 19, 2015

Package beam. May 3, 2018

Package fwsim. October 5, 2018

Package MiRKATS. May 30, 2016

Package ForecastCombinations

Package covsep. May 6, 2018

Package FinCovRegularization

Package shrink. August 29, 2013

Package tspi. August 7, 2017

Package InferenceSMR

Package rsq. January 3, 2018

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

Package EnergyOnlineCPM

Package nmw. October 20, 2017

Package gma. September 19, 2017

Package pendensity. March 13, 2016

Transcription:

Package ICGOR January 13, 2017 Type Package Title Fit Generalized Odds Rate Hazards Model with Interval Censored Data Version 2.0 Date 2017-01-12 Author Jie Zhou, Jiajia Zhang, Wenbin Lu Maintainer Jie Zhou <zhoujie02569@gmail.com> Generalized Odds Rate Hazards (GORH) model is a flexible model of fitting survival data, including the Proportional Hazards (PH) model and the Proportional Odds (PO) Model as special cases. This package fit the GORH model with interval censored data. License GPL (>= 2) Depends R (>= 2.15.0),stats,graphics,survival,ICsurv,pracma,MASS NeedsCompilation no Repository CRAN Date/Publication 2017-01-13 19:25:31 R topics documented: ICGOR-package...................................... 2 GORH............................................ 2 plot.predict.gorh..................................... 4 predict.gorh........................................ 5 summary.gorh...................................... 5 Index 7 1

2 GORH ICGOR-package Fit Generalized Odds Rate Hazards Model with Interval Censored Data Details Generalized Odds Rate Hazards (GORH) model is a flexible survival model which includes the Proportional Hazards (PH) model and the Proportional Odds (PO) model as special cases. When the survival data is interval censored, this package provides an efficient solution for the GORH model based on a gamma-possion data augmentation. Package: ICGOR Type: Package Version: 2.0 Date: 2017-01-12 License: GPL-2 The main function is GORH, which produces the estimates for coefficients and the covariance matrix. The summary function can be used to get the test results of the coefficients. The predict function can be used to obtain the estimated survival curve for an individual with specified covariates. The plot function can be applied to generate the predicted survival curve for that individual. Author(s) Jie Zhou, Jiajia Zhang, Wenbin Lu Maintainer: Jie Zhou <zhoujie02569@gmail.com> References Zhou, J., Zhang, J. and Lu, W. (2017+). An EM Algorithm for fitting the Generalized Odds-Rate Model to Interval Censored Data. Accepted by Statistics in Medicine. GORH The Main Function to Fit the GORH Model with Interval Censored Data. The Generalized Odds Rate Hazards model is fitted for interval censored survival data. The EM algorithm facilitated by a gamma-poisson data augmentation is applied for estimating the coefficients in the model. The covariance matrix has closed forms based on the Louis method.

GORH 3 GORH(formula = formula(data), data = parent.frame(), r = 1, n.int = 5, order = 3, max.iter = 1000, cov.rate = 0.001) formula data The formula for the GORH model, defined using the Surv() function. The interval censored sorvival data, including the left and right end points of the time intervals and the covariates. If a subject is left(right) censored, the left(right) end point of the subject should be defined as NA", see example. r The transformation parameter in the GORH model, should be greater than 0. The default is r=1 (the PO model). n.int Number of equally spaced interior knots of the splines. Default is 5. order Order of the spline basis functions. Default is 3, i.e. the cubic splines. max.iter The maximum number of interations for the EM algorithm. Default is 100. cov.rate The bound for convergence of the algorithm, which defined as the difference between the log-likelihood values of two consecutive iterations smaller than this value. Default is 0.001. Details The formula defined for formula" is based on the Surv() function, where the left and right end points of the time interval are included and the type is equal to interval2". The left(right) end points of left(right) censored individuals should be defined as NA" in the data frame before running the function.\ The transformation parameter r is a positive number corresponding to a specific model in the GORH family of models. The special case POMC model(r=1) is set as the default. Other positive numbers can also be specified. The result for a PH model can be approximated by specifying an extremely small number for r, e.g. r=1e-6.\ The grid search method is suggested to find the best model in practice. That is, try a sequence of r values and choose the one with the greatest log-likelihood value. Value ParEst ParVcov A list includes the estimated coefficients (Beta,gl), the whole hessian matrix (Hessian), AIC, and the log-likelihood value(loglik). The estimated covariance matrix of the coefficient Beta. Note The estimated hessian matrix can be very large and sometimes not invertable. In which case, we try the QR decomposition, g-inverse or even numerical methods to get the covariance matrix. Different values of hess in the ParVcov indicating the different cases. hess=0:the hessian matrix is invertable; hess=1:the QR decomposition is applied to solve the hessian matrix; hess=2:the g-inverce is applied to the hessian matrix; hess=3:the hessian matrix is obtained from numerical methods. The variance estimates may be unreliable for the cases when hess>0.

4 plot.predict.gorh References Zhou, J., Zhang, J. and Lu, W. (2017+). An EM Algorithm for fitting the Generalized Odds-Rate Model to Interval Censored Data. Accepted by Statistics in Medicine. Examples data(hemophilia) # Set Left/Right Interval End Points as NA Hemophilia$L[Hemophilia$d1==1]<-Hemophilia$R[Hemophilia$d3==1]<-NA # Fit PO Model (r=1) fit<-gorh(surv(l,r)~low+medium+high,data=hemophilia,r=1) summary(fit) # Predict Survival Curve for a New Individual # Specify coveriate vectors for new.x pred1<-predict(fit,new.x=c(0,0,0)) pred2<-predict(fit,new.x=c(1,0,0)) pred3<-predict(fit,new.x=c(0,1,0)) pred4<-predict(fit,new.x=c(0,0,1)) # Plot the Survival Curves plot(pred1,xlab="time",ylab="survival Probability",ylim=c(0,1)) lines(pred2$survtime,pred2$survprob,col=2) lines(pred3$survtime,pred3$survprob,col=3) lines(pred4$survtime,pred4$survprob,col=4) legend(0,0.2,c("none","low","medium","high"),lty=1,col=1:4) plot.predict.gorh Plot the predicted survival curves. Plot the predicted survival curve of the new subject. ## S3 method for class 'predict.gorh' plot(x,...) x An object from the predict.gorh function.... Other plot arguments.

predict.gorh 5 predict.gorh Predict survival probabilities for a new subject. Based on the predicted model, survival probabilities are calculated for a new individual with specific covariate values. The new.x specifies the covariate vector in the GORH model for the new individual. If no values are specified, zeros will be used and the baseline survival probabilities are returned. ## S3 method for class 'GORH' predict(object,...) Details Value object An object from the function GORH.... Other argumetns including new.x. See details. For a new subject, new.x gives the covariate vector in the GORH model. The argument tp gives the sequence of time points that you want to calculate the survival probabilities. If tp is not specified, then a sequence of equally spaced numbers from 0 to the largest observation time in the data are used and another argument len defines the number of equally spaced time points for calculating the survival curve, default is 100. SurvTime SurvProb Survival time points used for calculation of the survival probabilities. Survival probabilities of the new individual. summary.gorh Summary table of hypothesis tests for the coefficients in the GORH model. Estimates, standard errors, test statistics and p values are presented for each coefficient in the GORH model. ## S3 method for class 'GORH' summary(object,...)

6 summary.gorh object An object from the function GORH.... Other auguments to be specified.

Index Topic package, generalized odds rate hazards model, interval censoring ICGOR-package, 2 GORH, 2 ICGOR (ICGOR-package), 2 ICGOR-package, 2 plot.predict.gorh, 4 predict.gorh, 5 summary.gorh, 5 7