Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reference to mbicv paper (fixes #166) #168

Merged
merged 1 commit into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions R/vinecop_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ logLik.vinecop <- function(object, ...) {
#'
#' The modified vine copula Bayesian information criterion (mBICv) is defined as
#'
#' \deqn{\mathrm{BIC} = -2\, \mathrm{loglik} + \nu \log(n) - 2 *
#' \sum_{t=1}^{d - 1} \{q_t \log(\psi_0^t) - (d - t - q_t) \log(1 - \psi_0^t)\}
#' \deqn{BIC = -2 loglik + \nu log(n) - 2
#' \sum_{t=1}^{d - 1} (q_t log(\psi_0^t) - (d - t - q_t) log(1 - \psi_0^t))
#' }
#'
#' where \eqn{\mathrm{loglik}} is the log-likelihood and \eqn{\nu} is the
Expand All @@ -207,6 +207,13 @@ logLik.vinecop <- function(object, ...) {
#' @param object a fitted `vinecop` object.
#' @param psi0 baseline prior probability of a non-independence copula.
#' @param newdata optional; a new data set.
#'
#' @references Nagler, T., Bumann, C., Czado, C. (2019).
#' Model selection for sparse high-dimensional vine copulas with application
#' to portfolio risk.
#' *Journal of Multivariate Analysis, in press*
#' (\url{https://arxiv.org/pdf/1801.09739.pdf})
#'
#' @export mBICV
#' @examples
#' u <- sapply(1:5, function(i) runif(50))
Expand Down
11 changes: 9 additions & 2 deletions man/mBICV.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.