Description Usage Arguments Details
Simulate return levels and probabilities of threshold exceedences from a robust linear model and an extreme value model. The procedure is specific to the situation of extreme value modelling of residuals when predictions on the scale of the original data are required.
1 2 3 4 5 6 7 8 9 10 11 |
object |
An object of class 'margarita' |
nsim |
Only used when |
seed |
Used to set the seed for the random number generator. Defaults to |
type |
What type of prediction is required: 'rl' for return levels averaged
over baseline; 'prob' for threshold exceedance probabilities averaged
over baseline; 'baserl' for return levels across the observed range of
baselines; 'baseprob' for exceedance probabilities over the observed
range of baselines; or 'simple' for simulated values.
Defaults to |
M |
The return level to be predicted. Defaults to |
scale |
The type of prediction being made. Valid values are 'raw',
'proportional' and 'difference'. Due to how the calculations are
performed, |
Mlabels |
Labels to be used in the output. Defaults to |
... |
Other arguments passed to |
alpha |
In the corresponding |
If type="prob"
, the function computes simulated probabilities of
breaching thresholds M
. These are posterior probabilities, not expected
proportions. The shape of the distribution will often have a mode at 0. If
M
is quite low, it might also have a mode at 1. Simple point estimates
and intervals for such a distribution do not convey its shape. The summary
function reports the median and quantiles. The median will often be lower
than the mean. If you need the expected value, you'll need to do more work.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.