Survival analysis: basic terms, the exponential model, censoring, examples in R and JAGS

May 13, 2015
By

(This article was first published on Petr Keil » R, and kindly contributed to R-bloggers)

I have put together some basic material on survival analysis. It is available as:

  • .html document with highlighted syntax here.
  • Printer-ready .pdf document here.
  • GitHub repository with all the source files here.

Main motivation was that I wanted to learn the basics myself; also, it’s tricky to find simple examples of survival models fitted in Bayesian setting and there are few materials that combine theory with examples.

The material contains:

  • Mathematical formulations of key concepts of survival analysis.
  • Illustration of the exponential model of failure density.
  • Example of the exponential model fitting in R.
  • Example of the same model fitting in JAGS.
  • More complex model with censoring in JAGS.

To leave a comment for the author, please follow the link and comment on their blog: Petr Keil » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)