should be the result of dividing by n - 1 instead of n. So, recall that if we have n samples X1,..., Xn, the (x Here, XX, is the sample mean. Suppose all the samples {X}, are independent and mean, and let M2=E[X] denote their second moment

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

solve in 1-2 hours

Problem 3. In this problem, we're actually going to do the arithmetic to show why the sample variance
should be the result of dividing by n - 1 instead of n.
So, recall that if we have n samples X1,..., Xn, the sample variance is defined by:
72
n-1
Σ - Χ
Xx
i=1
Here, X=1X; is the sample mean.
Suppose all the samples {X}; are independent and identically distributed. Let =E[X] denote their
mean, and let M₂ =E[X] denote their second moment. Thus, the variance of X; is M2 -μ².
(a) For Part (a), you are asked to calculate the expected value of this quantity.
71
Σ
(Xi
Plug in the equation for the sample mean to the above expression, and calculate the expected value.
Hint: Here's a few nice things to recall that will be useful for this problem. First, expectation is
linear, i.e.:
ΕΣΖ = ΣΕ[Ζι]
-
Li=1
i=1
Second, independence implies that E[X;X;] = E[X;]E[X;] if i #j.
As another hint, note that:
-(Eα)-E (~(2~))
(a1a2+...an) Σ a}/2/3 + ]
=
i=1
(b) Next, suppose we actually know the mean =E[X], and we are allowed to use it directly estimate
the variance. Then we would want to use the quantity:
72
Σ(Χ. - μ)
i=1
Calculate the expected value of the above expression.
Transcribed Image Text:Problem 3. In this problem, we're actually going to do the arithmetic to show why the sample variance should be the result of dividing by n - 1 instead of n. So, recall that if we have n samples X1,..., Xn, the sample variance is defined by: 72 n-1 Σ - Χ Xx i=1 Here, X=1X; is the sample mean. Suppose all the samples {X}; are independent and identically distributed. Let =E[X] denote their mean, and let M₂ =E[X] denote their second moment. Thus, the variance of X; is M2 -μ². (a) For Part (a), you are asked to calculate the expected value of this quantity. 71 Σ (Xi Plug in the equation for the sample mean to the above expression, and calculate the expected value. Hint: Here's a few nice things to recall that will be useful for this problem. First, expectation is linear, i.e.: ΕΣΖ = ΣΕ[Ζι] - Li=1 i=1 Second, independence implies that E[X;X;] = E[X;]E[X;] if i #j. As another hint, note that: -(Eα)-E (~(2~)) (a1a2+...an) Σ a}/2/3 + ] = i=1 (b) Next, suppose we actually know the mean =E[X], and we are allowed to use it directly estimate the variance. Then we would want to use the quantity: 72 Σ(Χ. - μ) i=1 Calculate the expected value of the above expression.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman