Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old November 22nd, 2008, 10:22 AM
Newbie
 
Join Date: May 2008
Posts: 15
Country:
Thanks: 10
Thanked 1 Time in 1 Post
StupidIdiot is on a distinguished road
Default Variance

There are x amount of balls in a lovely green bag. Each ball has an number on it. 1 ball is drawn at random, what is the expected value and variance?

Here's what I have so far:

Possible values: 1,2,3,4,5.....x
Probability of each: 1/x

Expected Value:
(1/x + 2/x + 3/x + 4/x + ... + x/x)

Sum of series = (n(t1-tn))/2
= (x(x+1))/2
= (1+x)/2

Variance will be (1/x)((1-(1+x)/2)^2) + (1/x)((2-(1+x)/2)^2) + ... + (1/x)((x -(1+x)/2)^2) but I can't sum the series (if that's what you're even supposed to do. How do I do that?

Can anyone help? I would massively appreciate it (also sorry for the lack of proper [math] thingys and all that, haven't been on in ages and I can't remember how to do it at all).

Thanks
Reply With Quote
Advertisement
 
  #2  
Old November 22nd, 2008, 10:53 AM
MHF Contributor

 
Join Date: Aug 2006
Posts: 7,688
Thanks: 90
Thanked 2,854 Times in 2,617 Posts
Plato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond repute
Default

You have done the expected value correctly although there is a simpler way.
E(X) = \sum\limits_{k = 1}^x {\frac{k}{x}} = \frac{1}{x}\sum\limits_{k = 1}^x k = \frac{1}{x}\left( {\frac{{x\left( {x + 1} \right)}}{2}} \right) = \frac{{\left( {x + 1} \right)}}{2}.

Now to do variance: V(X) = E\left( {X^2 } \right) - E^2 (X).
E\left( {X^2 } \right) = \sum\limits_{k = 1}^x {\frac{{k^2 }}{x}}.
Reply With Quote
The following users thank Plato for this useful post:
Donate to MHF
  #3  
Old November 23rd, 2008, 04:03 AM
Newbie
 
Join Date: May 2008
Posts: 15
Country:
Thanks: 10
Thanked 1 Time in 1 Post
StupidIdiot is on a distinguished road
Default

Thanks Plato! That's easier than what I was trying/thought you had to do
Reply With Quote
  #4  
Old November 23rd, 2008, 06:29 AM
Newbie
 
Join Date: May 2008
Posts: 15
Country:
Thanks: 10
Thanked 1 Time in 1 Post
StupidIdiot is on a distinguished road
Default

Quote:
Originally Posted by Plato View Post
V(X) = E\left( {X^2 } \right) - E^2 (X).
E\left( {X^2 } \right) = \sum\limits_{k = 1}^x {\frac{{k^2 }}{x}}.
Actually I still can't do it! How do I calculate E\left( {X^2 } \right)? It will be 1 + 4 + 9 + .... + x^2. How do I sum that?

Thanks again
Reply With Quote
  #5  
Old November 23rd, 2008, 07:00 AM
MHF Contributor

 
Join Date: Aug 2006
Posts: 7,688
Thanks: 90
Thanked 2,854 Times in 2,617 Posts
Plato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond repute
Default

\sum\limits_{k = 1}^x {k^2 } = \frac{{x\left( {x + 1} \right)\left( {2x + 1} \right)}}{6}
Reply With Quote
The following users thank Plato for this useful post:
Donate to MHF
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.