Mean and variance from a probability distribution function

Click For Summary
SUMMARY

The discussion focuses on finding the mean and variance of a probability distribution function defined as \( f(x) = \frac{2}{\sqrt{2\pi}} e^{-x^2/2} \) for \( 0 < x < \infty \). Participants clarify the interpretation of the function and provide the necessary integrals for calculating expected values, specifically \( E[X] \) and \( E[X^2] \). The relationship between the variance of the normal distribution \( \mathcal{N}(0,1) \) and the given probability distribution is emphasized, particularly in evaluating \( E[X^2] \) using known integrals. The discussion concludes with actionable steps for evaluating the integrals involved.

PREREQUISITES
  • Understanding of probability distribution functions
  • Familiarity with expected value calculations
  • Knowledge of variance and its relationship to normal distributions
  • Basic proficiency in LaTeX for mathematical expressions
NEXT STEPS
  • Learn how to compute expected values for continuous random variables
  • Study variance calculations for normal distributions, specifically \( \mathcal{N}(0,1) \)
  • Explore the use of LaTeX for formatting mathematical expressions in discussions
  • Investigate integral techniques for evaluating \( \int_{-\infty}^{\infty} x^2 e^{-x^2/2} \, dx \)
USEFUL FOR

Mathematicians, statisticians, students studying probability theory, and anyone involved in statistical analysis of continuous random variables.

fred1
Messages
1
Reaction score
0
f(x)=f(x)={█(2/(√2π) e^(〖-x〗^2/2)@0 otherwise)┤for 0<x<∞

Find the mean and variance of X
The hint says, compute E(X) directly and then compute E(X2) by comparing that integral with the integral representing the variance of a variable that is N (0, 1)
 

Attachments

Physics news on Phys.org
Hello fred,

I find the probability distribution function, as given, hard to interpret, and the attached file does not help me.

What do the symbols "@0" and "┤" mean?
 
fred said:
f(x)=f(x)={█(2/(√2π) e^(〖-x〗^2/2)@0 otherwise)┤for 0<x<∞

Find the mean and variance of X
The hint says, compute E(X) directly and then compute E(X2) by comparing that integral with the integral representing the variance of a variable that is N (0, 1)

I'm making an educated guess with this, but is this the pdf?

\[f(x)=\begin{cases} \frac{2}{\sqrt{2\pi}} e^{-x^2/2} & 0<x<\infty\\ 0 & \text{otherwise}\end{cases}\]

I would recommend that you look at our LaTeX help subforums for learning how to use LaTeX on our forums.

Anyways, if that's the proper pdf, then you have that

\[E[X] = \int_{-\infty}^{\infty} xf(x)\,dx\quad\text{and}\quad E[X^2]=\int_{-\infty}^{\infty}x^2f(x)\,dx\]

Furthermore, they want you to evaluate $E[X^2]$ by comparing it to the variance integral for $\mathcal{N}(0,1)$. Since the pdf of $\mathcal{N}(0,1)$ is
\[f(x)=\frac{1}{\sqrt{2\pi}} e^{-x^2/2}\]
and since we know that $E[X]=0$, we have that
\[1=\text{Var}[X]=E[X^2]-(E[X])^2=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}x^2e^{-x^2/2}\,dx\]
Thus, to evaluate $\displaystyle\int_{-\infty}^{\infty} x^2f(x)\,dx$, you'll need to use the fact that $\displaystyle\int_{-\infty}^{\infty} x^2e^{-x^2/2}\,dx = \sqrt{2\pi}$.

I hope this helps!
 

Similar threads

  • · Replies 42 ·
2
Replies
42
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
1
Views
1K
Replies
1
Views
4K