ch.BIC | R Documentation |
This function calculates the BIC from a model fit. The empirical Y and the fit Y, as well as the number of free parameters are input. The BIC is output. If one wants standardize Y and the fit Y before calculation, then set "standardize" to TRUE.
ch.BIC(y, fitY, numParameters, standardize = FALSE)
y |
A numeric vector containing the empirical Y from the data. |
fitY |
A numeric vector containing the fit Y from the model. |
numParameters |
The number of free parameters. |
standardize |
A boolean that specifies whether to standardize the scores before calculating the BIC. Standardization is useful if you want to combine different DVs into a single BIC (e.g., RT and accuracy). DEFAULT = FALSE. ' |
the BIC.
ch.BIC (myY, fitY, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.