I have a step in my project in which I have two random variables $U$ and $V$ with their distributions, and I need to calculate the quantity $\frac{U}{U+V}$. Unfortunately, this ratio does not have an analitically tractable distribution.
My question is: is it possible to compute the PDF of the ratio by taking samples from the numerator, taking samples from the denominator, computing the ratio and then using the histogram of the ratios as the estimate for the PDF?
Thank you very much!
Graphical comment: Using R.
You can derive the PDF of $X = \frac{u}{U+V}$ by using a bivariate transformation.