Package frailtyhl. February 19, 2015

Similar documents
Package speff2trial. February 20, 2015

Package p3state.msm. R topics documented: February 20, 2015

Package ORIClust. February 19, 2015

Package QualInt. February 19, 2015

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

Package xseq. R topics documented: September 11, 2015

Package ICCbin. November 14, 2017

Package StepReg. November 3, 2017

Package ordibreadth. R topics documented: December 4, Type Package Title Ordinated Diet Breadth Version 1.0 Date Author James Fordyce

Package xmeta. August 16, 2017

Package Actigraphy. R topics documented: January 15, Type Package Title Actigraphy Data Analysis Version 1.3.

Package CompareTests

Practical Multivariate Analysis

How to describe bivariate data

Package citccmst. February 19, 2015

Package appnn. R topics documented: July 12, 2015

Package wally. May 25, Type Package

Package nopaco. R topics documented: April 13, Type Package Title Non-Parametric Concordance Coefficient Version 1.0.

Introduction to Survival Analysis Procedures (Chapter)

Package clust.bin.pair

Package HAP.ROR. R topics documented: February 19, 2015

Package seqdesign. April 27, Version 1.1 Date

Lecture 21. RNA-seq: Advanced analysis

BIOSTATISTICAL METHODS AND RESEARCH DESIGNS. Xihong Lin Department of Biostatistics, University of Michigan, Ann Arbor, MI, USA

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models

Package inote. June 8, 2017

Applied Medical. Statistics Using SAS. Geoff Der. Brian S. Everitt. CRC Press. Taylor Si Francis Croup. Taylor & Francis Croup, an informa business

Department of Statistics, Biostatistics & Informatics, University of Dhaka, Dhaka-1000, Bangladesh. Abstract

Biostatistics II

Evaluating health management programmes over time: application of propensity score-based weighting to longitudinal datajep_

Package influence.me

The Statistical Analysis of Failure Time Data

How to analyze correlated and longitudinal data?

MODEL SELECTION STRATEGIES. Tony Panzarella

Package mdsdt. March 12, 2016

Statistical Models for Censored Point Processes with Cure Rates

Data Analysis Using Regression and Multilevel/Hierarchical Models

Package rvtdt. February 20, rvtdt... 1 rvtdt.example... 3 rvtdts... 3 TrendWeights Index 6. population control weighted rare-varaints TDT

Package prognosticroc

Package PELVIS. R topics documented: December 18, Type Package

Package singlecase. April 19, 2009

Data Analysis in Practice-Based Research. Stephen Zyzanski, PhD Department of Family Medicine Case Western Reserve University School of Medicine

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

List of Figures. List of Tables. Preface to the Second Edition. Preface to the First Edition

Modelling Spatially Correlated Survival Data for Individuals with Multiple Cancers

The SAS SUBTYPE Macro

LINEAR REGRESSION FOR BIVARIATE CENSORED DATA VIA MULTIPLE IMPUTATION

Package inctools. January 3, 2018

Package AbsFilterGSEA

Package BUScorrect. September 16, 2018

Application of Cox Regression in Modeling Survival Rate of Drug Abuse

Relationship of body mass index with diabetes and breast cancer biomarkers

OPCS coding (Office of Population, Censuses and Surveys Classification of Surgical Operations and Procedures) (4th revision)

Package GANPAdata. February 19, 2015

Meta-analysis using individual participant data: one-stage and two-stage approaches, and why they may differ

Use of GEEs in STATA

Comparison And Application Of Methods To Address Confounding By Indication In Non- Randomized Clinical Studies

PRACTICAL STATISTICS FOR MEDICAL RESEARCH

Package noia. February 20, 2015

ISIR: Independent Sliced Inverse Regression

LOGLINK Example #1. SUDAAN Statements and Results Illustrated. Input Data Set(s): EPIL.SAS7bdat ( Thall and Vail (1990)) Example.

