Margins.mod: Compute uniform margins with Generalized Pareto Distribution above threshold
Description
Compute uniform margins with Generalized Pareto Distribution above threshold
Usage
Margins.mod(tr1, tr2, u)
Arguments
tr1
extreme threshold for first variable
tr2
extreme threshold for second variable
u
Two column data frame
Value
a list of containing the following pseudo observations (uniform margins) with a mixed distribution (empirical below and gpd above a threshold)
uvar - data frame of pseudo observations (uniform margins) of the original data 'u'
uvar_ext - data frame of pseudo observations (uniform margins) with a mixed distribution (empirical below and gpd above a threshold) and 1000 extrapolated values
val_est - data frame consiting of mix of original data 'u'and 1000 extrapolated values
# NOT RUN {data(porto)
#set extreme threshold for both variabletr1=0.9tr2=0.9fire01meantemp=na.omit(fire01meantemp)
u=fire01meantemp
marmod=Margins.mod(tr1,tr2,u=fire01meantemp)
# }