Description Usage Arguments Value
This function calculate the BIC value from beta and the data. Here we use the number of unique beta's as the degree of freedom, and the number of patients of all the data sets as the sample size.
1 |
beta |
an object "param" |
G |
group indicator vector |
T |
a vector of cancer feature T |
N |
a vector of cancer feature N |
y |
a vector of time to event |
cen |
censor indicator vector |
the BIC value. If beta contains single lambda value, the function returns a value of bic; if the beta contains vector of lambda's, the function returns a vector of bic values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.