A mixture of two distributions has density which is the weighted sum of the components: $$f_{mix}(x) = p f_{1}(x) + (1-p) f_{2}(x).$$ What if the mixture weight is allowed to vary with the sample point? $$f_{mix}(x) = p(x) f_{1}(x) + (1-p(x)) f_{2}(x).$$ That is, you need to know the sample $x$ before you can determine what mixture it came from. It's unclear how to draw from this distribution, and in fact this is not a distribution, as $f_{mix}$ will not in general sum to 1.
Nonetheless it seems interesting. For example, I can create a skewed distribution by "switching" from one normal distribution the other, both centered on 0: $$f_{mix}(x) = \frac{1}{Z} \left[\text{sigmoid}(x) N(x; \sigma_{1}) + (1-\text{sigmoid}(x))N(x; \sigma_{2})\right].$$ Is there a name for this idea? Can this be realized as a physical model, perhaps under some conditions?
mixture of expertsfor a connected concept. – Xi'an Mar 16 '22 at 14:09