Squaring uniform/normal distribution and expectation

Click For Summary
SUMMARY

The discussion centers on the distribution of Y=X^2 where X is a uniformly distributed random variable on the interval [-a,a] and a standard normal random variable X~N(0,1). The cumulative distribution function (CDF) for Y is derived using the properties of X, specifically F_Y(y)=F_X(\sqrt{y})-F_X(-\sqrt{y}). The expectation E[Y] can be computed using the law of the lazy statistician, leading to E(X^2)=∫_{-∞}^{+∞} x^2 f_X(x) dx, which does not require knowledge of the distribution of Y. This approach simplifies the calculation of expectations for squared random variables.

PREREQUISITES
  • Understanding of uniform distribution on intervals, specifically [-a,a]
  • Knowledge of standard normal distribution N(0,1)
  • Familiarity with cumulative distribution functions (CDF) and probability density functions (PDF)
  • Concept of expectation and variance in probability theory
NEXT STEPS
  • Study the properties of the uniform distribution and its applications
  • Learn about the law of the unconscious statistician for calculating expectations
  • Explore the derivation of the PDF from the CDF for different distributions
  • Investigate the relationship between variance and expectation for random variables
USEFUL FOR

Statisticians, data scientists, and students of probability theory seeking to deepen their understanding of distributions and expectations, particularly in the context of transformations of random variables.

rukawakaede
Messages
58
Reaction score
0
Suppose X is a uniformly distributed random variable on an interval [-a,a] for some real a.
Let Y=X^2. Then what could you say about this distribution of Y? I have no idea how to think about this distribution.
Also how could we compute the expectation of Y? I know that E[X]=0 but what could I conclude about E[Y]=E[X^2] and E[XY]=E[X^3]?
Is E[Y]=Var[X] since E[X]=0?

Similarly suppose X~N(0,1) be a standard normal random variable. What could we say about distribution of Y=X^2?

Hope someone could help solving my confusion.
 
Physics news on Phys.org
Hi rukawakaede, :smile:

The distribution of a square can easily be calculated as follows:

F_Y(y)=P\{Y\leq y\}=P\{X^2\leq y\}=P\{-\sqrt{y}\leq X\leq \sqrt{y}\}=P\{X\leq \sqrt{y}\}-P\{X<-\sqrt{y}\}=F_X(\sqrt{y})-F_X(-\sqrt{y})

where in the last step we've used that the distribution is continuous. Now, to obtain the pdf, just differentiate both sides.

Now, to obtain the expectation, you can calculate this with the distribution function obtained above. But there's a simpler way. The so-called "law of the lazy statistician" gives us that

E(g(X))=\int_{-\infty}^{+\infty}{g(x)f_X(x)dx}

So, in particular

E(X^2)=\int_{-\infty}^{+\infty}{x^2f_X(x)dx}

So, to obtain the expactation of X2, there is no need to know the distribution of X2. Only know the distribution of X is enough!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K