Message-ID: <529653BF.70800@umu.se>
Date: 2013-11-27T20:19:11Z
From: Göran Broström
Subject: R- package for Parametric Survival Analysis with Left-censored data
In-Reply-To: <79AA7C00-7DB3-4851-A24D-10E2A22DBF0F@gmail.com>
On 11/20/2013 08:17 AM, peter dalgaard wrote:
>
> On 20 Nov 2013, at 04:15 , David Winsemius <dwinsemius at comcast.net>
> wrote:
>
>>
>> On Nov 19, 2013, at 5:30 PM, Vinod Mishra wrote:
>>
>>> Dear All,
>>>
>>> I am new to R. Can someone please direct me to an R package using
>>> which I can estimate a Parametric Survival Analysis model with
>>> Left-censored (delayed entry) data in it.
>>>
>>> I recently received reviewers comment on my submitted article,
>>> where the reviewer suggested that only R has capabilities of
>>> estimating above mentioned survival model. However, I am not able
>>> to figure which specific package in R, the reviewer was referring
>>> to.
>>
>> Look at:
>>
>> ?Surv
>>
>> ... after loading the survival package. (I do think you would be
>> advised to seek statistical consultation.)
>>
>
> In particular, notice the difference between left censoring (some
> patients are known to have died at an unknown time before t0) and
> left truncation (we only know survival times for patients alive at
> t0). Delayed entry is the latter.
And in that case you could try the functions 'phreg' (parametric
proportional hazards models) and 'aftreg' (accelerated failure time
models) in the package 'eha'. Both functions allow for left truncation,
right censoring and and a choice of distributions.
G?ran Brostr?m
>
>> --
>>
>> David Winsemius Alameda, CA, USA
>>
>> ______________________________________________ R-help at r-project.org
>> mailing list 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.
>