Docsity

Finance - Tutorial 5 (8), Study Guides, Projects, Research of Finance

Toggle sidebar
bg1
UNIT 3 – PROBABILITY & HYPOTHESIS TESTING
Continuous Probability Distributions
The Normal Probability Distribution
Calculating using Minitab
The shape of the normal probability distribution is illustrated by the bell-shaped
normal curve. The probability density function that defines the normal curve of this
distribution is given by
f ( x) =
σ
1e −( x − µ ) / 2σ
2π
Where µ = mean, σ = standard deviation, π = 3.14159 and e = 2.71828
The Normal Distribution follows ~ N(µ,σ) where µ and σ are the same as that defined
above. They determine the location and shape of the normal curve. The standard
deviation determines how flat and wide the normal curve is. The total area under the
curve is 1 and as the distribution is symmetrical about the mean, each side of the
mean holds 0.5 or 50%.
The plot of the function is shown on the right.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f

Partial preview of the text

Download Finance - Tutorial 5 (8) and more Study Guides, Projects, Research Finance in PDF only on Docsity!

UNIT 3 – PROBABILITY & HYPOTHESIS TESTING

Continuous Probability Distributions The Normal Probability Distribution Calculating using Minitab

The shape of the normal probability distribution is illustrated by the bell-shaped normal curve. The probability density function that defines the normal curve of this distribution is given by

f ( x ) = σ

1 e −(^ x^ −^ μ^ ) / 2σ 2 π

Where μ = mean, σ = standard deviation, π = 3.14159 and e = 2.

The Normal Distribution follows ~ N(μ,σ) where μ and σ are the same as that defined above. They determine the location and shape of the normal curve. The standard deviation determines how flat and wide the normal curve is. The total area under the curve is 1 and as the distribution is symmetrical about the mean, each side of the

mean holds 0.5 or 50%.

The plot of the function is shown on the right.

This is the Standard Normal Distribution and follows ~N(0,1) where the mean is zero and the standard deviation is 1.

Distribution Plot Normal, Mean=0, StDev=

0 1. X

value for any normal distribution.

Standard deviation: Defines the shape of your normal curve, the default as you can see is one and again is the standard deviation for the standard normal distribution. Here you can enter the standard deviation for any normal distribution.

Input column: If you have a column of variables you want to calculate for the various options above, select the column here.

Optional Storage: Here you can select a column to place the generated values, if you leave this blank the generated values will be shown in the Session window, you will not be able to do any calculations on them.

Input constant: If you have one specific value you want to calculate for the various options above, enter the value here.

Optional Storage: Here you can select a constant to place the generated value. If you leave this blank the generated value will be shown in the Session window. Remember constants are hidden from view, to see the generated value enter print [name of constant] (for example PRINT K1 ).

f(x) is calculated from the probability density function shown below

f ( x ) = σ

1 e −( x − μ ) / 2σ 2 π

For some extra practice using Minitab’s built-in functions and constants let’s see how you would calculate this figure manually. If you need to calculate a complicated formula in Minitab or in any other package manually, then it is good practice is to split the formula up into manageable parts.

1

Part 1 could be

σ 2 π and

2 Part 2 could be ( x − μ )

/ 2σ

To store a single value we use constants, so we could store the first part in k1 and the second in k2. So when we are finished our new formula would be k1e-k

Activity: From the session window type the following;

MTB > LET K1 = 1/(0.01859SQRT(2PI()))

[ PI() is the Minitab function which generates the value for π^ and SQRT() is the

square root function. ]

MTB > LET K2 = (0.02--0.00002)^2/(2*0.01859^2)

[^ is the standard symbol for to the power of, ^2 is the same as squaring the number]

MTB > LET K3 = K1*EXP(-K2)

[ EXP() is the function for the exponential (ex) }]

MTB > PRINT K

Data Display

Cumulative Probability & Inverse Cumulative Probability

Example 1

According to an internal report, employees in a finance city centre office spend on average 27 hours per week using the computer at work. Assuming that a normal distribution applies and the standard deviation is 8 hours.

