Suppose that there are two random variables X and Y. They are related by an equation, such as; X[n] = (-1)^n * (1-Y[ n]), where n is the data sample.
I can easily plot their distributions using any software package, like R, however, I need to mathematically compute their probability distributions.
Any help will be appreciated:)