Skip to content
Back to formatted view

Raw Message

Message-ID: <394662645.6333120.1428090163127.JavaMail.yahoo@mail.yahoo.com>
Date: 2015-04-03T19:42:43Z
From: varin sacha
Subject: WEIBULL or EXPONENTIAL?
In-Reply-To: <7B64C8E017B948419F014C915AA6D7342A051E84@mail-mbx-03.UNINE.CH>

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.