MHB Finding the Moment Generating Function

joypav
Messages
149
Reaction score
0
I'm working this problem for my math stat class. Here is what I have for it.

First of all, is this the correct method for finding MGF? I thought it was but I don't understand the answers I am getting.

How do I determine my values for t? For both I have t not equal to 0 because t is in the denominator.

View attachment 7272
 

Attachments

  • 2vkjbd2.jpg
    2vkjbd2.jpg
    31.9 KB · Views: 104
Physics news on Phys.org
joypav said:
I'm working this problem for my math stat class. Here is what I have for it.

First of all, is this the correct method for finding MGF? I thought it was but I don't understand the answers I am getting.

How do I determine my values for t? For both I have t not equal to 0 because t is in the denominator.

Hey joypav! ;)

More accurately, we have:
$$M_X(t) = E(e^{tX}) = \int_0^2 f(x)e^{tx}dx$$
It seems you have split up the 2 contributions, but we really need their sum.

I haven't checked your calculations, but we will indeed end up with a $t$ in the denominator.
And if we take the limit for $t\to 0$, we should find that $M_X(0)=\lim\limits_{t\to 0} M_X(t) = 1$.
 
I like Serena said:
Hey joypav! ;)

More accurately, we have:
$$M_X(t) = E(e^{tX}) = \int_0^2 f(x)e^{tx}dx$$
It seems you have split up the 2 contributions, but we really need their sum.

I haven't checked your calculations, but we will indeed end up with a $t$ in the denominator.
And if we take the limit for $t\to 0$, we should find that $M_X(0)=\lim\limits_{t\to 0} M_X(t) = 1$.

Okay, that's what I was missing was summing them. Thanks!
 
If we sum them we are just left with 2, correct? x+2-x?

Then when I integrate I get 2(e^2t-1)/t. But when I apply L'hospitals I get 4. I must be making an error.
 
joypav said:
If we sum them we are just left with 2, correct? x+2-x?

Then when I integrate I get 2(e^2t-1)/t. But when I apply L'hospitals I get 4. I must be making an error.

Without checking your calculations, I conclude that:
$$M_X(t) = \int_0^1 e^{tx}xdx + \int_1^2 e^{tx}(2-x)dx
= \left(\frac{e^t}{t} - \frac{e^{t}-1}{t^2}\right) + \left(-\frac{e^t}{t} + \frac{e^{2t}-e^{t}}{t^2}\right)
= \frac{e^{2t}-2e^t + 1}{t^2} = \left(\frac{e^t-1}{t}\right)^2
$$
And:
$$\lim_{t\to 0}\frac{e^t-1}{t} \overset{L'H\hat opital}{=} \lim_{t\to 0}\frac{e^t}{1} = 1
$$
(For the record, mister L'Hôpital was French, and I feel we owe him the respect to at least spell his name properly, although to be fair, when he actually lived, his name was spelled L'Hospital. ;))
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top