Probability: How to prove a function is m.g.f.?

In summary: I know that it cannot be the mgf of a real random variable, but the question specifically asks us to prove it is an m.g.f. and find its corresponding p.d.f. when the given condition is satisfied. So I'm assuming we are working with a complex-valued random variable. In summary, the conversation is discussing the proof and determination of the moment generating function and probability density function for a complex-valued random variable with the given conditions. The given definition of the function may be incorrect and the choice of index may cause confusion. Equations for the nth moment are provided in terms of the m.g.f. and the p.d.f., but it is unclear how to proceed with finding the p.d.f.
  • #1
sanctifier
58
0

Homework Statement



Question : Prove [itex] \varphi (t) = \sum_{i=0}^{ \infty } a_icos(it) [/itex] is a moment generating function (m.g.f.) and determine its corresponding probability density function (p.d.f.)
when [itex] \sum_{i=0}^{ \infty } a_i=1 [/itex] holds for [itex] a_i \geq 0 [/itex].

Homework Equations



Nothing special.

The Attempt at a Solution



I really don't know what to do with this question, all I know is [itex] \varphi (0) = \sum_i p(x_i) = 1 [/itex] in the discrete case.

For the current one,

[itex] \varphi (0) = \sum_{i=0}^{ \infty } a_i = 1 [/itex]

This is a proof? It cannot be so easy, and how to determine the p.d.f. when its m.g.f. is given?

Thank you in advance!
 
Physics news on Phys.org
  • #2
It says "a" m.g.f., so I presume we get to choose whether it's discrete or continuous. Let's try discrete.
The given definition of φ(t) cannot be right since it gives a negative second moment. I suspect it should say "characteristic function". This fits with φ(t) being the usual choice for representing a characteristic function, whereas M(t) is standard for an m.g.f. See http://en.wikipedia.org/wiki/Moment-generating_function.
The choice of i as the index may lead to some confusion. Let's use r instead.
Putting that aside for now, can you post equations for the nth moment:
1. In terms of the m.g.f. Treat n even and n odd separately.
2. In terms of the p.d.f. (pr). Careful with the range for the sum here.
 
  • #3
sanctifier said:

Homework Statement



Question : Prove [itex] \varphi (t) = \sum_{i=0}^{ \infty } a_icos(it) [/itex] is a moment generating function (m.g.f.) and determine its corresponding probability density function (p.d.f.)
when [itex] \sum_{i=0}^{ \infty } a_i=1 [/itex] holds for [itex] a_i \geq 0 [/itex].

Homework Equations



Nothing special.

The Attempt at a Solution



I really don't know what to do with this question, all I know is [itex] \varphi (0) = \sum_i p(x_i) = 1 [/itex] in the discrete case.

For the current one,

[itex] \varphi (0) = \sum_{i=0}^{ \infty } a_i = 1 [/itex]

This is a proof? It cannot be so easy, and how to determine the p.d.f. when its m.g.f. is given?

Thank you in advance!

Are you sure you copied the problem correctly? If you had "cosh" instead of "cos" there would be a fairly easy solution to the problem of finding a real random variable X with that mgf. However, as haruspex has pointed out the function as written cannot be the mgf (of a real random variable); it could be the mgf of a complex-valued random variable taking values along the imaginary axis.
 
  • #4
haruspex said:
It says "a" m.g.f., so I presume we get to choose whether it's discrete or continuous. Let's try discrete.
The given definition of φ(t) cannot be right since it gives a negative second moment. I suspect it should say "characteristic function". This fits with φ(t) being the usual choice for representing a characteristic function, whereas M(t) is standard for an m.g.f. See http://en.wikipedia.org/wiki/Moment-generating_function.
The choice of i as the index may lead to some confusion. Let's use r instead.
Putting that aside for now, can you post equations for the nth moment:
1. In terms of the m.g.f. Treat n even and n odd separately.
2. In terms of the p.d.f. (pr). Careful with the range for the sum here.

1. In terms of the m.g.f. Treat n even and n odd separately.

Because

