Getting the current sample variable value so it can be used to compute the observed inputs in a secondary model likelihood

Thanks again! That reply from @aseyboldt is very complete (I am saving it). But I made a mistake, I did not mean a function but a theano vector (continuum_true), very sorry for that…

It should be then something like a Simpson’s rule:
Figure_1_newApproach
To calculate the green area in the image. Then, I add it to the model computation of the red area. This sum I can compare with the observational total line area without breaking the Bayesian statistics :slight_smile:

Do I need to declare a theano ops to do that?