Closed Richie-Lee closed 10 months ago
https://chat.openai.com/share/6a6bbec6-cbd6-4a24-8289-29872da3ee03
scipy.special.beta: Normalising constant, simply output by plugging parameters a,b in beta functions (just math)
scipy.stats.beta: pdf, it's a function that uses the normalising constant above (" kinda like total surface under curve") to get something that integrates to 1. Good for getting specific likelihoods at some x, and thus for visualisation purposes.
For BF: scipy.special.beta for Visualisation: scipy.stats.beta
Note that you cannot simply use the stats.beta to visualise the same thing we obtained originally.
bottom line: Beta function != beta distribution
Scipy produces a number (how is it derived?) Scipy.stats.beta https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.beta.html
Stats produces a distribution scipy.special.beta https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.beta.html