Moments
Prev: Continuous random variables Next: Joint distributions
Problems
Exercises marked with s have detailed solutions at http://stat110.net.
Means, Medians, Modes, and Moments
6.1
Let . Find the median and mode of .
6.2
Let . Find the median and mode of .
6.3
Let have the Pareto distribution with parameter ; this means that has PDF
for (and otherwise). Find the median and mode of .
6.4
Let .
(a) For , , find all medians and all modes of . How do they compare to the mean?
(b) For , , find all medians and all modes of . How do they compare to the mean?
6.5
Let be Discrete Uniform on . Find all medians and all modes of (your answer can depend on whether is even or odd).
6.6
Suppose that we have data giving the amount of rainfall in a city each day in a certain year. We want useful, informative summaries of how rainy the city was that year. On the majority of days in that year, it did not rain at all in the city. Discuss and compare the following six summaries: the mean, median, and mode of the rainfall on a randomly chosen day from that year, and the mean, median, and mode of the rainfall on a randomly chosen rainy day from that year (where by “rainy day” we mean that it did rain that day in the city).
6.7
Let and be positive constants. The Beta distribution with parameters and , which we introduce in detail in Chapter 8, has PDF proportional to for (and the PDF is outside of this range). Show that for , , the mode of the distribution is .
Hint: Take the log of the PDF first (note that this does not affect where the maximum is achieved).
6.8
Find the median of the Beta distribution with parameters and (see the previous problem for information about the Beta distribution).
6.9
Let be Log-Normal with parameters and . So with . Three students are discussing the median and the mode of . Evaluate and explain whether or not each of the following arguments is correct.
(a) Student A: The median of is because the median of is and the exponential function is continuous and strictly increasing, so the event is the same as the event .
(b) Student B: The mode of is because the mode of is , which corresponds to for since .
(c) Student C: The mode of is because the mode of is and the exponential function is continuous and strictly increasing, so maximizing the PDF of is equivalent to maximizing the PDF of .
6.10
A distribution is called symmetric unimodal if it is symmetric (about some point) and has a unique mode. For example, any Normal distribution is symmetric unimodal. Let have a continuous symmetric unimodal distribution for which the mean exists. Show that the mean, median, and mode of are all equal.
6.11
Let be i.i.d. r.v.s with mean , variance , and skewness .
(a) Standardize the by letting
Let and be the sample means of the and , respectively. Show that has the same skewness as , and has the same skewness as .
(b) Show that the skewness of the sample mean is . You can use the fact, shown in Chapter 7, that if and are independent then .
Hint: By (a), we can assume and without loss of generality; if the are not standardized initially, then we can standardize them. If is expanded out, there are 3 types of terms: terms such as , terms such as , and terms such as .
(c) What does the result of (b) say about the distribution of when is large?
6.12
Let be the speed of light in a vacuum. Suppose that is unknown, and scientists wish to estimate it. But even more so than that, they wish to estimate , for use in the famous equation .
Through careful experiments, they obtain i.i.d. measurements . Using these data, there are various possible ways to estimate . Two natural ways are: (1) estimate using the average of the ‘s and then square the estimated , and (2) average the ‘s. So let
and consider the two estimators
Note that is the square of the first sample moment and is the second sample moment.
(a) Find .
Hint: Start by comparing and when are numbers, by considering a discrete r.v. whose possible values are .
(b) When an r.v. is used to estimate an unknown parameter , the bias of the estimator is defined to be . Find the bias of and the bias of .
Hint: First find the distribution of . In general, for finding for an r.v. , it is often useful to write it as .
Moment Generating Functions
6.13
Stat110 solution available.
A fair die is rolled twice, with outcomes for the first roll and for the second roll. Find the moment generating function of (your answer should be a function of and can contain unsimplified finite sums).
6.14
Stat110 solution available.
Let be i.i.d. and . Find the MGF of .
6.15
Let , with i.i.d. . The MGF of turns out to be for (you can assume this).
(a) Find the MGF of .
(b) What famous distribution that we have studied so far does follow (be sure to state the parameters in addition to the name)? In fact, the distribution of is also a special case of two more famous distributions that we will study in later chapters!
6.16
Let . Find the skewness of , and explain why it is positive and why it does not depend on .
Hint: Recall that and the th moment of an r.v. is for all .
6.17
Let be i.i.d. with mean , variance , and MGF . Let
(a) Show that is a standardized quantity, i.e., it has mean and variance .
(b) Find the MGF of in terms of , the MGF of each .
6.18
Use the MGF of the distribution to give another proof that the mean of this distribution is and the variance is , with .
6.19
Use MGFs to determine whether is Poisson if and are i.i.d. .
6.20
Stat110 solution available.
Let , and let be the MGF of . The cumulant generating function is defined to be . Expanding as a Taylor series
(the sum starts at because ), the coefficient is called the th cumulant of . Find the th cumulant of , for all .
6.21
Stat110 solution available.
Let for all , where is a constant for all (so ). Let . Show that the MGF of converges to the MGF of (this gives another way to see that the distribution can be well-approximated by the when is large, is small, and is moderate).
6.22
Consider a setting where a Poisson approximation should work well: let be independent, rare events, with large and small for all . Let
count how many of the rare events occur, and let .
(a) Find the MGF of .
(b) If the approximation (this is a good approximation when is very close to but terrible when is not close to ) is used to write each factor in the MGF of as to a power, what happens to the MGF? Explain why the result makes sense intuitively.
6.23
Let be i.i.d. . Example 8.2.5 in Chapter 8 shows that has a Triangle distribution, with PDF given by
The method in Example 8.2.5 is useful but it often leads to difficult integrals, so having alternative methods is important. Show that has a Triangle distribution by showing that they have the same MGF.
6.24
Let and be i.i.d. , and . The Laplace distribution has PDF
for all real . Use MGFs to show that the distribution of is Laplace.
6.25
Let , and . So has the Folded Normal distribution, discussed in Example 5.4.7. Find two expressions for the MGF of as unsimplified integrals: one integral based on the PDF of , and one based on the PDF of .
6.26
Let be i.i.d.
(a) Find an expression for as an unsimplified integral.
(b) Find and as fully simplified numbers.