-
The
TransformedRVhas its random method, and it is used in predictive sampling. What’s wrong is the notion that passing atransformparameter to a distribution will change the values returned from said RV’srandom. -
It shouldn’t be
draw_valuesresponsibility to deal with this. We should fix the the way in which TransformedRVs are built and clearly distinguish between the two cases at hand: automatically unconstraining the values of an RV inpm.sampleand transforming the values drawn from a given distribution. The first case is what we currently calltransformand I think that’s wrong sand confusing. The second case is what you want to get, it would apply the transform during inference and also in predictive sampling.