Questions tagged [weibull-distribution]
The Weibull distribution is a probability distribution with applications in survival analysis, reliability engineering, failure analysis, industrial engineering, extreme value theory, weather forecasting, forestry, and more.
353
questions
1
vote
1
answer
29
views
Surpyval Weibull goodness of fit
I have been using surpyval to fit some calibration data to a weibull distribution. I would like to assess the goodness of fit but I am not sure how to approach this. I had previously used "...
0
votes
0
answers
14
views
How to handle intermediate observations in Weibull Models (censoring)
I'm currently working on updating previously created Weibull Models on component failure.
The Situation:
I have data available, that shows if a component of a machine has been exchanged (mainly ...
0
votes
0
answers
33
views
Assessing whether a dataset follows a distribution using Q-Q Plot
I recently found myself answering a question on Stack Overflow about adjusting a dataset to a unknown distribution.
Adding my two cents to the community, I have provided a script to draw a Q-Q Plot in ...
1
vote
0
answers
29
views
Inconsistent posterior from hierarchical survival model
I asked about this question on Stan forum but no one replied so dual posting here. I'd really appreciate some insight, as I'm completely stuck.
I’m trying to do hierarchical survival modeling using ...
2
votes
0
answers
35
views
Distribution supported on $(0,\infty)$ for which moments of its truncated distribution are elementary functions of the truncation point and power
I am looking for a distribution with a differentiable PDF $f:(0,\infty)\rightarrow (0,\infty)$ for which for any $\delta>1,z>0$, the two following integrals are finite elementary functions of $\...
1
vote
1
answer
62
views
Estimation of Weibull parameter In R language [closed]
I want to fit Y using M alone
I want to also fit Y using M+P
...
0
votes
0
answers
109
views
MLE of weibull distribution with survival data
I would like to ask about estimating parameters of Weibull distribution (a, and b)
I am trying to code likelihood of weibull distribution with survival data $(T_i, \Delta_i),$ which I believe is: $(ab)...
1
vote
0
answers
27
views
Weibull distribution: Is it possible to solve for the shape and scale from the mean?
I'm modeling product lifetimes. If I know what I want the average lifetime of a product in my model to be, is it possible to fit a Weibull distribution to only that data point?
1
vote
1
answer
129
views
Capture time variation in survival analysis
I am currently working with intraday time-to-event data, where the time to event typically spans just a few minutes. I want to compare the survival curves of two subpopulations in my sample.
The ...
1
vote
1
answer
124
views
What is the right Haar prior for the Weibull distribution?
From Wikipedia, the Weibull distribution is defined with the exceedance distribution function (aka survival function) $\exp[-(x/\lambda)^k]$.
If I transform the random variable $x$ using $x'=ax^b$ ...
2
votes
1
answer
442
views
DIfference between hazard ratio and partial hazard in survival analysis
The hazard function in survival analysis is represented as (https://in.mathworks.com/help/stats/cox-proportional-hazard-regression.html):
Here the exponential term is termed as hazard ratio as ...
7
votes
0
answers
65
views
Deriving the distribution of $X^p$ if $X$ is Weibull distributed and estimating the parameters
I am stuck with the following problem and hope somebody can help spotting the error. I am not sure if it's a simple math or programming glimbse or whether the issue is more complex (e.g. concerning ...
1
vote
1
answer
46
views
Logic to caluclate shape and scale parameter in survival analysis
I have the below dataset:
...
0
votes
1
answer
84
views
Maximum Likelihood Estimator Multiple Parameters
Question
Suppose two groups on treatment and can be modelled by a Weibull distribution with a normal probability density function
\begin{align}
f(x; \alpha, \lambda) = \alpha \lambda x^{\alpha - 1}...
6
votes
1
answer
214
views
Why does the best fitting Weibull distribution for this survival data deviate further from the actual data than a poorly fit distribution?
I started working with the Gumbel distribution and fit it to the lung dataset to try it out. I then compared it with the survival curve using the Weibull ...
2
votes
1
answer
50
views
How to assign reasonable scale parameters to randomly generated intercepts for the Weibull distribution?
This is a follow-on to post Correctly simulating an extreme value distribution for survival analysis?, as I work towards adaptation of that code to the Weibull distribution. In the below code I ...
2
votes
1
answer
89
views
How to generate random values representing lognormal parameters for simulating the lognormal distribution using survival data in R?
I am trying to generate random parameters for the lognormal distribution in order to test parameter sensitivity and for simulating (predicting) future survival rates, using the ...
4
votes
2
answers
256
views
How can I fit a distribution to a dataset while forcing it through an exact point in r?
This code was kindly recommended to me in my original question. It returned the same parameter estimates as the software called CRAFT by Aon Benfield. I have also managed to replicate it for the ...
1
vote
1
answer
101
views
Options for transforming the variance-covariance matrix generated by the survreg() function to the original scale of the Weibull distribution?
I'm working with the survreg() function of the R survival package, and I understand that the default scale parameter for the ...
2
votes
2
answers
82
views
Is this an adequate example for simulation and modeling uncertainty in survival and hazard curve estimates?
I'm studying simulation and in particular uncertainty in survival curve estimates, by drawing from a distribution of parameters (for the Weibull distribution), using the variance-covariance matrix ...
2
votes
1
answer
370
views
Why am I not able to correctly calculate the median survival time for the Weibull distribution?
The survival function for the Weibull distribution is:
$S(t) = exp(-\lambda t^\alpha)$, $\lambda$ = scale parameter, $\alpha$ = shape parameter
If I wanted to calculate the median survival time, I ...
0
votes
0
answers
206
views
What is the minimum of 2 Weibull distributions with the same shape parameter
If X and Y are two independent Weibull distributions with the same shape parameter, what distribution is the min(X, Y).
I am trying to find out the hazard ratio for the following case.
If I model Z=...
0
votes
1
answer
124
views
How to simulate right-censored Weibull PH survival times with time-varying covariate?
I am trying to simulate data coming from a joint model of longitudinal and survival data. Basically, my thought process is this.
I need to define a maximum follow-up time, F.
I need to define ...
1
vote
1
answer
154
views
Interpreting shape and rate parameters from a weibull model of mortality hazard in BaSTA
I am using the BaSTA package in R to estimate sex differences in survival parameters for a capture-recapture dataset. When I use a simple Gompertz model the parameters are very interpretable (b0 ...
0
votes
1
answer
221
views
Obtain the survival function plot by building an overall survival regression model
I need to build an overall survival regression model that can show the survival plots for id's with multiple rows.
I have used the Weibull function to define the baseline hazard function h0(t) and Cox ...
1
vote
1
answer
196
views
Maximum likelihood fit of left truncated Weibull distribution
I want to fit some samples to the right tail of a Weibull distribution. To fix the notation:
the samples are $\{X_i\}_{i=1,\ldots,n}$,
all samples are greater than a fixed threshold $L$,
the $X_i$'...
0
votes
1
answer
449
views
Calculate survival function for remaining life prediction using CoxTimeVaryingFitter in Python
Cox’s time-varying hazard model is given here which is "CoxTimeVaryingFitter"
The mathematical formulation is represented as:
The values of log partial hazards "(x−x¯)′β" are ...
1
vote
1
answer
291
views
Calcuate the coefficients of time varying covariates in Cox hazard model
The cox time varying covariates (x(t)) model is as such:
The above formulation can be seen here: https://lifelines.readthedocs.io/en/latest/fitters/regression/CoxTimeVaryingFitter.html
Here, can ...
0
votes
0
answers
46
views
Showing suspended (right-censored) data points in diagram (distributed on x-axis)
How is it possible to show the suspended (right-censored) datapoints (distributed on x-axis without value for y-axis) in e.g. Probability Plot - Weibull CDF like the green triangles in attached image?
2
votes
1
answer
828
views
Mean Residual Life of Weibull Distribution closed form
Weibull distribution function is parameterized as $ F(x) = 1 - e^{(-(x/\sigma)^a)}$ and survival function is $S(x)= e^{(-(x/\sigma)^a)}$ where $a$ is shape parameter and $\sigma$ is the scale ...
2
votes
1
answer
270
views
Weibull distribution parameterization
I have the following Weibull distribution:
$f(x;\lambda,\beta) = (\lambda\beta)x^{(\beta-1)}e^{(-\lambda x^b)} $ where $\lambda$ is scale parameter and $\beta$ is shape parameter.
I have an ...
0
votes
2
answers
76
views
Why does manually computed weibull hazard not match formula?
I'm trying to understand survival analysis better and ran into a weird problem with hazard rates - when I calculate it by hand,
i.e. with
$$
h(t) = \left( \frac{ P(T \leq t + \Delta t) - P(T \leq t)}{...
1
vote
1
answer
260
views
How to estimate the variance covariance matrix of a Weibull survival model manually?
In flexsurv the var-covar matrix of the parameters can be produced with the vcov() function. This will produce a var-ovar matrix for the shape and scale parameters provided by the function coef(). ...
0
votes
0
answers
332
views
How to prove the MLE for Weibull distribution is biased or unbiased?
My attempt is like this:
Let $X \sim \text{Weibull}(\alpha, \lambda)$ be a random variable following a Weibull distribution with pdf
$fx(x; \lambda) = \begin{cases}
{\alpha}{\lambda^{-\alpha}} x^{\...
2
votes
1
answer
119
views
Extended Weibull-Cox model survival function
I'm reading an article where the authors use an extended Cox-Weibull hazard model with time-varying covariates to model survival time of an individual. This individual is allowed to start at week $m$, ...
2
votes
0
answers
237
views
What is the motivation behind the inverse Weibull distribution
It seems like both the Weibull and the inverse or reversed Weibull model failure rates, waiting times and extreme phenomena.
The inverse Weibull pdf is
$$f_X(x; \alpha, \beta) = \beta \alpha^{-\beta}x^...
0
votes
0
answers
1k
views
How to calculate confidence intervall and z-score for a weibull distribution? (2 and 3 parameter)
How can i calculate the confidence interval (CI) of a weibull distribution?
I have raw data e.g.: 3,5,7,2,11,97, 223, ...
I can calculate the mean (µ), standard deviation (SD).
But how can i ...
0
votes
0
answers
75
views
UMP Test and UMVUE when there are nuisance parameters
Consider $X_1,...,X_n \sim Weibull(\theta, c)$ where $c>0$ is unknown. Several textbook examples consider when $c$ is known, but here, we consider when $c$ is unknown. Suppose now we wanted to find ...
0
votes
0
answers
41
views
Distribution is Weibull but variable diagnostics lines cross and converge - what to do?
Reproducible data:
...
0
votes
2
answers
1k
views
Finding shape and scale parameters of gamma distribution
I have a dataset [click here][1] and trying to find the shape and scale parameters of gamma distribution.
...
0
votes
0
answers
25
views
Find extreme values in relative frequencies
I have the relative frequencies of elements in roughly 450 samples (with varying sample sizes). These elements are organisms in fecal samples.
I am interested in finding extreme values of these ...
1
vote
0
answers
132
views
What are the operational links between exponential and weibull distribution
I recently read a very interesting article about competing risks that came with simulations.
In these, the author defines a Weibull distributed variable w using an ...
0
votes
1
answer
657
views
What is the meaning of the flexsurvreg plot and its res.t?
I use the flexsurverg to estimate the a Weibull survival model with a time varied covariate, where “utility” is a continuous function, and the result is shown as follows:
I plot the fit function and ...
2
votes
1
answer
2k
views
AFT model interpretation
I am slightly confused about the way accelerated failure time models work in comparison to proportional hazard models.
Is it a correct statement that while the PH model assumes covariates multiply ...
1
vote
0
answers
56
views
Universal Approximation Capabilities of Mixture of Weibulls
Can a mixture of $N$ Weibull distributions approximate any continuous density with non-negative support, if $N$ is sufficiently large? (If so, a reference to the proof would be greatly appreciated).
(...
2
votes
0
answers
92
views
Finding Variance of Proportional Hazards Regression Coefficient Estimates in Weibull Regression
So I am doing Weibull regression in R with the exponential relative risk function. The proportional hazards model formulation assumes that the hazard rate is given by $$\alpha(t;a,\sigma, \boldsymbol ...
1
vote
0
answers
144
views
Predicting failure (e.g. from weibull) of part that has already survived a certain time
Simple question, but I'm overthinking it.
Say that I already have a cumulative failure distribution, cdf, (Weibull, but let's just assume any type of distribution) calculated from historical part data....
2
votes
1
answer
550
views
How to calculate Weibull confidence interval using chi-square distribution?
I have a dataset, which I assume has a weibull distribution :
...
2
votes
1
answer
362
views
Lifetime estimation - Weibull vs Survival
Survival analysis is mainly about estimating the lifetime of nearly anything or even anything:
And Weibull analysis is also about estimating the lifetime:
How are they different (in general) and ...
2
votes
1
answer
331
views
Weibull Proportional Hazard in pymc
I’m looking to create a Bayesian proportional hazard model where the baseline hazard is modeled by a Weibull distribution (or some similar continuous distribution).
I’ve reviewed (and implemented) the ...