Mean and variance from a probability distribution function

In summary, the conversation is about finding the mean and variance of a probability distribution function, which is given in the form of a piecewise function. The symbols "@0" and "┤" are unclear and there is a recommendation to use LaTeX for better understanding. The method to compute the mean and variance is explained using the integral formulas for expected value and variance, and the hint is given to evaluate the integral by comparing it to the variance of a standard normal distribution.
  • #1
fred1
1
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

  • pro.txt
    668 bytes · Views: 46
Physics news on Phys.org
  • #2
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?
 
  • #3
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!
 

What is a probability distribution function?

A probability distribution function is a mathematical function that describes the likelihood of a random variable taking on a certain value or set of values. It maps out all possible outcomes for a given event and assigns a probability to each outcome.

What is the mean from a probability distribution function?

The mean from a probability distribution function, also known as the expected value, is the average value that we would expect to see from a large number of trials. It is calculated by multiplying each possible outcome by its corresponding probability and summing up all of these values.

What is the variance from a probability distribution function?

The variance from a probability distribution function is a measure of how spread out the data is from the mean. It is calculated by taking the difference between each data point and the mean, squaring these differences, and then taking the average of these squared differences.

How do mean and variance relate to each other in a probability distribution function?

The mean and variance are both measures of central tendency in a probability distribution function. The mean tells us the average value of the data, while the variance tells us how spread out the data is from the mean. A higher variance indicates a wider range of possible outcomes, while a lower variance indicates a more concentrated set of outcomes around the mean.

How are mean and variance used in real-world applications?

Mean and variance are important concepts in statistics and are used in various fields such as economics, finance, and science. They can help us make predictions, analyze data, and understand the likelihood of certain events occurring. For example, in finance, mean and variance are used to calculate risk and return for different investments. In science, they can help us understand the distribution of data in experiments and make decisions based on the data.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
924
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
857
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
12
Views
3K
Back
Top