Weibull Distribution Sample Generator

Weibull Distribution Sample Generator

Generate random samples from a Weibull distribution with shape parameter \( k>0 \) and scale parameter \( \lambda>0 \). The inverse CDF is given by: $$ x = \lambda \Bigl[-\ln(1-u)\Bigr]^{\frac{1}{k}}, $$ where \( u \) is a uniform random number in [0,1].

* Enter values for \( k \), \( \lambda \), and the number of samples.

Step 1: Enter Parameters

e.g., 1.5

e.g., 2

e.g., 1000

Samples are generated using the inverse CDF method: $$ x = \lambda\Bigl[-\ln(1-u)\Bigr]^{\frac{1}{k}},\quad u\sim U(0,1). $$

Related Calculators