Design_Event_2D: Derives a single or ensemble of bivariate design events

Description Usage Arguments Value See Also

View source: R/Design_Event_2D.R

Description

Calculates the single design event under the assumption of full dependence, or once accounting for dependence between variables the single "most-likely" or an ensemble of possible design events.

Usage

1
2
3
4
5
Design_Event_2D(Data, Data_Con1, Data_Con2, Thres1, Thres2, Copula_Family1,
  Copula_Family2, Marginal_Dist1, Marginal_Dist2, Con1 = "Rainfall",
  Con2 = "OsWL", mu = 365.25, RP, x_lab = "Rainfall (mm)",
  y_lab = "O-sWL (mNGVD 29)", x_lim_min = NA, x_lim_max = NA,
  y_lim_min = NA, y_lim_max = NA, N, N_Ensemble, Sim_Max = 10)

Arguments

Data

Data frame of dimension nx2 containing two co-occurring time series of length n.

Data_Con1

Data frame containing the conditional sample (declustered excesses paired with concurrent values of other variable), conditioned on the variable in the first column.

Data_Con2

Data frame containing the conditional sample (declustered excesses paired with concurrent values of other variable), conditioned on the variable in the second column. Can be obtained using the Con_Sampling_2D function.

Thres1

Numeric vector of length one specifying the threshold above which the variable in the first column was sampled in Data_Con1.

Thres2

Numeric vector of length one specifying the threshold above which the variable in the second column was sampled in Data_Con2.

Copula_Family1

Numeric vector of length one specifying the copula family used to model the Data_Con1 dataset.

Copula_Family2

Numeric vector of length one specifying the copula family used to model the Data_Con2 dataset. Best fitting of 40 copulas can be found using the Copula_Threshold_2D function.

Marginal_Dist1

Character vector of length one specifying (non-extreme) distribution used to model the marginal distribution of the non-conditioned variable.

Marginal_Dist2

Character vector of length one specifying (non-extreme) distribution used to model the marginal distribution of the non-conditioned variable.

Con1

Character vector of length one specifying the name of variable in the first column of Data.

Con2

Character vector of length one specifying the name of variable in the second column of Data.

mu

Numeric vector of length one specifying the (average) occurrence frequency of events in Data. Default is 365.25, daily data.

RP

Numeric vector of length one specifying the return period of interest.

x_lab

Character vector specifying the x-axis label.

y_lab

Character vector specifying the y-axis label.

x_lim_min

Numeric vector of length one specifying x-axis minimum. Default is NA.

x_lim_max

Numeric vector of length one specifying x-axis maximum. Default is NA.

y_lim_min

Numeric vector of length one specifying y-axis minimum. Default is NA.

y_lim_max

Numeric vector of length one specifying y-axis maximum. Default is NA.

N

Numeric vector of length one specifying the size of the sample from the fitted joint distributions used to estimate the density along an isoline. Samples are collected from the two joint distribution with proportions consistent with the total number of extreme events conditioned on each variable.

N_Ensemble

Numeric vector of length one specifying the number of possible design events sampled along the isoline of interest.

Sim_Max

Numeric vector of length one specifying the maximum value, given as a multiple of the largest observation of each variable, permitted in the sample used to estimate the (relative) probabilities along the isoline.

Value

Plot of all the observations (grey circles) as well as the declustered excesses above Thres1 (blue circles) or Thres2 (blue circles), observations may belong to both conditional samples. Also shown is the isoline associated with RP contoured according to their relative probability of occurrence on the basis of the sample from the two joint distributions, the "most likely" design event (black diamond), and design event under the assumption of full dependence (black triangle) are also shown in the plot. The function also returns a list comprising the design events assuming full dependence "FullDependence", as well as once the dependence between the variables is accounted for the "Most likley" "MostLikelyEvent" as well as an "Ensemble" of possible design events.

See Also

Dataframe_Combine Copula_Threshold_2D Diag_Non_Con Diag_Non_Con_Trunc


rjaneUCF/MultiHazard-R-Package documentation built on Jan. 28, 2021, 12:07 a.m.