[itex] \begin{cases} \varphi' (t) = - \sum_{r=0}^{ \infty }a_r r sin(rt)
\\ \varphi'' (t) =- \sum_{r=0}^{ \infty }a_r r^2 cos(rt)
\\ \varphi^{(3)} (t) = \sum_{r=0}^{ \infty }a_r r^3 sin(rt)
\\ \varphi^{(4)} (t) = \sum_{r=0}^{ \infty }a_r r^4 cos(rt)
\end{cases} [/itex]

Then it repeats except the power of r, hence

[itex] \varphi^{(n)} (t) = \begin{cases} (-1)^{g(n)} \sum_{r=0}^{ \infty }a_r r^n sin(rt) & n \;\; is \;\; odd
\\ (-1)^{g(n)} \sum_{r=0}^{ \infty }a_r r^n cos(rt) & n \;\; is \;\; even
\end{cases} [/itex]

where

[itex] g(n) =\begin{cases}1 & if \;\; n\;\; mod\;\; 4 = 1\;\; or\;\; 2
\\0 & if \;\; n\;\; mod\;\; 4 = 3\;\; or\;\; 0
\end{cases} [/itex]

Hence

[itex] \varphi^{(n)} (0) = \begin{cases} 0 & n \;\; is \;\; odd
\\ (-1)^{g(n)} \sum_{r=0}^{ \infty }a_r r^n & n \;\; is \;\; even
\end{cases} [/itex]

Is this correct?

2. In terms of the p.d.f. (pr).

[itex] E[x^n] = \sum_{x=0}^{ \infty }x^np(x) [/itex]

Then I don’t know what to do next. I tried to compare this with the [itex] \varphi^{(n)} (0) [/itex], but found the minus prevents the [itex] p(x) [/itex] to have a consistent form, what shall I do?
 
  • #5
Ray Vickson said:
Are you sure you copied the problem correctly? If you had "cosh" instead of "cos" there would be a fairly easy solution to the problem of finding a real random variable X with that mgf. However, as haruspex has pointed out the function as written cannot be the mgf (of a real random variable); it could be the mgf of a complex-valued random variable taking values along the imaginary axis.

The problem statement is correct, "cos" has no "h" attached.

Except the statement characteristic function is replaced by m.g.f., because I thought they are same in probability.

Since no textbook on my hands mentioned characteristic function, it's my mistake to change the term.
 
  • #6
sanctifier said:
The problem statement is correct, "cos" has no "h" attached.

Except the statement characteristic function is replaced by m.g.f., because I thought they are same in probability.

Since no textbook on my hands mentioned characteristic function, it's my mistake to change the term.

Mgfs and characteristic functions are not the same. For a real random variable ##X## the mgf is ##\phi(k) = E \exp(kX)## while the characteristic function is ##\chi(k) = E \exp(i k X)##. In other words, for real ##k## we have ##\chi(k) = \phi(i k)##; here, ##i = \sqrt{-1}##, not a summation index.

You don't need a textbook on hand; Google is your friend.
 
  • #7
sanctifier said:
[itex] \varphi^{(n)} (0) = \begin{cases} 0 & n \;\; is \;\; odd
\\ (-1)^{g(n)} \sum_{r=0}^{ \infty }a_r r^n & n \;\; is \;\; even
\end{cases} [/itex]

Is this correct?
Having sorted out the confusion between m.g.f and characteristic function, what does the above change to?
2. In terms of the p.d.f. (pr).

[itex] E[x^n] = \sum_{x=0}^{ \infty }x^np(x) [/itex]
You mean
[itex] E[X^n] = \sum_{x=0}^{ \infty }x^np(x) [/itex]
I said to be careful about the index range here!
What is E[X], as determined by the characteristic function? What does that suggest about the range of x values?
 
  • #8
haruspex said:
Having sorted out the confusion between m.g.f and characteristic function, what does the above change to?

[itex] \varphi^{(n)} (t) = \begin{cases} -i \sum_{r=0}^{ \infty }a_r r^n sin(irt) & n \;\; is \;\; odd
\\ \sum_{r=0}^{ \infty }a_r r^n cos(irt) & n \;\; is \;\; even
\end{cases} [/itex]

