3.16 Effect of scaling and offset on average and standard deviation. Suppose x is an n-vector and a and ß are scalars. (a) Show that avg(ax +31) = a avg(x) + ß. (b) Show that std(ax + 1) = |a|std(x).

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

Answer the question using the text I provided

 

3.16 Effect of scaling and offset on average and standard deviation. Suppose x is an n-vector
and a and ß are scalars.
(a) Show that avg(ax +31) = a avg(x) + B.
(b) Show that std(ax +31) = |a|std(x).
Transcribed Image Text:3.16 Effect of scaling and offset on average and standard deviation. Suppose x is an n-vector and a and ß are scalars. (a) Show that avg(ax +31) = a avg(x) + B. (b) Show that std(ax +31) = |a|std(x).
Standard deviation of sum. We can derive a formula for the standard deviation
of a sum from (3.6):
Vstd(a)² + 2p std(a) std(b) + std(b)².
(3.9)
To derive this from (3.6) we let ã and b denote the de-meaned versions of a and b.
Then a + b is the de-meaned version of a + b, and std (a + b)² = ||ã + ỗ||²/n. Now
using (3.6) and p = cos / (a, b), we get
n std (a + b)²
|| +ỗ||2
std (a + b)
=
=
=
=
=
||ã||²+2p||ã|||||| + ||õ|| ²
n std(a)² + 2pn std(a) std(b) + n std(b)².
Dividing by n and taking the squareroot yields the formula above.
If p
1, the standard deviation of the sum of vectors is the sum of their
standard deviations, i.e.,
std(a + b) = std(a) + std(b).
As
Р decreases, the standard deviation of the sum decreases. When p = 0, i.e., a
and b are uncorrelated, the standard deviation of the sum a + b is
std (a + b) = √/std(a)² + std(b)²,
which is smaller than std(a) + std(b) (unless one of them is zero). When p= -1,
the standard deviation of the sum is as small as it can be,
std (a + b) = | std(a) — std(b)|.
Transcribed Image Text:Standard deviation of sum. We can derive a formula for the standard deviation of a sum from (3.6): Vstd(a)² + 2p std(a) std(b) + std(b)². (3.9) To derive this from (3.6) we let ã and b denote the de-meaned versions of a and b. Then a + b is the de-meaned version of a + b, and std (a + b)² = ||ã + ỗ||²/n. Now using (3.6) and p = cos / (a, b), we get n std (a + b)² || +ỗ||2 std (a + b) = = = = = ||ã||²+2p||ã|||||| + ||õ|| ² n std(a)² + 2pn std(a) std(b) + n std(b)². Dividing by n and taking the squareroot yields the formula above. If p 1, the standard deviation of the sum of vectors is the sum of their standard deviations, i.e., std(a + b) = std(a) + std(b). As Р decreases, the standard deviation of the sum decreases. When p = 0, i.e., a and b are uncorrelated, the standard deviation of the sum a + b is std (a + b) = √/std(a)² + std(b)², which is smaller than std(a) + std(b) (unless one of them is zero). When p= -1, the standard deviation of the sum is as small as it can be, std (a + b) = | std(a) — std(b)|.
Expert Solution
steps

Step by step

Solved in 3 steps with 8 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