Docsity

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

Toggle sidebar
bg1
UNIT 1 – INTRODUCTION TO MINITAB
The purpose of this course is to help you develop an ability to use the statistical
package Minitab. At the end of this course you should be able to implement the
statistical and mathematical techniques you have considered in Statistics for Finance
(SFF) and Basic Statistics for Finance (BSFF) using Minitab’s formulae and
functionality. SFF and BSFF will ensure you are able to correctly interpret the
statistical output you produce.
There is no exam for this course. You will be required to submit an Assignment which
is worth 100% of your final mark. The assignment will require you to do similar
calculations to those in the exercises for the lab sessions, and use your knowledge
from BSFF and SFF to correctly interpret your output.
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

Partial preview of the text

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

UNIT 1 – INTRODUCTION TO MINITAB

The purpose of this course is to help you develop an ability to use the statistical package Minitab. At the end of this course you should be able to implement the statistical and mathematical techniques you have considered in Statistics for Finance (SFF) and Basic Statistics for Finance (BSFF) using Minitab’s formulae and functionality. SFF and BSFF will ensure you are able to correctly interpret the statistical output you produce.

There is no exam for this course. You will be required to submit an Assignment which is worth 100% of your final mark. The assignment will require you to do similar calculations to those in the exercises for the lab sessions, and use your knowledge from BSFF and SFF to correctly interpret your output.

To start Minitab, go to the Start menu > Programs > Minitab Solutions > Minitab 15

Statistical Software English

Fig 1.

You should now be looking at the above screen, with the Session window at the top of the screen and the Worksheet window below it. If the MTB > prompt in the Session window is not present, you will need to select Enable Commands^ from the^ Editor menu to activate it. The MTB > prompt is useful for entering Minitab commands directly instead of going through the menus and dialog boxes.

Also when the prompt is activated and you are using the menus for your analysis, it will sometimes show the underlying commands to give you a better understanding of the calculations.

At the bottom, there is the Project Manager , this keeps all the information about your current project, for example the number of columns used, any constants you have and any matrices that you are working with. Constants and Matrices will be introduced later.

depending upon if you have the Session Window or the Worksheet highlighted.

The Editor menu options for the Worksheet Window.

Fig 1.

The Editor menu^ options for the Session Window,

Fig 1.

THE SESSION WINDOW

The session window is where you enter commands and where a large amount of the output you produce is displayed. The output from the session window can be saved as a Text file ( File menu^ then select^ Save Session Window As… ) or copied and pasted directly to another package for example Microsoft Word from where you can edit it.

As mentioned previously you can enter commands in the session window through the

MTB > command prompt when it is activated from the editor menu.

As well as the MTB > prompt Minitab has three other main prompts:

DATA > This will follow the READ and SET commands which is one of

the many ways you can enter DATA into the Worksheet. SUBC > This will follow a command line which ends in a semi-colon. CONT > This will follow a command line which is to large for one line and

ends in an &

The Worksheet Window

Reading in Data

Minitab has various methods for reading in Data including the following;

  1. Using the READ and SET commands on the Session Window.
  2. Entering directly into the Worksheet.
  3. From a text file, using a specified user Format.
  4. Importing another file (e.g. Microsoft Excel Workbook File) and Copying and

Pasting from another source (e.g. Microsoft Excel).

Using the READ and SET commands on the Session Window.

To enter data through the command prompt we use the READ and SET Minitab commands. The difference between READ and SET is that READ expects data one row at a time, whereas SET expects data one column at a time. To tell Minitab you have finished entering data, you type END on a new line.

Activity: To illustrate this enter the following Market to Book Value data for four companies using the READ and SET commands (Note the text in Bold does not get entered these are just the command prompts.)

MTB > READ C1 C

DATA> 1.36 1.

DATA> 1.57 1.

DATA> 1.86 1.

DATA> 1.80 1.

DATA> 1.61 1.

