Posted: Submitted by Planktonboy on 21 February 2008 - 2:49am. |
|||||||||
![]()
Joined: 2007-10-04
Posts: 188 |
Err, I fell asleep for most of the content of today's (yesterday's in fact) Prob B lecture. And the stuff on wikipedia didn't quite seem relavent in a probability setting. Can someone please briefly explain what they are and what they do. edit: and then I find the probability-generating function page... Posting at 2 in the morning is as bad as posting drunk |
||||||||
Posted: 21 February 2008 - 3:17am |
|||||||||
![]()
Joined: 2007-10-03
Posts: 373 |
Honestly probability generating functions are totally useless, there's a reason why noone bothers with them today... |
||||||||
Posted: 21 February 2008 - 12:28pm |
|||||||||
![]()
Joined: 2006-10-05
Posts: 674 |
The problem is that with prob B, thy're sort of central to the entire module. Prob B |
||||||||
Posted: 21 February 2008 - 1:44pm |
|||||||||
![]()
Joined: 2006-11-02
Posts: 1004 |
They are actually very handy, they make a lot of things way easier. They're pretty much like regular generating functions: suppose you have a random variable , its generating function is just
. Note that for the sum is equal to 1, so it converges for . Note also that you can write , which is useful for some proofs. To start with an easy property is that . Pushing this a bit further, differentiating the whole generating function is quite useful because we get
. Differentiating twice gives you
, the second moment of , which makes it easy to calculate the variance. One last (awesome) result is that if you have a random variable which models a sum of identically distributed random variables (where is also a (positive) random variable, i.e. ) then the generating function of is just , which is extremely powerful (note the special case if you're just summing random variables all the time ).
A few examples of generating functions of common distributions: Binomial: Poisson: Geometric: ) by
). It's useful if you can more easily calculate this one than the normal one though (e.g. for the negative binomial).
Edit: Crap, I just noticed your edit. Ah well... :p |
||||||||
Posted: 21 February 2008 - 1:56pm |
|||||||||
![]()
Joined: 2006-10-05
Posts: 674 |
This explains how you actually managed the class test! |
||||||||
Posted: 21 February 2008 - 1:56pm |
|||||||||
![]()
Joined: 2006-10-01
Posts: 427 |
Still, well defended old thing- it's often tempting in maths to throw out the baby with the bath water as it were. The seemingly pointless and the utterly baffling are often rejected as esoteric and useless too readily. Miss one "motivation" lecture and you're stuck doing bland computation of something you really couldn't care less about. |
||||||||
Posted: 22 February 2008 - 4:31am |
|||||||||
![]()
Joined: 2006-11-02
Posts: 1004 |
Very true. I myself wondered what the point of using generating functions for probabilities was when I first saw them, being used to the normal reccurence relation type GF. Seeing them in action convinced me pretty quickly though and I was particularly impressed by that last theorem: it very often turns what could have been horrendous calculations into simple and elegant formulas. |
||||||||
Posted: 5 March 2008 - 9:56am |
|||||||||
![]()
Joined: 2007-10-04
Posts: 188 |
Now that I've been awake in the last few lectures, I'm gonna disagree that moment generating functions are less useful. They appear to work better with CRVs since powers of e integrate more easily. You could do it with ordinary GFs but this cuts out the leg-work |
||||||||
Posted: 5 March 2008 - 1:54pm |
|||||||||
![]()
Joined: 2006-11-02
Posts: 1004 |
Well, I didn't say they were useless, just less useful in most cases. For most random variables they're still much harder to compute. |
||||||||
Posted: 5 March 2008 - 1:57pm |
|||||||||
![]()
Joined: 2007-10-04
Posts: 188 |
Well the fact that we've used the MGF for every cts RV so far, and the normal one for every disc RV; Makes me think that their usefulness isn't related at all. |
||||||||
Posted: 5 March 2008 - 2:05pm |
|||||||||
![]()
Joined: 2006-11-02
Posts: 1004 |
They're still sort of the same type of object, just easier to use in different situations. Haven't you used MGF for the negative binomial though? |
||||||||
Posted: 5 March 2008 - 2:08pm |
|||||||||
![]()
Joined: 2007-10-04
Posts: 188 |
Not that I remember. But then I slept right through negative binomial, and Poisson. Which is an ass since it was the basis for the test today. |
||||||||
Posted: 6 March 2008 - 5:09pm |
|||||||||
![]()
Joined: 2006-10-10
Posts: 518 |
I don't remember being this smart, or knowing anyone who was, in first year. Are they putting mind steroids in the water cooler or something? |
||||||||
Posted: 6 March 2008 - 6:17pm |
|||||||||
![]()
Joined: 2007-12-07
Posts: 4 |
If they are, I totally missed out. >_< |
||||||||
Posted: 6 March 2008 - 6:19pm |
|||||||||
![]()
Joined: 2006-11-02
Posts: 1004 |
Smart enough for what? |
||||||||
Posted: 6 March 2008 - 6:19pm |
|||||||||
![]()
Joined: 2007-10-04
Posts: 188 |
Well the water cooler IS eerily popular. First they get you hooked on the water cooler, then you get hooked on maths, then you do a PHD... Aaaaaarghh |
||||||||