newBIC | R Documentation |
Given a statistical model and some data, this function computes the BIC of the model given the data, i.e., the BIC of the data under the model.
newBIC(model, x) ## S4 method for signature 'newmodel,matrix' newBIC(model, x)
model |
an object that describes a statistical model. |
x |
an object that describes data. |
the BIC of the model.
newBIC,newmodel,matrix-method
: returns the BIC of the NB model.
m <- newmodel(n=5, J=10) x <- newSim(m) newBIC(m, x$counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.