Skip to content
Back to formatted view

Raw Message

Message-ID: <107F953B-0D21-4407-8EA6-090941FA3697@comcast.net>
Date: 2011-01-27T21:08:00Z
From: David Winsemius
Subject: Meaning of pterms in survreg object?
In-Reply-To: <20110127204315.GA2895@huesing.name>

You got a perfectly sensible reply from Thereau,  the author of the  
package,  a day after your posting and then failed to respond to his  
questions. I'm not sure what more you are expecting.

-- 
David

On Jan 27, 2011, at 3:43 PM, Johannes Huesing wrote:

> Is there a special mailing list for the survival package where my
> question would have been more appropriate?
>
> Johannes Huesing <johannes at huesing.name> [Mon, Jan 10, 2011 at  
> 09:26:37PM CET]:
>> I am trying to model survival data with a Weibull distribution
>> using survreg. Units are clustered two apiece, sometimes receiving
>> the same treatment and sometimes opposing treatment.
>>
>> Residual and predict methods are not carried out on the survreg
>> object, although the component linear.predictors exists for the
>> survreg object. Looking at the code I see that the residual method
>> refuses to run if any of the components of the pterms vector is
>> equal to 2.
>>
>> When taking the logarithm of the data and trying a linear mixed
>> model, residuals and predicted values are produced just fine.
>>
>> So what is pterms and why is it that, when any component of it
>> is 2, residuals are not allowed to be displayed?
>> -- 
>> Johannes H?sing



David Winsemius, MD
West Hartford, CT