CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.71k stars 7.88k forks source link

switch point with different distribution #499

Open rizman18 opened 4 years ago

rizman18 commented 4 years ago

Hi, I have a problem to find parameters in a piecewise function. Here is my function

equation

I'm still confuse how to build the code to find parameters of R1, R2, and alpha.

Can you give me a reference? Thanks