Skip to content

WEIBULL or EXPONENTIAL?

3 messages · CHIRIBOGA Xavier, JLucke at ria.buffalo.edu, varin sacha

#
Dear members,



I am doing a survival analysis wiith the function coxph...however I am wondering how can I know if my data follows a EXPONENTIAL or WEIBULL distribution?

I have 3 censored datum. Using R studio.



Thanks for the suggestions,



Xavier
#
As a start you can use an exploratory approach.  Standard survival 
analysis texts show you how to use a log-log plot to assess whether a 
distribution is Weibull.   Of course, the exponential is a special case of 
the Weibull. 



CHIRIBOGA Xavier <xavier.chiriboga at unine.ch> 
Sent by: "R-help" <r-help-bounces at r-project.org>
04/03/2015 10:33 AM

To
"r-help at r-project.org" <r-help at r-project.org>, 
cc

Subject
[R] WEIBULL or EXPONENTIAL?






Dear members,



I am doing a survival analysis wiith the function coxph...however I am 
wondering how can I know if my data follows a EXPONENTIAL or WEIBULL 
distribution?

I have 3 censored datum. Using R studio.



Thanks for the suggestions,



Xavier

______________________________________________
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.
#
Hi Xavier,

I use the fitdistrplus and logspline packages to know which distribution fits better my data.


Here is an example :

install.packages("fitdistrplus")
library(fitdistrplus)
instal.packages("logspline")
library(logspline)
x=c(44986,18288,56147,44488,41018,40631,27301,39025,45688,47172,12300,21558,16103,48874,67245,36119,10398,42630,12879,34058,84443,30639)
descdist(x,discrete=FALSE) 

Cheers,
S.



________________________________
De : CHIRIBOGA Xavier <xavier.chiriboga at unine.ch>
? : "r-help at r-project.org" <r-help at r-project.org> 
Envoy? le : Vendredi 3 avril 2015 16h33
Objet : [R] WEIBULL or EXPONENTIAL?


Dear members,



I am doing a survival analysis wiith the function coxph...however I am wondering how can I know if my data follows a EXPONENTIAL or WEIBULL distribution?

I have 3 censored datum. Using R studio.



Thanks for the suggestions,



Xavier

______________________________________________
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.