thanks a lot
sorry for the mistake that i do in exponential, i am "francophone"
and for the programme if we want to apply the "power rule " condition we use
log(vi).
it works thank yo
--
View this message in context:
http://r.789695.n4.nabble.com/AFT-model-time-dependent-with-weibull-di
Hello,
Vous êtes française?
It shows, in english it would be 'exponential', with an 'a'.
Worked with me, after reading the manual.
dataexp <- read.table(text="
vi Ti
1 265.79
2 26 1579.52
3 26 2323.70
4 28 68.85
[...]
73 380.39
74 381.13
75 380.09
76 382.38
", he
On Aug 4, 2012, at 10:45 AM, hafida wrote:
Dear R-community,
I have tried to estimate an EXPONENTIEL accelerated failure time(AFT)
power rule model with time-independent . For that purpose, I have
used
the eha package.
Please, consider this example:
vi Ti
1 265.79
2 26 1579.
Dear R-community,
>
> I have tried to estimate an EXPONENTIEL accelerated failure time(AFT)
> power rule model with time-independent . For that purpose, I have used
> the eha package.
> Please, consider this example:
vi Ti
1 265.79
2 26 1579.52
3 26 2323.70
4 28 68.85
5 28
thanks!
--
View this message in context:
http://r.789695.n4.nabble.com/AFT-model-time-dependent-with-weibull-distribution-tp3755079p3758267.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat
On Sat, Aug 20, 2011 at 7:33 PM, JPF wrote:
>
> Göran Broström wrote:
>>
>>
>> Good. Do you still need answers to your other questions?
>>
>>
>
> Yes. Could answer the following two questions:
>
> 1- Can I use phreg function to estimate a model with time-dependent
> covariates? In case of a posit
question 2
*aftreg vs. survreg*
for aftreg = S0 *{t/exp(b-BXi)]^a} a= shape and b= log(scale)
for survreg and stata S0 *{t*exp(intercept+BXi)]^1/p} p=shape
/intercept, log(scale) and estimates are equivalent with reversed sign./
*PH and AFT*
/phreg.Bhat= aftreg.Bhat * shape /
Göran Broström wrote:
>
>
> Good. Do you still need answers to your other questions?
>
>
Yes. Could answer the following two questions:
1- Can I use phreg function to estimate a model with time-dependent
covariates? In case of a positive answer, how?
2- I could not find any example that
On Sat, Aug 20, 2011 at 4:19 AM, JPF wrote:
>
> JPF wrote:
>>
>>
>>
>> weibullaft<-aftreg(Surv(sta,time,S) ~ TDC1 + TIC1, dist="weibull",
>> data.frame=Data)
>>
>> ## aftreg gives an error when I add an ID argument... That should be used
>> for controlling for time-varying variables.
>>
>> Error i
JPF wrote:
>
>
>
> weibullaft<-aftreg(Surv(sta,time,S) ~ TDC1 + TIC1, dist="weibull",
> data.frame=Data)
>
> ## aftreg gives an error when I add an ID argument... That should be used
> for controlling for time-varying variables.
>
> Error in aftreg.fit(X, Y, dist, strats, offset, init, shape
Dear Prof. Broström,
I have searched in the reference manual inside the package eha, updated
recently. I did not find any description on how to enter id in the aftreg
function except the description of the argument. Can you refer to a specific
part of the manual? Do you mean another documentatio
On Fri, Aug 19, 2011 at 2:55 PM, javier palacios wrote:
> Dear R-community,
>
> I have tried to estimate an accelerated failure time(AFT) and proportional
> hazard (PH) parametric survival model with time-independent and
> time-dependent covariates. For that purpose, I have used the eha package.
Dear R-community,
I have tried to estimate an accelerated failure time(AFT) and proportional
hazard (PH) parametric survival model with time-independent and
time-dependent covariates. For that purpose, I have used the eha package.
Please, consider this example:
weibullph <- phreg(Surv(sta,ti
13 matches
Mail list logo