The KMsurv Package. October 12, Title Data sets from Klein and Moeschberger (1997), Survival Analysis

Bootstrapping Residuals to Estimate the Standard Error of Simple Linear Regression Coefficients

Package tumgr. February 4, 2016

Determinants of CD4 cell count change and time-to default from HAART; a comparison of separate and joint models

Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see

UNIVERSITY of PENNSYLVANIA CIS 520: Machine Learning Final, Fall 2014

A SAS Macro for Adaptive Regression Modeling

Benchmark Dose Modeling Cancer Models. Allen Davis, MSPH Jeff Gift, Ph.D. Jay Zhao, Ph.D. National Center for Environmental Assessment, U.S.

Design and Analysis of a Cancer Prevention Trial: Plans and Results. Matthew Somerville 09 November 2009

LINEAR REGRESSION FOR BIVARIATE CENSORED DATA VIA MULTIPLE IMPUTATION WEI PAN. School of Public Health. 420 Delaware Street SE

Multivariate meta-analysis for non-linear and other multi-parameter associations

Ovarian cancer example: h(t rx, age) = h(t) exp(β1 rx + β2 age) > cph1 = coxph(surv(futime, fustat)~rx+age, ovarian) > summary(cph1)

RNA-seq. Design of experiments

Supplementary Online Content

GENERALIZED ESTIMATING EQUATIONS FOR LONGITUDINAL DATA. Anti-Epileptic Drug Trial Timeline. Exploratory Data Analysis. Exploratory Data Analysis

Dan Byrd UC Office of the President

Methodology for Statistical Analysis of

The rmeta Package February 17, 2001

F i t p o w e r 5 a n d p o i s s o n A g e- Period-Cohort models for prediction of cancer incidence

Package preference. May 8, 2018

bivariate analysis: The statistical analysis of the relationship between two variables.

It is concluded that Biguanides are better interventions than Insulin, diet and exercise and Sulphonylureas.

Package MethPed. September 1, 2018

Preliminary Report on Simple Statistical Tests (t-tests and bivariate correlations)

Reveal Relationships in Categorical Data

Computer Age Statistical Inference. Algorithms, Evidence, and Data Science. BRADLEY EFRON Stanford University, California

Multilevel IRT for group-level diagnosis. Chanho Park Daniel M. Bolt. University of Wisconsin-Madison

Introduction. Lecture 1. What is Statistics?

Bayesian Analysis of Between-Group Differences in Variance Components in Hierarchical Generalized Linear Models

Modeling Sentiment with Ridge Regression

Analysis of Vaccine Effects on Post-Infection Endpoints Biostat 578A Lecture 3

RNA-seq. Differential analysis

1 Version SP.A Investigate patterns of association in bivariate data

Why Mixed Effects Models?

ClinicalTrials.gov "Basic Results" Data Element Definitions (DRAFT)

Analysis of bivariate binomial data: Twin analysis

Analysis of Environmental Data Conceptual Foundations: En viro n m e n tal Data

A Handbook of Statistical Analyses using SAS

The SAGE Encyclopedia of Educational Research, Measurement, and Evaluation Multivariate Analysis of Variance

Transcription:

Type Package Title Frailty Models via H-likelihood Version 1.1 Date 2012-05-04 Author Il Do HA, Maengseok Noh, Youngjo Lee Package frailtyhl February 19, 2015 Maintainer Maengseok Noh <msnoh@pknu.ac.kr> The frailtyhl package implements the h-likelihood estimation procedures for frailty models. The package fits Cox's proportional hazards models with random effects (or frailties). For the frailty distribution lognormal and gamma are allowed. The h-likelihood uses the Laplace approximation when the numerical integration is intractable, giving a statistically efficient estimation in frailty models. Depends R (>= 2.10.0), Matrix,numDeriv,survival License Unlimited LazyLoad yes Respository CRAN Date/Publication 2012-05-12 16:15:51 Repository CRAN NeedsCompilation no R topics documented: frailtyhl-package...................................... 2 cgd.............................................. 3 frailtyhl.......................................... 4 kidney............................................ 6 rats.............................................. 7 summary.frailtyhl..................................... 8 Index 9 1

