Support of probability distribution

Hey guys,

I have a distribution of a continuous random variable (Relaxed Bernoulli) that has been created by an affine transformation, namely

m = TransformedDistribution(beta, AffineTransform(a, b))

I want to access its support, in order to check if certain observations are in it. When I type

m.support

I just get : IndependentConstraint(Real(), 1).

Is there a way to get it or at least check if an example belongs to it?

Thank you

I think you can check if an example belongs to it:

m.support.check(value)
1 Like

Thank you Andrei. One more question: Although I get for some inputs using this, that they do belong in the support, when I try to compute their log-likelihood I still get the error:

ValueError: The value argument must be within the support
Any ideas on why this may be happening?