For a collection of distributions, this function provides the
distribution of the maximum value from independent draws of
each component distribution.
Usage
maximise(..., draws = 1)
maximize(..., draws = 1)
Arguments
- ...
Distribution objects, or lists of distributions.
- draws
Number of draws from each distribution considered in the
maximum. Either a single numeric applying to all distributions in ...
,
or a vector matching the number of distributions in ...
.
Value
A distribution of class "max"
.
Details
To use precise language, if X1
, ..., Xp
are
p
independent random variables corresponding to the distributions
in ...
, then the distribution returned is of max(X1, ..., Xp)
.