-
I wanted to reach out to express my gratitude for the BADS optimization toolbox you created. It has been incredibly useful for my research. Thank you very much for your time and consideration! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for your question. No, there isn't such a built-in function, mostly because BADS per se is a general-purpose optimization algorithm - with applications in model fitting, but it's not strictly a statistical package. Anyhow, AIC and BIC are easy to calculate, so you can write your own function:
where |
Beta Was this translation helpful? Give feedback.
Thanks for your question. No, there isn't such a built-in function, mostly because BADS per se is a general-purpose optimization algorithm - with applications in model fitting, but it's not strictly a statistical package.
Anyhow, AIC and BIC are easy to calculate, so you can write your own function:
where
nll_opt
is the negative maximum-likelihood solution (e.g., the best minimum of the negative log-likelihood function found by BADS),k
the number of model parameters, andndata
the number of data points (e.g., trials).