2 frailtyhl-package frailtyhl-package H-likelihood Approach for Frailty Models Details The frailtyhl package fits frailty models which are Cox s proportional hazards models incorporating random effects. The function implements the h-likelihood estimation procedures. For the frailty distribution lognormal and gamma are allowed. The h-likelihood uses the Laplace approximation when the numerical integration is intractable, giving a statistically efficient estimation in frailty models. (Ha, Lee and Song, 2001; Ha and Lee, 2003, 2005; Lee, Nelder and Pawitan, 2006). Package: frailtyhl Type: Package Version: 1.1 Date: 2012-05-04 License: Unlimited LazyLoad: yes This is version 1.1 of the frailtyhl package. Author(s) Il Do Ha, Manegseok Noh, Youngjo Lee Maintainer: Maengseok Noh <msnoh@pknu.ac.kr> Ha, I. D. and Lee, Y. (2003). Estimating frailty models via Poisson Hierarchical generalized linear models. Journal of Computational and Graphical Statistics, 12, 663 681. Ha, I. D. and Lee, Y. (2005). Comparison of hierarchical likelihood versus orthodox best linear unbiased predictor approaches for frailty models. Biometrika, 92, 717 723. Ha, I. D., Lee, Y. and Song, J. K. (2001). Hierarchical likelihood approach for frailty models. Biometrika, 88, 233 243. Lee, Y., Nelder, J. A. and Pawitan, Y. (2006). Generalised linear models with random effects: unified analysis via h-likelihood. Chapman & Hall: London. See Also <frailtyhl>

cgd 3 data(kidney) kidney_g12<-frailtyhl(surv(time,status)~sex+age+(1 id),kidney, RandDist="Gamma",mord=1,dord=2) cgd Chronic Granulomatous Disease (CGD) Infection Data Format The CGD data set in Fleming and Harrington (1991) is from a placebo-controlled randomized trial of gamma interferon in chronic granulomatous disease. In total, 128 patients from 13 hospitals were followed for about 1 year. The number of patients per hospital ranged from 4 to 26. Each patient may experience more than one infection. The survival times (times-to-event) are the times between recurrent CGD infections on each patient (i.e. gap times). Censoring occurred at the last observation for all patients, except one, who experienced a serious infection on the date he left the study. data(cgd) CGD data set contains 15 columns and 203 rows. A brief description of the data column is given below. id Patient number for 128 patients. center Enrolling center number for 13 hospitals. random Date of randomization. treat Gamma-interferon treatment(rifn-g) or placebo(placebo). sex Sex of each patient(male, female). age Age of each patient at study entry, in years. height Height of each patient at study entry, in cm. weight Weight of each patient at study entry, in kg. inherit Pattern of inheritance (autosomal recessive, X-linked). steroids Using corticosteroids at times of study centry(1=yes, 0=No). proylac Using prophylactic antibiotics at time of study entry(1=yes, 0=No). hos.cat A categorization of the hospital region into 4 groups. tstart Start of each time interval. enum Sequence number. For each patient, the infection records are in sequnce number order. tstop End of each time interval. status Censoring indicator (1=uncensored, 0=censored).

