weibull
Fitting a Weibull distribution using Scipy
My guess is that you want to estimate the shape parameter and the scale of the Weibull distribution while keeping the location fixed. Fixing loc assumes that the values of your data and of the distribution are positive with lower bound at zero. floc=0 keeps the location fixed at zero, f0=1 keeps the first shape … Read more
Representing Parametric Survival Model in ‘Counting Process’ form in JAGS
You can use rstanarm package, which is a wrapper around STAN. It allows to use standard R formula notation to describe survival models. stan_surv function accepts arguments in a “counting process” form. Different base hazard functions including Weibull can be used to fit the model. The survival part of rstanarm – stan_surv function is still … Read more