Let $p(x,y,z)$ be a joint density (over $\mathbb{R}^3$) under no smoothness or regularity assumptions, besides its existence. I am looking for a (counter)example where $p(y|x)$ is less regular than $p(y|x,z)$, in the sense of differentiability and/or Lipschitz continuity. Thus, conditioning on an extra variable increases regularity.
For example, an example where $p(y|x)$ is at most once differentiable with Lipschitz continuous derivative, but $p(y|x,z)$ is at least twice diferentiable with Lipschitz continuous derivatives. I suppose the weakest counterexample would be the following:
- $p(y|x)$ is Lipschitz continuous, but whose a.e. derivative is not Lipschitz continuous,
- $p(y|x,z)$ has Lipschitz continuous derivative.
Basically, I want to avoid pathologies surrounding everything being non-Lipschitz. For a bonus, give a counterexample over a compact domain such as $[0,1]^3$.