Description Usage Arguments Details Value Author(s) References

crit() calculates the critical value of the FGL objective funciton. It is used to confirm that the FGL algorithm is converging.

1 | ```
crit(theta, S, n, lam1, lam2, penalize.diagonal)
``` |

`theta` |
A list of pXp inverse covariance matrices. |

`S` |
A list of pXp empirical covariance matrices. |

`n` |
A vector of sample sizes to attribute to each of the K data matrices. n controls the relative weights of the classes: for example, with n==c(1,1), each class's theta will be penalized equally. |

`lam1` |
The tuning parameter for the graphical lasso penalty. |

`lam2` |
The tuning parameter for the fused lasso penalty. |

`penalize.diagonal` |
Logical value determing whether the graphical lasso penalty should also be applied to the diagonal of the inverse covariance matrices. |

A function called by FGL to calculate the critical value of the objective function.

crit, the critical value of the list of inverse covariance matrices.

Patrick Danaher

Patrick Danaher, Pei Wang and Daniela Witten (2011). The joint graphical lasso for inverse covariance estimation across multiple classes. http://arxiv.org/abs/1111.0324

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.