Package wally. May 25, Type Package

Similar documents
Package prognosticroc

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

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

Package ega. March 21, 2017

Package appnn. R topics documented: July 12, 2015

Package ROCt. March 9, 2016

Package AbsFilterGSEA

Package ROCt. February 19, 2017

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models

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

Package citccmst. February 19, 2015

Package pollen. October 7, 2018

Package longroc. November 20, 2017

Package clust.bin.pair

Package ClusteredMutations

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

Package ICCbin. November 14, 2017

Package QualInt. February 19, 2015

The index of prediction accuracy: an intuitive measure useful for evaluating risk prediction models

Package CompareTests

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

Package mediation. September 18, 2009

Package singlecase. April 19, 2009

Package noia. February 20, 2015

Package memapp. R topics documented: June 2, Version 2.10 Date

Package mdsdt. March 12, 2016

Package SAMURAI. February 19, 2015

Package ExactCIdiff. February 15, 2013

Package StepReg. November 3, 2017

Package speff2trial. February 20, 2015

Package TEQR. R topics documented: February 5, Version Date Title Target Equivalence Range Design Author M.

Package frailtyhl. February 19, 2015

Package preference. May 8, 2018

Package inctools. January 3, 2018

Package xseq. R topics documented: September 11, 2015

Package sbpiper. April 20, 2018

Package hei. August 17, 2017

Package inote. June 8, 2017

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

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

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

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based

Package CTT. February 4, 2018

Package MethPed. September 1, 2018

CHAPTER 10 CANCER REPORT. Angela Webster Germaine Wong

Package RNAsmc. December 11, 2018

HAL author manuscript. Sensitivity of four psychometric tests to measure cognitive changes in brain. aging population-based studies

Package GANPAdata. February 19, 2015

Package EpiEstim. R topics documented: February 19, Version Date 2013/03/08

Package Interpol. R topics documented: February 19, Type Package. Title Interpolation of amino acid sequences. Version

Package seqdesign. April 27, Version 1.1 Date

Package msgbsr. January 17, 2019

Package xmeta. August 16, 2017

Package tumgr. February 4, 2016

Package cssam. February 19, 2015

Package labstats. December 5, 2016

Expanded View Figures

Package ORIClust. February 19, 2015

Package AIMS. June 29, 2018

Package surrosurv. September 27, 2017

Dynamic prediction using joint models for recurrent and terminal events: Evolution after a breast cancer

A web application for conducting the continual reassessment method

Package DeconRNASeq. November 19, 2017

Lecture Outline. Biost 590: Statistical Consulting. Stages of Scientific Studies. Scientific Method

Package asymptest. May 10, 2018

dataset1 <- read.delim("c:\dca_example_dataset1.txt", header = TRUE, sep = "\t") attach(dataset1)

Allocation of deceased donor kidneys. Phil Clayton NSW Renal Group 14 June 2012

Package cancer. July 10, 2018

Package influence.me

Missing data imputation: focusing on single imputation

Linear Regression in SAS

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

Solution to Series 1

Scores in kidney transplantation: How can we use them?

The rmeta Package February 17, 2001

Package seqcombo. R topics documented: March 10, 2019

Package medicalrisk. August 29, 2016

I. Identifying the question Define Research Hypothesis and Questions

The effect of aging on cognitive function in a South Indian Population

Lecture Outline Biost 517 Applied Biostatistics I

Kidney transplantation is the treatment of choice

Package BCRA. April 25, 2018

Unit 1 Exploring and Understanding Data

Supplementary appendix

Measure Information Form

SDC (Supplemental Digital Content) Figure S1. Percentages of Granzyme B expressing CD8 + T lymphocytes

Package ncar. July 20, 2018

