For a dsitribution $p(X)$, let $x_1,\ldots,x_n$ be an independent sample of $p(X)$. Consider the one to one transformation $h(\cdot)$ such that $Y = h(X)$. If we apply the transformation to each of the samples such that $y_1 = h(x_1), \ldots ,y_n = h(x_n)$. Will $y_1,\ldots , y_n$ be a sample of $p(Y)$, or do you have to be more clever and go via inverse transform method to generate a sample from Y?
Asked
Active
Viewed 23 times
0
-
1The definition of a sample involves the distribution and independence. There's no question about the distribution--since the $x_i$ are identically distributed, obviously the $h(x_i)$ are identically distributed. The independence of the $h(x_i)$ is demonstrated in the duplicate. – whuber Apr 08 '20 at 15:39
1 Answers
1
Inverse transform method is just a particular case of the method you proposed. So for inverse transform you have $X$ distributed uniformly on $[0,1]$. The only reason why inverse transform is used is because of the availability of random number generators for standard uniform distribution. If you have already an independent sample from a given distribution, than you can simply use it.

rapaio
- 6,394
- 25
- 45
-
1I'm not sure how this answers the actual question, which is essentially "Will $y_1, \dots, y_n$ be a sample (from) p(Y)$?" – jbowman Apr 08 '20 at 15:20