Beruflich Dokumente
Kultur Dokumente
Rafael Mendoza-Arriaga
McCombs
Let X1 , X2 , . . . , Xn be any (independent or dependent) random variables, and let a1 , a2 , . . . , an be any n constants. Suppose Y is the weighted sum of the X s; Y = a1 X1 + a2 X2 + . . . + an Xn
McCombs
Let X1 , X2 , . . . , Xn be any (independent or dependent) random variables, and let a1 , a2 , . . . , an be any n constants. Suppose Y is the weighted sum of the X s; Y = a1 X1 + a2 X2 + . . . + an Xn
McCombs
Expected value of a weighted sum of random variables E (Y ) = a1 E (X1 ) + a2 E (X2 ) + . . . + an E (Xn ) Variance of a weighted sum of independent random variables
2 2 V ar(Y ) = a2 1 V ar (X1 ) + a2 V ar (X2 ) + . . . + an V ar (Xn )
McCombs
Expected value of a weighted sum of random variables E (Y ) = a1 E (X1 ) + a2 E (X2 ) + . . . + an E (Xn ) Variance of a weighted sum of independent random variables
2 2 V ar(Y ) = a2 1 V ar (X1 ) + a2 V ar (X2 ) + . . . + an V ar (Xn )
Example I
There are two investment options:
GM Stocks Gold
The state of the economy is uncertain: depression, recession, normal and boom. Depending on the state of the economy, the returns for investments change. Download GM vs Gold.xlsx Calculate the mean and standard deviation of returns from GM Stocks and gold. What is the covariance and correlation between GM Stocks and Gold? Simulate returns from GM stocks and Gold. Calculate the average and the standard deviation of returns in your sample. Also, calculate the covariance and correlation in your sample.
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
Example II
Assume the investor has $10,000. Calculate the mean and standard deviation of the returns from a portfolio that invests 60% of the budget into GM Stocks and the rest into gold. Can you calculate the mean and standard deviation of the returns from a portfolio that invests 70% of the budget into GM stocks?
McCombs
169.45 170.05 168.21 165.3 165.18 166.55 170.31 172.93 171.14 172.56 172.16 173.72 175.16 181.87 184.55 185.02 184.02 184.48 185.5 183.82 182.37 186.15 185.38 185.35 180.86 184.9 186.02 190.01 190.25 189.27
190.47 190.81 190.02 191.29 190.56 188.05 189.86 198.76 204.92 205.2 203.94 202.48 197.37 192.4 196.35 188.5 189.31 188.75 190.81 194.03 194.34 201.46 202.98 203.25 201.99 204.45 206.63 207 205.96 200.51 199.92 205.88 204.44 204.19 200.59 199.91 196.97 196.23 196.48 193.32 188.95 189.87
($)
McCombs
McCombs
Calculating returns
For example, The Apples stock price on December 8, 2009 was $188.95. On the next day (Dec. 09) the stock price moved to $189.87, this represents a 0.49% increase in price in one day, r = 100 189.87 188.95 = 0.49% 188.95
McCombs
2.98 -0.70 -0.12 -1.76 -0.34 -1.47 -0.38 0.13 -1.61 -2.26 0.49
(%)
McCombs
McCombs
0.20
13.55
7.17 7.57
McCombs
0.20
13.55
7.17 7.57
What is the probability that buying one share of Apple I will make more than 4% the next day?
McCombs
0.20
13.55
7.17 7.57
What is the probability that buying one share of Apple I will make more than 4% the next day? P[r > 4%] = 1.59% + 0.8% + 1.59% = 3.98%
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
0.20
13.55
7.17 7.57
What is the probability that buying one share of Apple I will loose money the next day?
McCombs
0.20
13.55
7.17 7.57
What is the probability that buying one share of Apple I will loose money the next day? P[r < 0%] = 0.04% + 0.04% + ... + 11.16% + 19.12% = 44.63%
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
A smooth curve may be a good description of the overall pattern of the data.
0.25 23.11 19.12
0.20
13.55
7.17 7.57
McCombs
Notation
For density curves we use the Greek letters and for the mean and standard deviation. For data that weve collected we use x and s for the mean and standard deviation
McCombs
McCombs
McCombs
Total Area under the curve equal to 1 Areas represent proportions Probability Distributions are generally described by:
mean () standard deviation ( )
McCombs
Mean
McCombs
Median
The median of a density curve is the equal areas point Median: Point in which both sides have the same Area
Notice that for Symmetric Distributions the Mean and Median coincide.
McCombs
0.20
13.55
7.17 7.57
McCombs
0.20
13.55
7.17 7.57
McCombs
0.20
13.55
7.17 7.57
McCombs
0.20
13.55
7.17 7.57
McCombs
0.20
13.55
7.17 7.57
McCombs
Normal Distributions
For Normal Distributions the exact density is given by two measures
1 2
McCombs
Normal Distributions
For Normal Distributions the exact density is given by two measures
1 2
McCombs
Normal Distributions
For Normal Distributions the exact density is given by two measures
1 2
For other distributions these two measures are not enough! As the curve becomes wider .
McCombs
Normal Distributions
For Normal Distributions the exact density is given by two measures
1 2
For other distributions these two measures are not enough! As the curve becomes wider .
Point of curvature change is located one standard deviation ( ) away from the mean ()
McCombs
Normal Distributions
For Normal Distributions the exact density is given by two measures
1 2
For other distributions these two measures are not enough! As the curve becomes wider .
Point of curvature change is located one standard deviation ( ) away from the mean () Applet: http: //demonstrations.wolfram.com/TheNormalDistribution/
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
McCombs
McCombs
P[ < x < + ] = 68%, (Here, P[1 < x < 1] = 68%) P[ 2 < x < + 2 ] = 95%, (P[2 < x < 2] = 95%)
McCombs
P[ < x < + ] = 68%, (Here, P[1 < x < 1] = 68%) P[ 2 < x < + 2 ] = 95%, (P[2 < x < 2] = 95%) P[ 3 < x < + 3 ] = 99.7%, (P[3 < x < 3] = 99.7%)
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
McCombs
McCombs
McCombs
McCombs
McCombs
Questions
Approximately what percent of young men are taller than 74 inches? What percent of young men are shorter than 66.5?
McCombs
Questions
Approximately what percent of young men are taller than 74 inches? 2.5% What percent of young men are shorter than 66.5?
McCombs
Questions
Approximately what percent of young men are taller than 74 inches? 2.5% What percent of young men are shorter than 66.5? 16% (so I guess that kind of makes me short, right?)
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
Standardizing
McCombs
Standardizing
x is an observation from a distribution with mean and standard deviation z is the standardized value: z= x
McCombs
Standardizing
x is an observation from a distribution with mean and standard deviation z is the standardized value: z= x
McCombs
McCombs
The standard normal distribution N (0, 1) has = 0 and = 1 If x is N (, ), then the standardized variable, z ,
McCombs
The standard normal distribution N (0, 1) has = 0 and = 1 If x is N (, ), then the standardized variable, z , x has the standard normal distribution z=
McCombs
0.20
13.55
7.17 7.57
Normal Dist. (Red) has = 0.28% and = 2.214%, i.e, N (0.28, 2.214)
McCombs
Normal Dist. (Red) has = 0.28% and = 2.214%, i.e, N (0.28, 2.214)
McCombs
Normal Dist. (Red) has = 0.28% and = 2.214%, i.e, N (0.28, 2.214) Standard Normal Dist. (Blue) has = 0% and = 1%, i.e, N (0, 1)
McCombs
Normal Dist. (Red) has = 0.28% and = 2.214%, i.e, N (0.28, 2.214) Standard Normal Dist. (Blue) has = 0% and = 1%, i.e, N (0, 1) The Red Histogram, is the histogram of the standardized data. zi =
Rafael Mendoza Elementary Business Statistics Class 7
xi
McCombs
McCombs
McCombs
McCombs
His height is 1.2 standard deviations above average 55 tall mans z-score is zi = xi 65 69 = = 1.6 2.5
McCombs
His height is 1.2 standard deviations above average 55 tall mans z-score is zi = xi 65 69 = = 1.6 2.5
McCombs
0.3
0.3
0.2
0.2
0.1
0.1
McCombs
0.3
0.3
0.2
0.2
0.1
0.1
f (x) =
2 1 2
(x)2 2 2
= du
1 2
(u)2 2 2
du
McCombs
X is the value for which you want the distribution. M ean is the arithmetic mean of the distribution. Standard dev is the standard deviation of the distribution. Cumulative is a logical value that determines the form of the function.
If cumulative is TRUE=1, NORMDIST returns the cumulative distribution function; if FALSE=0, it returns the probability density function.
McCombs
0.3
0.2
0.1
McCombs
0.3
Area
0.8849
0.2
0.1
1.2 2
0.3
Area
0.8849
0.2
0.1
1.2 2
McCombs
0.3
Area
0.8849
0.2
0.1
1.2 2
P[Height > 1.2] = 100 P[Height 1.2] = 11.5% Because the Area under the Curve is equal to 1 (i.e., 100%)!!
McCombs
0.3
Area
0.8849
0.2
0.1
1.2 2
P[Height > 1.2] = 100 P[Height 1.2] = 11.5% Because the Area under the Curve is equal to 1 (i.e., 100%)!! Again, note that excel will give you the Left tail, thus to obtain to obtain the right tail we need to use this property!
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
0.3
Area
0.8849
0.2
0.1
1.2 2
McCombs
0.3
Area
0.8849
0.2
0.1
1.2 2
P[Height = 1.2] = 0%, Why? Because the area under a single point is 0!!!
McCombs
Normal Calculations
Expect questions like: What proportions are above y ? What proportions are below x?
McCombs
Normal Calculations
Expect questions like: What proportions are above y ? What proportions are below x? What proportions are between x and y ?
McCombs
Normal Calculations
Expect questions like: What proportions are above y ? What proportions are below x? What proportions are between x and y ? What proportions are outside of the range from x to y ?
McCombs
Examples
What proportion of young men are shorter than 5 5 ? (recall the z-score?)
McCombs
Examples
What proportion of young men are shorter than 5 5 ? (recall the z-score?) Proportion of young men are shorter than 5 5 = 5.48%
0.4
0.3
Area
0.0548
0.2
0.1
1.6
Examples
What proportion of young men are between 5 5 and 6 ? (recall the z-score?)
McCombs
Examples
What proportion of young men are between 5 5 and 6 ? (recall the z-score?) Proportion of young men are between 5 5 and 6 = 83.01%
Total Area
0.4
0.8301
0.3
0.2
0.1
a2
1.6
1.2
McCombs
Examples
Proportion of young men are shorter than 6 = 88.49%
0.4 0.3
Area
0.8849
0.2
0.1
1.2 2
McCombs
Examples
Proportion of young men are shorter than 6 = 88.49%
0.4 0.3
Area
0.8849
0.2
0.1
1.2 2
Area
0.0548
0.2
0.1
1.6
McCombs
Examples
Proportion of young men are shorter than 6 = 88.49%
0.4 0.3
Area
0.8849
0.2
0.1
1.2 2
=
4
0.4
0.3
0.2
0.1
a2
1.6
1.2
Area
0.0548
0.2
0.1
1.6
McCombs
Examples
Proportion of young men are shorter than 6 = 88.49%
0.4 0.3
Area
0.8849
0.2
0.1
0.8301
1.2 2
0.3
0.2
=
0.2
0.1
a2
1.6
1.2
z is after standardizing X , P (65 X 72 ) = P (1.6 z 1.2) = P (z 1.2) P (z 1.6) In Excel: = N ormdist(1.2, 0, 1, 1) N ormdist(1.6, 0, 1, 1)
Area
0.0548
0.1
1.6
McCombs
We are interested in calculating the outcome for a given probability for the Normal Distribution, using Excel
McCombs
We are interested in calculating the outcome for a given probability for the Normal Distribution, using Excel In other words:
1 2
Give me a Probability value (p) I will give you the value of z that corresponds to that probability, i.e., Ill give you z such that P (z z ) = p
McCombs
We are interested in calculating the outcome for a given probability for the Normal Distribution, using Excel In other words:
1 2
Give me a Probability value (p) I will give you the value of z that corresponds to that probability, i.e., Ill give you z such that P (z z ) = p
McCombs
P robability is a probability corresponding to the normal distribution. M ean is the arithmetic mean of the distribution. Standard dev is the standard deviation of the distribution.
McCombs
P robability is a probability corresponding to the normal distribution. M ean is the arithmetic mean of the distribution. Standard dev is the standard deviation of the distribution. You can use the distribution of x (non-standardized value) or z the standard normal x = N ORM IN V (p, , ) z = N ORM IN V (p, 0, 1) and then to obtain x = + z (since z = (x )/ ))
Rafael Mendoza Elementary Business Statistics Class 7 McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem 2 Use the Inverse Function N ORM IN V to nd the value of z
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem 2 Use the Inverse Function N ORM IN V to nd the value of z 3 Unstandardize: Solve for x in the equation
z =
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem 2 Use the Inverse Function N ORM IN V to nd the value of z 3 Unstandardize: Solve for x in the equation
z =
4 Example:
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem 2 Use the Inverse Function N ORM IN V to nd the value of z 3 Unstandardize: Solve for x in the equation
z =
4 Example:
How tall does a young man need to be to be in the tallest 10%? What values should we use in N ORM IN V (p, , )?
McCombs
Backward Calculations
Find the value with a given proportion of the observations above (or below) it
1 State the problem 2 Use the Inverse Function N ORM IN V to nd the value of z 3 Unstandardize: Solve for x in the equation
z =
4 Example:
How tall does a young man need to be to be in the tallest 10%? What values should we use in N ORM IN V (p, , )? z = N ORM IN V (0.9, 0, 1) = 1.2816, then x = + z = 69 + 2.5 1.2816 = 72.2
McCombs