Package mem. R topics documented: October 23, Type Package Title The Moving Epidemic Method Version 2.11 Date Depends R (>= 3.4.

Chapter 10. Cancer. ANZDATA gratefully acknowledges the contributions of the Cancer Working Group convened by Germaine Wong.

Creative Commons Attribution-NonCommercial-Share Alike License

PSYCH-GA.2211/NEURL-GA.2201 Fall 2016 Mathematical Tools for Cognitive and Neural Science. Homework 5

Hour 2: lm (regression), plot (scatterplots), cooks.distance and resid (diagnostics) Stat 302, Winter 2016 SFU, Week 3, Hour 1, Page 1

Unit 1 Outline Science Practices. Part 1 - The Scientific Method. Screencasts found at: sciencepeek.com. 1. List the steps of the scientific method.

Chapter 10. Cancer. ANZDATA Registry 39th Annual Report. Data to 31-Dec-2015

Chapter 17 Sensitivity Analysis and Model Validation

Package CorMut. January 21, 2019

An analysis of the use of animals in predicting human toxicology and drug safety: a review

Kidane Tesfu Habtemariam, MASTAT, Principle of Stat Data Analysis Project work

Naïve Bayes classification in R

Transcription:

Type Package Package wally May 25, 2017 Title The Wally Calibration Plot for Risk Prediction Models Version 1.0.9 Date 2017-04-28 Author Paul F Blanche <paulfblanche@gmail.com>, Thomas A. Gerds <tag@biostat.ku.dk> Maintainer Paul F. Blanche <paulfblanche@gmail.com> Description A prediction model is calibrated if, roughly, for any percentage x we can expect that x subjects out of 100 experience the event among all subjects that have a predicted risk of x%. A calibration plot provides a simple, yet useful, way of assessing the calibration assumption. The Wally plot consists of a sequence of usual calibration plots. Among the plots contained within the sequence, one is the actual calibration plot which has been obtained from the data and the others are obtained from similar simulated data under the calibration assumption. It provides the investigator with a direct visual understanding of the shape and sampling variability that are common under the calibration assumption. The original calibration plot from the data is included randomly among the simulated calibration plots, similarly to a police lineup. If the original calibration plot is not easily identified then the calibration assumption is not contradicted by the data. The method handles the common situations in which the data contain censored observations and occurrences of competing events. Depends R (>= 2.9.0), prodlim (>= 1.4.9) Imports stats, riskregression (>= 1.0.8), data.table (>= 1.10.4) Suggests testthat, survival License GPL (>= 2) RoxygenNote 5.0.1 NeedsCompilation no Repository CRAN Date/Publication 2017-05-24 23:23:16 UTC 1

2 divat R topics documented: divat............................................. 2 threecity........................................... 3 wallyplot.......................................... 3 Index 7 divat divat data Description Extracted data from a french population based cohort (DIVAT cohort). The dataset includes followup information on kidney graft failure outcome and predicted 5-year risks based on based on the subject specific information which includes age, gender, cardiovascular and diabetes histories, monitoring of the evolution of the kidney function measured via serum creatinine and relevant characteristics of his or her kidney donor. Graft failure is defined as either death with functioning kidney graft or return to dialysis. The prediction model from which the predictions have been computed has been previously fitted using an independent training sample from the DIVAT data. Details about data and modeling can be found in Fournier et al. (2016). Format A subsample consisting of 1300 observations on the following 3 variables. pi 5-year risk prediction of kidney graft failure. status 0=censored, 1=kidney graft failure time time to event (i.e., time to kidney graft failure or loss of follow-up) References Fournier, M. C., Foucher, Y., Blanche, P., Buron, F., Giral, M., & Dantan, E. (2016). A joint model for longitudinal and time-to-event data to better assess the specific role of donor and recipient factors on long-term kidney transplantation outcomes. European journal of epidemiology, 31(5), 469-479. Examples data(divat)

threecity 3 threecity threecity data Description Extracted data from a french population based cohort (Three-City cohort). The dataset includes followup information on dementia outcome and predicted 5-year risks based on based on the subject specific information which includes age, gender, education level and cognitive decline measured by a psychometric test (Mini Mental State Examination). The prediction model from which the predictions have been computed has been fitted on independent training data from the Paquid cohort, another french population based cohort with similar design (see Reference Blanche et al. 2015 for details). Format A subsample consisting of 2000 observations on the following 3 variables. pi 5-year absolute risk predictions of dementia. status 0=censored, 1=dementia, 2=death dementia free time time to event (i.e., time to either dementia, death dementia free or loss of follow-up) Source Web-appendix of Blanche et al. (2015). References Blanche, P., Proust-Lima, C., Loubere, L., Berr, C., Dartigues, J. F., Jacqmin-Gadda, H. (2015). Quantifying and comparing dynamic predictive accuracy of joint models for longitudinal marker and time-to-event in presence of censoring and competing risks. Biometrics, 71(1), 102-113. Examples data(threecity) wallyplot Wally plots to assess calibration of a risk or survival prediction Description ## Wally plots to assess calibration of a risk or survival prediction

4 wallyplot Usage wallyplot(object, time, formula, data, cause = 1, q = 10, ylim, hanging = FALSE, seed = NULL, mar = c(4.1, 4.1, 2, 2), colbox = "red", verbose = TRUE, col = c("grey90", "grey30"), xlab = "Risk groups", labels = "quantiles.labels",...) Arguments object time formula data cause Probabilistic survival predictions or probabilistic event risk predictions evaluated at time for the subjects in data. Either given in form of a numeric vector of probabilistic predictions or as an object which has a predictrisk method Time interest for evaluating calibration of the predictions. A survival or event history formula. The left hand side is used to compute the expected event status. If formula is missing, try to extract a formula from the first element in object. A data frame in which to validate the prediction models and to fit the censoring model. If data is missing, try to extract a data set from the first element in object. For competing risks settings the cause of interest. q The number of quantiles. Defaults to 10. ylim hanging seed mar colbox verbose col xlab labels Limits of y-axis. If missing the function tries to find appropriate limits based on the simulated and real data. If TRUE, hang bars corresponding to observed frequencies at the value of the corresponding prediction. A seed value to make results reproducible. Plot margins passed to par. Color of the box which identifies the real data calibration plot. If TRUE warn about missing formula and data. Colour of the bars. Label for x-axis Label below the bars. Either "quantiles" or "quantiles.label"... Further arguments passed to the subroutine wallycalplot and if hanging is TRUE also to subroutine lines. Value List of simulated and real data. Author(s) Paul F. Blanche <paulfblanche@gmail.com> and Thomas A. Gerds <tag@biostat.ku.dk>

wallyplot 5 References Blanche P, Gerds T A, Ekstrom C T (2017). The Wally plot approach to assess the calibration of clinical prediction models, submitted. Examples # Survival setting library(prodlim) library(survival) set.seed(180) d = SimSurv(180) f = coxph(surv(time,status)~x1+x2,data=d,x=true) wallyplot(f, time=4, q=10, data=d, formula=surv(time,status)~1) wallyplot(f, time=4, q=10, data=d, formula=surv(time,status)~1) # Competing risks setting library(prodlim) library(survival) library(riskregression) set.seed(180) d2 = SimCompRisk(180) f2 = CSC(Hist(time,event)~X1+X2,data=d2) wallyplot(f2, time=5, q=3, data=d2, formula=hist(time,event)~1) # Reproduce Wally plots presented in Blanche et al. (2017) data(threecity) wallyplot(threecity$pi, time=5, formula=hist(time,status)~1,

6 wallyplot data=threecity, ylim=c(-.1,.25), seed= 511, hline.lwd=3, mar=c(1.01, 4.1, 1.15, 2)) data(divat) wallyplot(divat$pi, time=5, formula=hist(time,status)~1, data=divat, ylim=c(-.1,.60), seed= 123459, hline.lwd=3, mar=c(1.01, 4.1, 1.15, 2))

Index Topic datasets divat, 2 threecity, 3 divat, 2 threecity, 3 wallyplot, 3 7