I'm doing survival calculations in Scipy and can't get the correct values.
My code:
x, a, c = 1000, 1.5, 5000
vals = exponweib.cdf(x,a,c,loc=0,scale=1)
Val should equal 0.085559356392783004, but I'm getting 0 instead.
If I define my own function I get the right answer: def weibCumDist(x,a,c): return 1-np.exp(-(x/c)**a)
I could just use my own function, but I'm curious as to what I'm doing wrong. Any suggestions?
Thanks.
cequaling 5000 is enormous, are you sure that's correct? I receive a runtime error because the power exponent is so huge. - N1B4