Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# Moment-Generating Function

> [Gumbel][gumbel-distribution] distribution moment-generating function (MGF).
> [Gumbel][gumbel-distribution] distribution [moment-generating function (MGF)][mgf].

<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ y = pdf( 2.0, 8.0, 0.0 );

#### pdf.factory( mu, beta )

Partially applies `mu` and `beta` to create a reusable `function` for evaluating the PDF.
Returns a function for evaluating the [probability density function][pdf] of a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter).

```javascript
var mypdf = pdf.factory( 10.0, 2.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ logEachMap( 'p: %0.4f, μ: %0.4f, β: %0.4f, Q(p;μ,β): %0.4f', p, mu, beta, qu

#### stdlib_base_dists_gumbel_quantile( p, mu, beta )

Evaluates the [quantile-function][quantile-function] of a [gumbel-distribution][gumbel-distribution] with parameter probability `p`, location parameter `mu`, and scale parameter `beta`.
Evaluates the [quantile function][quantile-function] for a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter).

```c
double y = stdlib_base_dists_gumbel_quantile( 0.8, 0.0, 1.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ logEachMap( 'μ: %0.4f, β: %0.4f, skew(X;μ,β): %0.4f', mu, beta, skewness );

#### stdlib_base_dists_gumbel_skewness( mu, beta )

Returns the skewness for a Gumbel distribution with location `mu` and scale `beta`.
Returns the [skewness][skewness] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`.

```c
double y = stdlib_base_dists_gumbel_skewness( 0.0, 1.0 );
double out = stdlib_base_dists_gumbel_skewness( 0.0, 1.0 );
// returns ~1.14
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ logEachMap( 'μ: %0.4f, β: %0.4f, Var(X;μ,β): %0.4f', mu, beta, variance );

#### stdlib_base_dists_gumbel_variance( mu, beta )

Returns the variance for a Gumbel distribution with location `mu` and scale `beta`.
Returns the [variance][variance] for a [Gumbel][gumbel-distribution] distribution with location parameter `mu` and scale parameter `beta`.

```c
double out = stdlib_base_dists_gumbel_variance( 0.0, 1.0 );
Expand Down