Description Usage Arguments Value See Also Examples
View source: R/Standard_Copula_Sim.R
Simulating from a fitted Archimedean or elliptic copula model.
1  | Standard_Copula_Sim(Data, Marginals, Copula, mu = 365.25, N = 10000)
 | 
Data | 
 Data frame containing   | 
Marginals | 
 An   | 
Copula | 
 An Archimedean or elliptic copula model. Can be specified as an   | 
mu | 
 (average) Number of events per year. Numeric vector of length one. Default is 365.25, daily data.  | 
N | 
 Number of years worth of extremes to be simulated. Numeric vector of length one. Default 10,000 (years).  | 
Each n-dimensional realisation is given on the transformed [0,1]^n scale (first n columns) in the first data frame u.Sim and on the original scale in the second data frame x.Sim.
Standard_Copula_Sel Standard_Copula_Fit
1 2 3 4 5 6  | #Fitting multiple independent GPDs to the data
#(required to transform realisation back to origional scale)
S20.Migpd<-Migpd_Fit(Data=S20.Detrend.Declustered.df[,-1],mqu=c(0.975,0.975,0.9676))
#Fitting Gaussian copula
Standard_Copula_Sim(Data=S20.Detrend.df,Marginals=S20.Migpd,Copula=S20.Gaussian,
                    mu=365.25,N=10000)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.