Blog Archives

Gamma Process Prior for Semiparametric Survival Analysis

May 11, 2019
By
Gamma Process Prior for Semiparametric Survival Analysis

Motviation The Gamma Process Prior Independent Hazards Correlated Hazards Heads up: equations may not render on blog aggregation sites. See original post here for good formatting. If you like this post, you can follow me on twitter. Motviation Suppose we observe survival/event times from some distribution \ where \(f\) is the density and \(F(t)=1-S(t)\) is the corresponding CDF expressed in terms of the...

Read more »

Specifying Accelerated Failure Time Models in STAN

March 8, 2019
By
Specifying Accelerated Failure Time Models in STAN

This post is an add-on to my previous post about augmented gibbs sampling for censored survival times. If you’re not a complete maniac like me, then you probably don’t want to code your own sampler from scratch like I did in that previous post. Luckily you don’t have to because you can easily specify that same model in Stan. Let’s...

Read more »

Bayesian Survival Analysis with Data Augmentation

March 5, 2019
By
Bayesian Survival Analysis with Data Augmentation

Motivation Model Set Up Data Augmentation Metropolis-in-Gibbs Sampler Simulation Example in R Motivation When dealing with time-to-event data, right-censoring is a common occurance. Although most are familiar with likelihood construction under ...

Read more »

Setting up our blog with RStudio and blogdown I: Creating the blog

February 1, 2019
By
Setting up our blog with RStudio and blogdown I: Creating the blog

Last month I migrated my blog from Wordpress to Hugo and blogdown. Now I can post from RStudio using R/markdown, which allow me to create interactive posts including R code. It has been such a good experience that I decide to write down how to do it with three posts: This one about to setup our blog. Part II explains my...

Read more »

Setting up your blog with RStudio and blogdown II: Workflow

February 1, 2019
By
Setting up your blog with RStudio and blogdown II: Workflow

Workflow In Part I of this series of post we setup our new blog using blogdown and Hugo. Once the blog is configured, this is the typical workflow I follow to write new posts and update my blog online: Open your blog project with RStudio Load the blogdown library and start the Hugo server and browser library(blogdown) blogdown::serve_site() Create new post: the best way is...

Read more »

Setting up your blog with RStudio and blogdown III: modify your theme

February 1, 2019
By
Setting up your blog with RStudio and blogdown III: modify your theme

This is Part III of my series of posts about how to setup you blog with RStudio and blogdown. The other parts are: - Part I: about to setup the blog using Hugo, RStudio and blogdown - Part II explains my workflow of creating new posts. - Part III (this one) how to modify the theme. In this post I am going to...

Read more »

Search R-bloggers

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)