Supongamos que es una variable aleatoria con pdf . Entonces la variable aleatoria tiene el pdf
Entiendo el cálculo detrás de esto. Pero estoy tratando de pensar en una manera de explicarlo a alguien que no conoce el cálculo. En particular, estoy tratando de explicar por qué el factor aparece al frente. Voy a apuñalarlo:
Supongamos que tiene una distribución gaussiana. Casi todo el peso de su pdf está entre los valores, por ejemplo, y Pero que se asigna a 0 a 9 de . Por lo tanto, el peso pesado en el pdf para se ha extendido a través de una gama más amplia de valores en la transformación de . Por lo tanto, para que sea un verdadero pdf, el peso extra pesado debe ser compensado por el factor multiplicativo
¿Como suena eso?
Si alguien puede proporcionar una mejor explicación o un enlace a uno en un documento o libro de texto, lo agradecería enormemente. Encuentro este ejemplo de transformación variable en varios libros introductorios de probabilidad matemática / estadísticas. Pero nunca encuentro una explicación intuitiva con eso :(
fuente
Respuestas:
PDFs are heights but they are used to represent probability by means of area. It therefore helps to express a PDF in a way that reminds us that area equals height times base.
Initially the height at any valuex is given by the PDF fX(x) . The base is the infinitesimal segment dx , whence the distribution (that is, the probability measure as opposed to the distribution function) is really the differential form, or "probability element,"
This, rather than the PDF, is the object you want to work with both conceptually and practically, because it explicitly includes all the elements needed to express a probability.
When we re-expressx in terms of y=x2 , the base segments dx get stretched (or squeezed): by squaring both ends of the interval from x to x+dx we see that the base of the y area must be an interval of length
Because the product of two infinitesimals is negligible compared to the infinitesimals themselves, we conclude
Having established this, the calculation is trivial because we just plug in the new height and the new width:
Because the base, in terms ofy , is dy , whatever multiplies it must be the height, which we can read directly off the middle term as
This equationPEX(x)=PEY(y) is effectively a conservation of area (=probability) law.
This graphic accurately shows narrow (almost infinitesimal) pieces of two PDFs related byy=x2 . Probabilities are represented by the shaded areas. Due to the squeezing of the interval [0.32,0.45] via squaring, the height of the red region (y , at the left) has to be proportionally expanded to match the area of the blue region (x , at the right).
fuente
How about, if I manufacture objects that are always square and I know the distribution of the side lengths of the squares; what can I say about the distribution of the areas of the squares?
In particular, if I know the distribution of a random variableX , what can I say about Y=X2 ? One thing that you can say is
So a relationship is established between the CDF ofY and CDF of X ; what is the relationship between their PDFs? We need calculus for that. Taking the derivatives
of both sides gives you the results you wanted.
fuente
density = prob mass/interval
...what i'm getting wrong?Imagine we have a population andY is a summary of that population. Then P(Y∈(y,y+Δy)) is counting the proportion of individuals that have variable Y in the range (y,y+Δy) . You can consider this as a "bin" of size Δy and we are counting how many individuals are inside that bin.
Now let us re-express those individuals in terms of another variable,X . Given that we know that Y and X are related as Y=X2 , the event Y∈(y,y+Δy) is the same as the event X2∈(x2,(x+Δx)2) which is the same as the event X∈(|x|,|x|+Δx) or X∈(−|x|−Δx,−|x|) . Thus, the individuals that are in the bin (y,y+Δy) must also be in the bins (|x|,|x|+Δx) and (−|x|−Δx,−|x|) . In other words, those bins must have the same proportion of individuals,
Ok, now let's get to the density. First, we need to define what a probability density is. As the name suggests, it is the proportion of individuals per area. That is, we count the share of individuals on that bin and divide by the size of the bin. Since we have established that the proportions of people are the same here, but the size of the bins have changed, we conclude the density will be different. But different by how much?
As we said, the probability density is the proportion of people in the bin divided by the size of the bin, thus the density ofY is given by fY(y):=P(Y∈(y,y+Δy))Δy . Analogously, the probability density of X is given by fX(x):=P(X∈(x,x+Δx))Δx .
From our previous result that the population in each bin is the same we then have that,
That is, the densityfX(y√)+fX(−y√) changes by the factor ΔxΔy , which is the relative size of stretching or squeezing the bin size. In our case, since y=x2 we have that y+Δy=(x+Δx)2=x2+2xΔx+Δx2 . If Δx is tiny enough we can ignore Δx2 , which implies Δy=2xΔx and ΔxΔy=12x=12y√ , and that is why the factor 12y√ shows up in the transformation.
fuente