If we have $$x|\lambda \sim \frac{1}{\lambda}e^{-\frac{x}{\lambda}}$$ with Jeffereys prior $$\lambda \sim \frac{1}{\lambda}$$ How could we generate data $x_1, \cdots, x_n$ from this mixture distribution? I know that if we have an informative prior we could generate $\lambda$ from that prior first then use the $\lambda$ we just got to generate data $x_1, \cdots, x_n$ . How about the noninformative ones?
Thanks~
Your prior is more than uninformative, it is improper on the positive reals so it cannot be proportional to an actual probability density
But if you put limits on $\lambda$ (e.g. $[10^{-6},10^6]$ or something equally arbitrary) then the distribution would become proper and then, as you say, it would be easy enough to generate values, for example with this R code
which would produce ten simulated $\lambda$s
and for each $\lambda$, five $x_i$s