Google Answers Logo
View Question
 
Q: Variance of a Random Variable ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Variance of a Random Variable
Category: Science > Math
Asked by: addisonbr-ga
List Price: $4.00
Posted: 12 Aug 2005 19:11 PDT
Expires: 11 Sep 2005 19:11 PDT
Question ID: 555187
I'm screwing around with some old stats stuff because I'm bored.  Now
I'm posting here because I'm stuck.

So the variance of a random variable is defined as:

Var(x) = E((x - E(x))^2)
Var(x) = E(x^2 - 2xE(x) + (E(x))^2)
Var(x) = E(x^2) - E(2xE(x)) + E((E(x))^2)
Var(x) = E(x^2) - 2E(xE(x)) + (E(x))^2
Var(x) = E(x^2) - 2(E(x))^2 + (E(x))^2
Var(x) = E(x^2) - (E(x))^2

I follow except for the following:

1) Why does 2E(xE(x)) = 2(E(x))^2 ?
2) Why does E((E(x))^2 = (E(x))^2 ?

In plain English, can someone explain to me why I get to make those
transformations?  Is it because E(x) is treated as a constant?  If so,
why do I get to treat it as a constant when it looks to my simple
layman's eyes like random goodness?

Thanks.
Answer  
Subject: Re: Variance of a Random Variable
Answered By: livioflores-ga on 13 Aug 2005 12:19 PDT
Rated:4 out of 5 stars
 
Hi addisonbr!!


I will start the answer showing one important property of the Expected
Value of a random variable: E(X)

E(aX+b) = a*E(X) + b , where a and b are constant values.
See "Properties of Expectation" at:
http://www-stat.stanford.edu/~susan/courses/s116/node100.html


Regarding the random variables see the following simple definition:
"Random Variable:
The outcome of an experiment need not be a number, for example, the
outcome when a coin is tossed can be 'heads' or 'tails'. However, we
often want to represent outcomes as numbers. A random variable is a
function that associates a unique numerical value with every outcome
of an experiment. The value of the random variable will vary from
trial to trial as the experiment is repeated.
There are two types of random variable - discrete and continuous. 
A random variable has either an associated probability distribution
(discrete random variable) or probability density function (continuous
random variable)."
From "Random variables and probability distributions":
http://www.stats.gla.ac.uk/steps/glossary/probability_distributions.html


The above definition tell us that when you talk about a random
variable there is a distribution or density function associated, then
for a given random variable the expected value is a defined number
denoted as E(X) and almost called Mu (the greek letter).
What I want to tell you with all of this stuff is that in the
demonstration the term E(X) can be treated as a constant number: Mu .

Now it is easy:
1) Why does 2E(xE(x)) = 2(E(x))^2 ?

2*E(x*E(x)) = 2*E(x*Mu) =
            = 2*Mu*E(x) =
            = 2*E(x)*E(x) =
            = 2*(E(x))^2


2) Why does E((E(x))^2 = (E(x))^2 ?

E((E(x))^2 = E(Mu)^2 =
           = Mu^2 =
           = (E(x))^2


-------------------------------------------------------

Search strategy:
I did this based mainly in my own knowledge of these topics, but for
online references I used the following search keys at Google.com:
random variable
expected value
variance


I hope that this helps you. Feel free to request for a clarification
if you need it.

Regards,
livioflores-ga

Request for Answer Clarification by addisonbr-ga on 15 Aug 2005 10:40 PDT
Thanks livioflores - helpful.

Clarification of Answer by livioflores-ga on 15 Aug 2005 11:51 PDT
Thank you for asking at Google Answers.

Sincerely,
livioflores-ga
addisonbr-ga rated this answer:4 out of 5 stars

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy