Académique Documents
Professionnel Documents
Culture Documents
BUSINESS STATISTCS
41000
C. ALAN BESTER
FALL 2009
FALL 2009 BUSINESS STATISTICS 41000
1. INTRODUCTION
2. USING MINITAB
Minitab can be found in the computer lab computers. In order to load the
software go to:
START -> PROGRAMS -> MATH & STATS -> MINITAB 15 -> MINITAB 15
STATISTICAL SOFTWARE ENGLISH
You can use Minitab 15 on your computer by taking advantage of the academic
agreements Minitab 15 has. All the information can be found in
http://www.mintab.com/en-US/academic/licensing-options.aspx
GUIDE TO MINITAB 15 2
FALL 2009 BUSINESS STATISTICS 41000
1. Meet Minitab
http://www.mintab.com/uploadedFiles/Shared_Resources/Documents/MeetMi
nitab/MeetMinitabEN.pdf
http://www.reading.ac.uk/nmsruntime/saveasdialog.aspx?lID=35672&sID=143
849.
3. STARTING MINITAB
3.1. Minitab Project and Worksheets
Minitab has two main types of files, projects and worksheets. Worksheets are
files that are made up of data; think of a spreadsheet containing variables of
data. Projects are made up of the commands, graphs and worksheets. Every time
you save a Minitab project you will be saving graphs, worksheets and
commands. However each one of the elements can be saved individually for use
in other documents or Minitab projects. Likewise you can print projects and its
elements.
GUIDE TO MINITAB 15 3
FALL 2009 BUSINESS STATISTICS 41000
Session
Window
Worksheet
window
There are 4 areas in the screen, the Menu bar, the Toolbar, the Session
Window and the Worksheet window.
3.2.1. The Menu bar: You can open menus and choose commands. Here you
can find the built-in routines1.
1 Minitab has a large number of built-in routines that allows you to do most of the basic data analysis.
Commands can also be typed into the Session Window, to either replicate the built-in routines or to
create a more tailored data analysis.
2 The “MTB>” prompt should be visible in the Session Window.
GUIDE TO MINITAB 15 4
FALL 2009 BUSINESS STATISTICS 41000
It is recommended to always perform this step when you first you get into
Minitab.
You can change column names by clicking the field below the column
number, typing the name and then hitting return. You can also change the
name using commands (see section 10.2.2)
Column data can be edited. You can also copy and paste data into the
columns. You can paste .txt and Excel data with no problem.
Minitab files are organized as “projects”. Each project will contain all the data you
use and the commands and analysis you perform on the data.
You can open a new, empty worksheet at any time. In this empty worksheet you can
copy, paste and type the data you need by simply working on the worksheet as you
would on any spreadsheet.
Within a project you can open one or more files that contain data. When you
open a file, you copy the contents of the file into the current Minitab project. Any
changes you make to the worksheet while in the
project will not affect the original file.
GUIDE TO MINITAB 15 5
FALL 2009 BUSINESS STATISTICS 41000
2. Look for the file you want to open. Should be a .MTW or .MPJ type file. Select
the file and click Open.
3. If you get a message box indicating that the
content of the file will be added to the current
project, check “Do not display this message
again”, and then click OK.
GUIDE TO MINITAB 15 6
FALL 2009 BUSINESS STATISTICS 41000
Note: This can be sometimes a little tricky as you can get a file that does not
the have the data in the format that you want. If this happens, close the
worksheet where the data is placed and try importing it again, changing
some of the options in step 4. This is a trial and error procedure; so don’t
panic if you don’t get it in the first attempt.
GUIDE TO MINITAB 15 7
FALL 2009 BUSINESS STATISTICS 41000
Analysis in Minitab can be done in two ways: using the Built-In routines or using
command language in the Session window. These two can be used interchangeably.
Most of the functions needed in basic and more advanced statistical analysis are
found as Minitab Built-In routines. These routines are accessed through the
menu bar. To use the menu commands, click on an item in the menu bar to open
a menu, click on a menu item to execute a command or open a submenu or
dialog box.
To be able to type commands in the Session window, you must obtain the
“MTB>” prompt (See section 3.2.3). All commands are then entered after the
GUIDE TO MINITAB 15 8
FALL 2009 BUSINESS STATISTICS 41000
“MTB>” prompt. All command lines are free format, in other words, all text may
de entered in upper or lowercase letters anywhere in the line.
NOTE: This guide focuses mainly on using the Built-In routines. All the
explanations and examples that follow will be done using Minitab’s Built-In
routines. A brief introduction to using Minitab commands is found in section
10.
6. Descriptive Statistics
1. To obtain descriptive
statistics of a variable or set
of variables, go to
GUIDE TO MINITAB 15 9
FALL 2009 BUSINESS STATISTICS 41000
7. Graphs
GUIDE TO MINITAB 15 10
FALL 2009 BUSINESS STATISTICS 41000
GUIDE TO MINITAB 15 11
FALL 2009 BUSINESS STATISTICS 41000
GUIDE TO MINITAB 15 12
FALL 2009 BUSINESS STATISTICS 41000
GUIDE TO MINITAB 15 13
FALL 2009 BUSINESS STATISTICS 41000
8.1. Covariance
1. Choose COVARIANCE to obtain the
following dialog box. Pick the pair of
variables you wish to analyze and click OK.
GUIDE TO MINITAB 15 14
FALL 2009 BUSINESS STATISTICS 41000
8.2. Correlation
1. Choose CORRELATION and obtain the
following dialog box. Choose the pair of
variables to be analyzed.
GUIDE TO MINITAB 15 15
FALL 2009 BUSINESS STATISTICS 41000
GUIDE TO MINITAB 15 16
FALL 2009 BUSINESS STATISTICS 41000
1. Look for the “NATURAL LOG” or “LOG BASE 10” (depending on the one you
need) in the function list. A shortcut
to finding the functions is to choose
“LOGARITHM” from the function
drop down menu.
2. Inside the parenthesis, change
number for the variable name.
Highlighting “NUMBER” and hten
selecting the variable you want to
modify does this.
3. Make sure that you have defined a
variable where you want to store
results, by putting the name in the
“STORE RESULT IN VARIABLE” box.
4. The result will appear in the
worksheet window.
GUIDE TO MINITAB 15 17
FALL 2009 BUSINESS STATISTICS 41000
1. Choose the variable you want to do the logical test to. Here we are looking at
the “SEX” variable.
2. Choose the logical test you want to use. Here
we want to see which observations have the
variable “SEX” equal 1. That is, which
observations are males.
3. Make sure that you have indicated a variable
in which to store your results, by typing the
name of your result variable in the “STORE
RESULT IN VARIABLE” box.
4. The result variable will be a binary variable
(variable of 1s and 0s) where 1 indicates the
logical test is true and 0 the test is false. The
result variable will appear in the Worksheet
window.
Minitab commands can only be written after the “MTB>” prompt. If this prompt is
not visible in your Session Window, you need to enable commands, see section 3.2.3.
For Minitab to understand the commands you are typing you need to have in
mind the following conventions, otherwise Minitab will not produce results.
1. Variable names must go inside ‘ ‘. This means that is you are referring to a
variable named AGE you will need to type ‘AGE’ every time you are referring
to it in a command line.
2. When you are referring to the number of a column you don’t need to type ‘ ‘.
For example if you are using variable C1, you will only need to type C1.
3. Before doing a variable calculation you must type
GUIDE TO MINITAB 15 18
FALL 2009 BUSINESS STATISTICS 41000
Let variable_name =
In the variable_name field you can either use the number of the column or
the name of the variable.
4. Whenever you are using a character or group of characters you need to use
‘ ‘. For example if you want to name variable C1 as AGE you need to write
“AGE”.
10.1.1. Help with Minitab Commands
1. If you need help with the Session Command window or Commands go to
2. HELP -> HELP (See section
2.3)
3. Then under REFERENCES
click SESSION
COMMANDS, then
SESSION COMMAND HELP.
4. Click on the link SESSION
COMMAND HELP that
appears on the right hand
side window
5. The following window appears. There you can find functions and general
help for Minitab Commands
GUIDE TO MINITAB 15 19
FALL 2009 BUSINESS STATISTICS 41000
10.2. Examples
10.2.1. Adding variables
1. To add variables type in the command window
Let RESULT_VARIABLE =
VARIABLE1_NAME +
VARIABLE2_NAME
Name C8 ‘test’
Let RESULT_VARIABLE =
LN(VARIABLE_NAME)
GUIDE TO MINITAB 15 20
FALL 2009 BUSINESS STATISTICS 41000
Let C9 = LN(‘age’)
11. REFERENCES
1. Minitab. Meet Minitab 15. 2007
2. Federico Bandi. Introduction to Minitab. Summer 2009.
GUIDE TO MINITAB 15 21