4 frailtyhl Fleming, T. R. and Harrington, D. R. (1991). Counting processes and survival analysis. Wiley: New York. Therneasu, T. (2012). survival: survival analysis, including penalised likelihood. http://cran.rproject.org/package=survival. R pakcage version 2.36-14. data(cgd) frailtyhl Fitting Frailty Models using H-likelihood Approach frailtyhl is used to fit frailty models using h-likelihood estimation procedures. For the frailty distribution lognormal and gamma are allowed. In particular, nested (multilevel) frailty models allow survival studies for hierarchically clustered data by including two iid normal random effects. The h-likelihood uses the Laplace approximation when the numerical integration is intractable, giving a statistically efficient estimation in frailty models. (Ha, Lee and Song, 2001; Ha and Lee, 2003, 2005; Lee, Nelder and Pawitan, 2006). frailtyhl(formula,data,weights,subset,na.action, RandDist="Normal",mord=0,dord=1,Maxiter=200, convergence=10^-6, varfixed=false, varinit=c(0.1)) Arguments formula data weights subset na.action RandDist mord A formula object, with the response on the left of a ~ operator, and the terms for the fixed and random effects on the right. e.g. formula=surv(time,status)~x+(1 id), time : survival time, status : censoring indicator having 1 (0) for uncensored (censored) observation, x : fixed covariate, id : random effect. Dataframe for formulamain. Vector of case weights. Expression indicating which subset of the rows of data should be used in the fit. All observations are included by default. A missing-data filter function. Distribution for random effect ("Normal" or "Gamma"). The order of Laplce approximation to fit the mean parameters (0 or 1); default=0. dord The order of Laplace approximation to fit the dispersion components (1 or 2); default=1. Maxiter The maximum number of iterations; default=200.

frailtyhl 5 Details convergence varfixed Specify the convergence criterion, the default is 1e-6. Logical value: if TRUE (FALSE), the value of one or more of the variance terms for the frailties is fixed (estimated). varinit Starting values for frailties, the default is 0.1. frailtyhl package produces estimates of fixed effects and frailty parameters as well as their standard errors. Also, frailtyhl makes it possible to fit models where the frailty distribution is normal and gamma and estimate variance components when frailty structure is allowed to be shared or nested. Ha, I. D. and Lee, Y. (2003). Estimating frailty models via Poisson Hierarchical generalized linear models. Journal of Computational and Graphical Statistics, 12, 663 681. Ha, I. D. and Lee, Y. (2005). Comparison of hierarchical likelihood versus orthodox best linear unbiased predictor approaches for frailty models. Biometrika, 92, 717 723. Ha, I. D., Lee, Y. and Song, J. K. (2001). Hierarchical likelihood approach for frailty models. Biometrika, 88, 233 243. Lee, Y., Nelder, J. A. and Pawitan, Y. (2006). Generalised linear models with random effects: unified analysis via h-likelihood. Chapman & Hall: London. See Also <summary.frailtyhl> #### Analysis of kidney data data(kidney) #### Normal frailty model using order = 0, 1 for the mean and dispersion kidney_ln01<-frailtyhl(surv(time,status)~sex+age+(1 id),kidney, RandDist="Normal",mord=0,dord=1) #### Normal frailty model using order = 1, 1 for the mean and dispersion kidney_ln11<-frailtyhl(surv(time,status)~sex+age+(1 id),kidney, RandDist="Normal",mord=1,dord=1) #### Gamma frailty model using order = 0, 2 for the mean and dispersion kidney_g02<-frailtyhl(surv(time,status)~sex+age+(1 id),kidney, RandDist="Gamma",mord=0,dord=2) #### Gamma frailty model using order = 1, 2 for the mean and dispersion kidney_g12<-frailtyhl(surv(time,status)~sex+age+(1 id),kidney, RandDist="Gamma",mord=1,dord=2) #### Analysis of rats data data(rats) #### Cox model rat_cox<-frailtyhl(surv(time,status)~rx+(1 litter),rats, varfixed=true,varinit=c(0)) #### Normal frailty model using order = 1, 1 for the mean and dispersion rat_ln11<-frailtyhl(surv(time,status)~rx+(1 litter),rats,

