Hi,
I’m attempting to model the observations x, in pymc3 wherein if the observed x is <= 0.1 the observation can be described by x1, if 0.1 < x <= 0.9 the observation can be described by x2 and if x> 0.9 the observation can be described by x3
How would I construct a model of this type in pymc3?
I’m a bit confused on your equations. Are they the expected value that you would observe if the input x is in a given range? How would your observations be distributed around said mean?
If it were just an expected value, you could write the function down using theano.tensor.switch statements to get the piecewise function intervals depending on the input.