a. What is the probability a randomly selected employee spends less than 15 hours per week using the computer at work? b. What percentage of employees spend more than 42 hours per week using the computer at work? c. A person is classified as a heavy user if he or she is in the upper 20% in terms of hours of usage. How many hours must an employee use a computer at work in order to be classified as a heavy user?

Fig 3.

Fig 3.

Graphically the area under the curve we want to calculate for part (a) is that shown in Fig 3.

From the Normal Distribution dialog box, fill in the details as shown and select OK.

The Session window shows the following result.

Cumulative Distribution

Function

Normal with mean = 27 and standard deviation = 8

x P( X <= x )

15 0.

So you can see there is a 0.0668 (or a 6.68%) probability that an employee uses the computer 15 hours or less at work.

want to calculate for part (b) is that shown in Fig 3.

Since the probability we want is in the upper tail and the cumulative probability will give us the probability up to 42. We need to subtract this value from 1 to give us the value we require.

From the Normal Distribution dialog box, fill in the details as shown and select OK.

The Session window shows the following result.

Cumulative Distribution

Function

Normal with mean = 27 and standard deviation = 8

x P( X <= x )

42 0.

So to get the value we require we need to calculate 1-0.969604 = 0.030396 (or 3.04%)

which tells us that 3% of employees use the computer for 42 or more hours a week.

Fig 3.

Since we are looking at the upper 20%, we need to enter 0.8 (1-0.2) in the Input constant box.

To calculate the answer in (c) we use the Inverse cumulative probability option. Enter the details shown and press OK. The session window shows the following result.

Inverse Cumulative Distribution Function

Normal with mean = 27 and standard deviation = 8

P( X <= x ) x 0.8 33.

  • Fig 3.

Some examples for you to practice with;

Given that z is a standard normal random variable and x is a normal random variable, compute the following probabilities.

a. P(0 < z < 0.83) ~ N(0,1)

b. P(3.5 < x < 0) ~N(2,4)

c. P( z > 0.44) ~ N(0,1)

d. P( x > 12.45) ~N(10,16)

e. P( z < 1.20) ~ N(0,1)

f. P( x < -0.5) ~ N(1,3)

g. P(-1.98 < z < 0.49) ~ N(0,1)

h. P(5 < x < 9) ~ N(14,3)

i. P(-1.75 < z < -1.04) ~ N(0,1)

Week.

MTB > SET C

DATA> 365(1,2,3,4,5)

DATA> END

MTB > NAME C13 'DAY'

Another adjustment we need to make is for holidays during the years, you can see from the worksheet, this is when the market and all the companies have a zero return. Unfortunately we cannot use the missing values here because on some other days some of the companies in our sample have a zero return. Minitab would not be able to distinguish a holiday from a normal trading day. There are roughly eight holidays when there is no trading on the London Stock Exchange. We will need to work out a way to delete those rows that follow on a holiday. In our sample there are around 50 holidays to be removed, other than going through it by hand and deleting the rows manually, we could do the following;

Here are the holidays for 2005 and 2006.

2005 2006 ROW DATE HOLIDAY ROW DATE HOLIDAY 1 03/01/2005 New Year Holiday 261 02/01/2006 New Years Holiday 60 25/03/2005 Good Friday 335 14/04/2006 Good Friday 61 28/03/2005 Easter Monday 336 17/04/2006 Easter Monday 86 02/05/2005 May Bank Holiday 346 01/05/2006 May Bank Holiday 106 30/05/2005 Spring Bank Holiday 366 29/05/2006 Spring Bank Holiday 171 29/08/2005 August Bank Holiday 431 28/08/2006 August Bank Holiday 256 26/12/2005 Boxing Day 516 25/12/2006 Christmas Day 257 27/12/2005 Christmas Holiday 517 26/12/2006 Boxing Day

Since all the companies are affected we could sum all the returns on every day over our sample period.

MTB > RSum 'Market Return'-'Company Return 10' C

MTB > NAME C14 'RSum'