6 kidney RandDist="Normal",mord=1,dord=1,varinit=c(0.9)) #### Gamma frailty model using order = 1, 2 for the mean and dispersion rat_g12<-frailtyhl(surv(time,status)~rx+(1 litter),rats, RandDist="Gamma",mord=1,dord=2,convergence=10^-4,varinit=c(0.9)) #### Analysis of CGD data data(cgd) #### Multilevel normal frailty model using order = 1, 1 for the mean and dispersion cgd_ln11<-frailtyhl(surv(tstop-tstart,status)~treat+(1 center)+(1 id),cgd, RandDist="Normal",mord=1,dord=1,convergence=10^-4,varinit=c(0.03,1.0)) kidney Kidney Infection Data The data presented by McGilchrist and Aisbett (1991) consist of times to the first and second recurrences of infection in 38 kidney patients using a portable dialysis machine. Infections can occur at the location of insertion of the catheter. The catheter is later removed if infection occurs and can be removed for other reasons, in which case the observation is censored. data(kidney) Format Kidney data set contains 8 columns and 76 rows. A brief description of the data column is given below. id Patient number for 38 patients. time Time to infection since insertion of the catheter status Censoring indicator(1=uncensored, 0=censored). age Age of each patient, in years. sex Sex of each patient(1=male, 2=female). disease Disease type(gn, AN, PKD, Other). frail Frailty estimate from original paper. McGilchrist, C. A. and Aisbett, C. W. (1991). Regression with frailty in survival analysis. Biometrics, 47, 461 466. Therneasu, T. (2012). survival: survival analysis, including penalised likelihood. http://cran.rproject.org/package=survival. R pakcage version 2.36-14. data(kidney)

rats 7 rats Rats data Rats data set presented by Mantel et al. (1977) is based on a tumorigenesis study of 50 litters of female rats. For each litter, one rat was selected to receive the drug and the other two rats were placebo-treated controls. The survival time is the time to the development of tumor, measured in weeks. Death before occurrent of tumor yields a right-censored obervation; 40 rats developed a tumor, leading to censoring of about 73 percent. data(rats) Format Rats data set contains 4 columns and 150 rows. A brief description of the data column is given below. litter Litter number for 50 female rats. rx Treatment(1=drug, 0=placebo) time Time to the devlopment of tumor in weeks. status Censoring indicator(1=uncensored, 0=censored). Mantel,N., Bohidar N. R. and Ciminera, J. L. (1977). Mantel-Haenszel analyses of litter-matched time-to-response data, with modifications for recovery of interlitter information. Cancer Research, 37, 3863 3868. Therneasu, T. (2012). survival: survival analysis, including penalised likelihood. http://cran.rproject.org/package=survival. R pakcage version 2.36-14. data(rats)

8 summary.frailtyhl summary.frailtyhl Summary Method for frailtyhl Object It provides standard summary statistics for the fitted frailtyhl objects. ## S3 method for class frailtyhl summary(object,...) Arguments Details Value object A frailtyhl object.... other arguments When applied to a frailtyhl object summary statistics are producted if the underlying model estimation converged. Otherwise, produces an error message. It returns a list of summary.frailtyhl object containing the following statistics and tables. Model formula Method FixCoef RandCoef likelihood iter convergence aic A selected model of log-normal or gamma frailty models. The formula used in the undelying frailtyhl. The order of Laplace approximation mord and dord used in the undelying frailtyhl. A two-dimensional matrix of fixed effects parameter estimates, repective standard errors and t-values. A two-dimensional matrix of random effects estimates and repective standard errors. Vectors of -2 * likleihood. Number of iterations used in frailtyhl estimation. A text, "converged" if the estimation converged and "did not converge" oterwise. Three AIC criteria(caic, maic, raic) based on conditional likelihood, marginal likelihood and restricted likelihood

Index Topic package frailtyhl, 4 frailtyhl-package, 2 cgd, 3 frailtyhl, 2, 4, 8 frailtyhl-package, 2 kidney, 6 rats, 7 summary.frailtyhl, 5, 8 9