The widely-used hydrological procedures for calculating events with T-year return periods from data that follow a Gumbel distribution assume that the data sequence from which the Gumbel distribution is fitted remains stationary in time. If non-stationarity is suspected, whether as a consequence of changes in land-use practices or climate, it is common practice to test the significance of trend ... Fitting a power-law distribution This function implements both the discrete and continuous maximum likelihood estimators for fitting the power-law distribution to data, along with the goodness-of-fit based approach to estimating the lower cutoff for the scaling region.
Details. The Weibull distribution with shape parameter a and scale parameter b has density given by . f(x) = (a/b) (x/b)^(a-1) exp(- (x/b)^a) for x > 0.The cumulative distribution function is F(x) = 1 - exp(- (x/b)^a) on x > 0, the mean is E(X) = b Γ(1 + 1/a), and the Var(X) = b^2 * (Γ(1 + 2/a) - (Γ(1 + 1/a))^2).