DATA> 1.51 1.

DATA> 1.39 1.

DATA> 1.56 1.

DATA> 1.86 1.

DATA> 1.77 1.

DATA> END.

10 rows read.

MTB >

MTB > SET C

DATA> 1.33,1.41,1.74,1.92,1.95,1.98,1.99,2.32,2.43,2.

DATA> END

MTB > SET C

DATA> 1.59,1.40,1.35,1.08,0.92,0.79,0.75,0.73,1.05,1.

DATA> END

MTB >

{Enters numbers from 13 to 85 in steps of 8.}

MTB > SET C

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

DATA> END

{Enters the numbers in brackets twice one on top of the each other.}

MTB > SET C

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

DATA> END

MTB >

{Enters each individual number twice one on top of each other.}

Your Worksheet should now look like that shown below.

Fig 1.

Entering data directly into the Worksheet.

Fig 1.6 Fig 1. When you are entering data manually,

these arrows help you with whic h direction you are going down. If the arrow is pointing down and you press return the next cell selected will be the one directly below, you would select this if you were planning to enter data a column at a time.

If it is pointing to the right and you press

return, the next cell selected will be to the right. You would select this if you were planning to enter data a row at a time.

You can change the direction of the arrow by clicking the mouse pointer on it.

As this is fairly self explanatory, we will not enter any Data this way in our example. Before we go onto the next type RESTART at the command prompt.

Importing another file (e.g. Microsoft Excel Workbook File) and Copying and Pasting from another source (e.g. Microsoft Excel).

Download the File DAX30.xls from WebCT. For the next part make sure the worksheet part is highlighted. Remember in Minitab some of the menu option change, depending upon if you have the Session Window or the Worksheet highlighted. From the File menu select Open Worksheet…

From the resulting Dialog Box , select _Excel [.xls]_* from the Files of type:^1 option and the go to the directory where you downloaded the DAX file and then select Options…. As a default Minitab, assumes the first row as the Names for each column. In our file the names

have not been added yet, so we need to tell Minitab to just

import the data. Fig 1.

As you can see there other options, but for now all we are concerned with is the top part Variable Names select None and click on OK and then Open. The Data will now have been imported from Excel.

Fig 1.

1 You can import from a number of other databases and applications.

  • Fig 1.

TYPES OF DATA

In Minitab there are three different types of Data you can have.

  1. Text
  2. Date/Time
  3. Numeric

In Minitab a Numerical column can only contain numbers, any numbers in a text column will be seen as Text, so you will now be unable to do any numerical analysis on them. You have to be careful when you are copying or importing numerical data from another source that it does not contain any text.

A text column is indicated by a –T on the Column number at he top of the worksheet for example C1-T, indicates that Column 1 is a text column. A Date/Time column is indicated by a –D on the Column number at the top of the worksheet for example C2- D, indicates that Column 2 is a date/time column.

Activity: At the prompt enter the column names, all names should be enclosed in single quotes;

MTB > NAME C1 'Datastream Code' MTB > NAME C2 'Company Name' MTB > NAME C3 'Base Date'

MTB > NAME C4 'Share Price (Euro)'

MTB > NAME C5 'Number of Shares (000s)'

The Datastream 2 code is a company Identifier.

Constants

Minitab allows you to store single values into constants, this is can be done at the MTB > prompt by using the LET command. Constants are hidden from view, if you want to check, their value you need to use the PRINT command. You can also copy constants into your worksheet using the COPY command. Constants are useful if you need to multiply large amounts of data by the same value or you may have constant in an equation you may want to use. Some examples are shown below; you do not need to enter these commands.

MTB > LET K1 = 100

MTB > LET K2 = "TEN"

MTB > COPY K1 C

MTB > COPY K2 C

MTB > PRINT K1 K

Data Display

K1 100.

K2 TEN

MTB >

2 DATASTREAM is a financial database.