[itex] \varphi^{(n)} (0) = \begin{cases} 0 & n \;\; is \;\; odd
\\ \sum_{r=0}^{ \infty }a_r r^n & n \;\; is \;\; even
\end{cases} [/itex]

haruspex said:
You mean
[itex] E[X^n] = \sum_{x=0}^{ \infty }x^np(x) [/itex]
I said to be careful about the index range here!
What is E[X], as determined by the characteristic function? What does that suggest about the range of x values?

Since [itex]E(X) = \varphi' (0) = 0 [/itex], X should have a symmetric distribution?

Hence [itex] X \in (- \infty ,+ \infty ) [/itex], then [itex] p(x) = \frac{a_{|x|}}{2} [/itex]

Is this correct?
 
  • #9
sanctifier said:
[itex] \varphi^{(n)} (t) = \begin{cases} -i \sum_{r=0}^{ \infty }a_r r^n sin(irt) & n \;\; is \;\; odd
\\ \sum_{r=0}^{ \infty }a_r r^n cos(irt) & n \;\; is \;\; even
\end{cases} [/itex]

[itex] \varphi^{(n)} (0) = \begin{cases} 0 & n \;\; is \;\; odd
\\ \sum_{r=0}^{ \infty }a_r r^n & n \;\; is \;\; even
\end{cases} [/itex]



Since [itex]E(X) = \varphi' (0) = 0 [/itex], X should have a symmetric distribution?

Hence [itex] X \in (- \infty ,+ \infty ) [/itex], then [itex] p(x) = \frac{a_{|x|}}{2} [/itex]

Is this correct?

Are you saying ##P(X=0) = a_0##, ##P( X = 1) = P(X = -1) = \frac{1}{2}a_1 ##, ##P(X = 2) = P(X = -2) = \frac{1}{2} a_2,## etc? That would be a correct way of saying it.
 
  • Like
Likes 1 person
  • #10
Yes, that is exactly what I mean!

Thank you so much, Ray!

And I still don't know how to prove a function is a characteristic function? Can you tell me how to do that?
 
  • #11
sanctifier said:
Yes, that is exactly what I mean!

Thank you so much, Ray!

And I still don't know how to prove a function is a characteristic function? Can you tell me how to do that?

Basically, there is nothing to prove. You have constructed a random variable ##X##, and its characteristic function is the function you were given. End of story.
 
  • #12
Ray, thank you for your reply.

A loop arises and I didn't notice it.
 
Last edited:

What is an m.g.f. and why is it important in probability?

An m.g.f. (moment generating function) is a mathematical function that is used to represent the probability distribution of a random variable. It is important in probability because it allows us to calculate the moments (mean, variance, etc.) of a distribution and make predictions about the behavior of random variables.

How do you prove that a function is an m.g.f.?

To prove that a function is an m.g.f., you must show that it satisfies three properties: 1) the function exists for all values of t, 2) the function is continuous at t=0, and 3) the function is non-negative for all values of t. If a function satisfies these three properties, it can be considered an m.g.f.

What are some common examples of m.g.f.s?

Some common examples of m.g.f.s include the normal distribution, binomial distribution, and Poisson distribution. Each of these distributions has its own specific m.g.f. that can be used to calculate the moments of the distribution.

How is an m.g.f. different from a probability distribution function?

An m.g.f. is a mathematical function that represents the probability distribution of a random variable, while a probability distribution function is a function that directly gives the probability of a specific value occurring in a distribution. Essentially, an m.g.f. is a representation of a probability distribution, while a probability distribution function is a tool used to calculate probabilities.

What are some practical applications of understanding m.g.f.s?

Understanding m.g.f.s can be useful in several practical applications, such as risk management, finance, and insurance. For example, in risk management, m.g.f.s can be used to calculate the expected value of a portfolio of assets and assess the potential risks involved. In finance, m.g.f.s can be used to model stock prices and calculate the probabilities of different outcomes. In insurance, m.g.f.s can be used to determine premiums and assess the risks associated with insuring certain events or individuals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
460
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
525
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
944
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
34
Views
2K
Back
Top