Description Usage Arguments Value See Also Examples
View source: R/Vine_Copula_Fit.R
Fit either a C- or D-vine copula model. Function is a repackaging of the CDVineCopSelect
function in the CDVine
package.
1 2 | Vine_Copula_Fit(Data, FamilySet = NA, Type = "DVine",
SelCrit = "AIC", Indeptest = FALSE, Level = 0.05)
|
Data |
Data frame containing |
FamilySet |
Integer vector which must include at least one pair-copula family that allows for positive and one that allows for negative dependence. If |
Type |
Type of the vine model:
|
SelCrit |
Character vector specifying the criterion for choosing among the competing pair-copula. Possible choices: |
Indeptest |
Logical; whether a hypothesis test for the independence of |
level |
Numeric; significance level of the independence test (default: level = 0.05). |
List comprising the pair-copula families composing the C- or D-vine copula Family
, its parameters Par
and Par2
as well as whether it is a C or D-vine Type
.
Dataframe_Combine
Vine_Copula_Sim
CDVineCopSelect
BiCopSelect
1 2 3 | S20.Vine<-Vine_Copula_Fit(Data=S20.Detrend.df, FamilySet=NA,
Type="DVine", SelCrit="AIC",
Indeptest=FALSE, Level=0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.