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