[R] Adjusting published survival functions

Emmanuel Giménez egimenez at antares-consulting.com
Wed Jul 24 11:32:49 CEST 2013


Dear,

I would like to know how to adjust survival functions in R and after reading lots of posts I don't have it clear. I downloaded the fitdistrplus package but it seems me like it only fits univariately the functions.
Being specific , having a survival curve which corresponds to a set of data such as:
"months"	"survival"
1	0,9
2	0,85
3	0,83
3,5	0,8
4,2	0,75
5	0,43
7	0,4
9	0,3
11	0,3
13	0,3

i'm searching the parameters that fit with the curve with loglogistic, lognormal and weibull, and then, comparing the AICs of the adjustments, to select the best fit curve.
Could you please help me?

Thank you in advance,

Manu


More information about the R-help mailing list