Skip to content
Back to formatted view

Raw Message

Message-ID: <5c0e69cd-adf1-eb61-9bea-8422eb858aeb@comcast.net>
Date: 2018-11-03T20:41:31Z
From: David Winsemius
Subject: Predict follow up time using parametric model in r
In-Reply-To: <CAMESY2jmYNeWjdjFFH5sNYD1mEuSi5uUh9grus=4Laem70jwyg@mail.gmail.com>

On 11/3/18 12:59 PM, Israel Ortiz wrote:
> I am trying to predict follow-up time using several survival models, both
> parametric and semi-parametric. I achieve it for semi parametric models
> using predict.coxph function in R from survival package using type =
> "expected" as indicated in help. However, for parametric models, this
> option doesn't exist for the predict.survreg function. Is there any other
> option? Maybe using rms package?

I would imagine that the author thought that you should be able to 
rather simple construct a function that would return an estimate simply 
from the coefficients and the parametric equation for S(t).


That was also what Harrell does in his "Regression? Modeling Strategies" 
text. In the first edition the code is on page 437.

-- 

David


>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.