Calculating the AIC- and BIC- value of the copula density estimation. Therefore, we add the unpenalized log likelihood of the estimation and the degree of freedom, which are

1 | ```
my.IC(penden.env)
``` |

`penden.env` |
Containing all information, environment of pencopula() |

AIC is calculated as
*AIC(λ)= - 2*l({\bf u},\hat{\bf{b}}) + 2*df(λ)*

BIC is calculated as
*BIC(λ)= 2*l({\bf u},\hat{\bf{b}}) + 2*df(λ)*log(n)*

`AIC` |
sum of twice the negative non-penalized log likelihood and mytrace |

`trace` |
calculated mytrace as the sum of the diagonal matrix df, which results as the product of the inverse of the penalized second order derivative of the log likelihood with the non-penalized second order derivative of the log likelihood |

`BIC` |
sum of twice the non-penalized log likelihood and log(n) |

All values are saved in the environment.

Christian Schellhase <cschellhase@wiwi.uni-bielefeld.de>

Flexible Copula Density Estimation with Penalized Hierarchical B-Splines, Kauermann G., Schellhase C. and Ruppert, D. (2013), Scandinavian Journal of Statistics 40(4), 685-705.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.