BICMoTBF | R Documentation |
Computes the Bayesian information criterion value (BIC) of a mixture of truncated basis functions. The BIC score is the log likelihood penalized by the number of parameters of the function and the number of records of the evaluated data.
BICMoTBF(Px, X)
Px |
A function of class |
X |
A |
A "numeric"
value corresponding to the BIC score.
univMoTBF
## Data X <- rexp(10000) ## Data test Xtest <- rexp(1000) Xtest <- Xtest[Xtest>=min(X) & Xtest<=max(X)] ## Learning f1 <- univMoTBF(X, POTENTIAL_TYPE = "MOP", nparam = 10); f1 f2 <- univMoTBF(X, POTENTIAL_TYPE = "MTE", maxParam = 11); f2 ## BIC values BICMoTBF(Px = f1, X = Xtest) BICMoTBF(Px = f2, X = Xtest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.