Calculate E(g(X)) for Random Variable X with E(X)=6.2, Var(X)=0.8

Click For Summary
SUMMARY

The discussion focuses on calculating the expected value of the function g(X) = 7X + 2 for a random variable X with an expected value E(X) = 6.2 and variance Var(X) = 0.8. The integral approach is utilized, specifically using the property E[aX + b] = aE[X] + b. The final calculation results in E(g(X)) = 45.4, achieved by substituting E(X) and recognizing that the integral of the probability density function f(x) equals 1.

PREREQUISITES
  • Understanding of expected value and variance in probability theory
  • Familiarity with integration and properties of integrals
  • Knowledge of probability density functions (pdf) for continuous random variables
  • Basic concepts of linear transformations in statistics
NEXT STEPS
  • Study the properties of expected values for linear transformations in probability
  • Learn about probability density functions and their applications
  • Explore integration techniques relevant to continuous random variables
  • Review the relationship between variance and expected value in statistical analysis
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who need to understand the calculation of expected values for transformed random variables.

das1
Messages
40
Reaction score
0
This problem:

A random variable X has expected value E(X) = 6.2 and variance Var(X) = 0.8. Calculate the expected value of g(X) where g(x) = 7x + 2.

Do I just plug in numbers here? I've never seen this kind of problem before.
 
Physics news on Phys.org
Here's a useful fact: if $f(x)$ is the pdf of a continuous random variable then $$E[g(x)]=\int_{-\infty}^{\infty}g(x)f(x)dx$$

Substitute in $g(x)$ and use rules for integration to try to see what you can do.
 
E(7x+2) = ∫(7x+2)*f(x) dx
I'm still stuck at integrating (7x + 2)*f(x). If we don't know what f(x) is, I don't know what to integrate. When you refer to the rules of integration, is there a certain rule you are referring to? Is there a particular way to write ∫f(x) dx when you don't know what f(x) is?
 
Not in general, but in this case we can use some tricks.

Multiply through and you get:

$$\int_{-\infty}^{\infty}7x \cdot f(x)+2 \cdot f(x)dx=\int_{-\infty}^{\infty}7x \cdot f(x)dx+\int_{-\infty}^{\infty} 2 \cdot f(x)dx=7\int_{-\infty}^{\infty}x \cdot f(x)dx+2\int_{-\infty}^{\infty}f(x)dx$$

Now use some definitions that you have been given to proceed. :)
 
OK right, I recognize ∫x*f(x) dx as the mean, so can I just plug in 6.2 for that? But what about 2*∫f(x) dx? I suspect that's related to the variance but nothing jumps out at me.
 
If $f(x)$ is a proper pdf for a continuous random variable, then by definition $$\int_{-\infty}^{\infty}f(x)=1$$.

We kind of did this the long way, but it's good for understanding. It's also a property that: $$E[aX+b]=E[aX]+E=aE[X]+b$$, where $X$ is a continuous random variable and $a,b$ are real numbers.
 
Yes. Here is a page that covers the basics for discrete and continuous distributions.
 
OK thank you, that clears it up.
So the answer would just be 7*6.2+2*1 = 45.4?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K