GUIDE TO MINITAB

Prepared by Maria Rios

BUSINESS STATISTCS 41000 C. ALAN BESTER FALL 2009

FALL 2009 1. INTRODUCTION

BUSINESS STATISTICS 41000

Minitab is a Statistical Analysis software that allows to easily conduct analyses of data. This is one of the suggested software for the class. This guide is intended to guide you through the basics of Minitab and help you get started with it. 2. USING MINITAB 2.1. Using Minitab in Harper and Gleacher Center 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

2.2. Using Minitab in your Computer 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 2.3. Minitab Resources The main source of help for Minitab can be found in the built-in help menu. For it go to HELP -> HELP.

GUIDE TO MINITAB 15

2

aspx?lID=35672&sID=143 849. Every time you save a Minitab project you will be saving graphs. Minitab Project and Worksheets Minitab has two main types of files. Meet Minitab http://www. GUIDE TO MINITAB 15 3 . 3.mintab. think of a spreadsheet containing variables of data.uk/nmsruntime/saveasdialog. worksheets and commands. However each one of the elements can be saved individually for use in other documents or Minitab projects.2. there are several useful Minitab Resources.com/uploadedFiles/Shared_Resources/Documents/MeetMi nitab/MeetMinitabEN. Understanding the interface After loading Minitab. Projects are made up of the commands.reading. you will either open an existing project or a new one. 3. graphs and worksheets.ac. Minitab Tutorial – University of Reading http://www. Likewise you can print projects and its elements. 1. Worksheets are files that are made up of data.1.pdf 2. STARTING MINITAB 3. projects and worksheets.FALL 2009 BUSINESS STATISTICS 41000 Additionally.

In order to be able to type commands in the Session window you need to enable2 this option. the following window structure appears Menu bar Toolbar Session Window Worksheet window There are 4 areas in the screen. to either replicate the built-in routines or to create a more tailored data analysis. 3. the Session Window and the Worksheet window. 2 The “MTB>” prompt should be visible in the Session Window.1. Here you can find the built-in routines1. The Session Window will now look like 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. Session Window: Displays output and lets you type commands.2.2. 3. The Toolbar: Shortcuts to some Minitab commands. 1 GUIDE TO MINITAB 15 4 .2. the Toolbar. The Menu bar: You can open menus and choose commands.2. To do so go to EDITOR -> ENABLE COMMANDS.FALL 2009 BUSINESS STATISTICS 41000 In either case.3. the Menu bar. 3.

LOADING DATA IN MINITAB Minitab files are organized as “projects”. Changing column name.2. Opening an existing Worksheet (Minitab type file) Within a project you can open one or more files that contain data. empty worksheet at any time.3. Each project will contain all the data you use and the commands and analysis you perform on the data.FALL 2009 BUSINESS STATISTICS 41000 It is recommended to always perform this step when you first you get into Minitab. you copy the contents of the file into the current Minitab project.3. while rows are numbered 1. Columns are numbered C1.2) 3. You can open a new. each column contains the data for 1 variable.1. 4. typing the name and then hitting return. Worksheet Window: Data in Minitab is stored in a worksheet of columns and rows.1. with 1 observation in each row.2. You can paste . Any changes you make to the worksheet while in the project will not affect the original file. You can also copy and paste data into the columns.3. … . You can change column names by clicking the field below the column number. 3. 3. You can also change the name using commands (see section 10. C3. 2. paste and type the data you need by simply working on the worksheet as you would on any spreadsheet. C2. When you open a file. In this empty worksheet you can copy. Choose FILE -> OPEN WORKSHEET GUIDE TO MINITAB 15 5 . Editing column data. … 3.txt and Excel data with no problem. 4. To open a Minitab type file 1. Typically. Column data can be edited.

Importing data (Non – Minitab type files) 4.xls. 3. 3) 4. check “Do not display this message again”. GUIDE TO MINITAB 15 6 . 4.MTW or . If a message box appears see step 3 of opening an existing Minitab Worksheet (see section 4. If you get a message box indicating that the content of the file will be added to the current project.MPJ type file. Select the file and click Open. 1.2.2. 3.1. In the field “File of Type” select TEXT (*. and click Open.FALL 2009 BUSINESS STATISTICS 41000 2.xlsx) from the drop down menu. Look for the file you want to open. *.1. Choose the file you wish to open.2. 4.2. Click OPTIONS and the following dialog box will appear. Choose FILE -> OPEN WORKSHEET 2. Opening Excel files 1. 3. and then click OK. In the field “File of Type” select EXCEL (*. Opening a text file 1. Should be a . Choose FILE -> OPEN WORKSHEET 2.txt) from the drop down menu.

4. Go to EDIT -> PASTE CELLS to paste the data. As a text when is numeric. changing some of the options in step 4. The data on the text file is usually separated by spaces or tabs. This is a trial and error procedure.FALL 2009 BUSINESS STATISTICS 41000 4. Copy the data you wish to use in Minitab. To solve this problem. If you are unsure how the data is separated. The most useful format is numeric. etc). GUIDE TO MINITAB 15 7 . close the worksheet where the data is placed and try importing it again. Copying data to Minitab Copying data to Minitab works like copying data to any other type of spreadsheet (eg. 4. Just introduce the number of data rows in the “NUMBER OF DATA ROWS” box. 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. The results will appear in the worksheet window. Go to the position where you want to copy the data in the desired Minitab worksheet. 5. eg.3. 1. make sure that you stand in the variable name cell (cell below the number of the column C1. Click OK. 3. If you wish to paste a cell with a Header or Name. If this happens. Excel). C2. Choose the appropriate option. Sometimes when you copy data. select the problematic column(s) and go to DATA -> CHANGE DATA TYPE -> CHOOSE THE DESIRED FORMAT. another option is to use the number of data rows.2. so don’t panic if you don’t get it in the first attempt. Minitab reads it in a wrong format. 2. 6. Go to the “SINGLE CHARACTER SEPARATOR” option.

click on a menu item to execute a command or open a submenu or dialog box.2. These routines are accessed through the menu bar. 5.FALL 2009 BUSINESS STATISTICS 41000 The following dialog box appears. Built-In routines Most of the functions needed in basic and more advanced statistical analysis are found as Minitab Built-In routines.2. Choose the variables you want to modify and where you want to store them. click on an item in the menu bar to open a menu. To use the menu commands. Then hit OK. The storage variables can be the same variables as the ones you are modifying.3). Ways to Analyze Data Analysis in Minitab can be done in two ways: using the Built-In routines or using command language in the Session window. 5. 5.1. Command Language To be able to type commands in the Session window. you must obtain the “MTB>” prompt (See section 3. All commands are then entered after the GUIDE TO MINITAB 15 8 . These two can be used interchangeably.

GUIDE TO MINITAB 15 9 . Results will be presented in the Session window as follows. All command lines are free format. All the explanations and examples that follow will be done using Minitab’s Built-In routines. 6.FALL 2009 BUSINESS STATISTICS 41000 “MTB>” prompt. In the window select the variable(s) you want to analyze and click ok. 3. To obtain descriptive statistics of a variable or set of variables. And a prompt window should appear. Descriptive Statistics 1. A brief introduction to using Minitab commands is found in section 10. all text may de entered in upper or lowercase letters anywhere in the line. go to STATS -> DISPLAY DESCRIPTIVE STATISTICS 2. in other words. NOTE: This guide focuses mainly on using the Built-In routines.

7. On the Graph Menu you have several types of plots that you can choose from. The following dialog box appears.1. (the with regression type is also common).FALL 2009 7. go to the SCATTERPLOT submenu. Plots can be customized by modifying the plot options. 4. Minitab graphs will appear as separate windows that are considered part of the project. Choose the variable to go on the y-axis and the variable to go on the x-axis. Minitab will produce a plot as shown here. however they can be saved and copied for use in documents. For a simple scatterplot. 2. 3. and click OK. and that you can use to produce your desired plot. GUIDE TO MINITAB 15 10 . Graphs BUSINESS STATISTICS 41000 Graph drawing built-in routines in Minitab can be found under the GRAPH menu in the menu bar. Choose the simple type of scatterplot. Below is an explanation of how to use the most popular graph routines. The following dialog box appears. Simple Scatterplot 1.

2. Simple dotplots 1. go to the DOTPLOT submenu. The following dotplot dialog box appears. Choose the Simple dotplot and the following dialog box appears.FALL 2009 BUSINESS STATISTICS 41000 7.2. For a simple dotplot. GUIDE TO MINITAB 15 11 . Minitab produces a plot as shown here. 3. Choose the variable you want to plot and click OK.

3. The following histogram dialog box will appear. 4. go to the HISTOGRAM submenu. 2. according to the type of histogram chosen. Simple Histogram and Simple Histogram with fit 1. Choose the type of histogram you want.3. For a simple or simple with fit histogram. Choose the variable you wish to plot and click OK. The following dialog box appears.FALL 2009 BUSINESS STATISTICS 41000 7. Minitab will produce plots as presented below. GUIDE TO MINITAB 15 12 .

and choose simple from the dialog box. Simple Time Series Plot 1. The following dialog box appears. go to the TIME SERIES PLOT submenu. 3.4. GUIDE TO MINITAB 15 13 . BUSINESS STATISTICS 41000 2. Minitab produces a plot as follows. Choose the variables to be plotted and click OK. For a simple time series plot.FALL 2009 7.

Choose COVARIANCE to obtain the following dialog box. Covariance 1.1.FALL 2009 BUSINESS STATISTICS 41000 8. Pick the pair of variables you wish to analyze and click OK. GUIDE TO MINITAB 15 14 . 2. go to STAT -> BASIC STATISTICS In this document examples of statistics are calculated assuming only two variables are being analyzed. like covariance and correlation. 8. The result will be presented in the Session window as presented below. however pair wise statistics for more than two variables can be calculated by simply adding all the desired variables to the “VARIABLES” box in the dialog windows. Basic Statistics for pairs of variables In order to calculate basic statistics for pairs of variables.

Results are displayed in the Session window as presented below. Choose CORRELATION and obtain the following dialog box. In order to do these calculations you should go to CALC -> CALCULATOR GUIDE TO MINITAB 15 15 .FALL 2009 BUSINESS STATISTICS 41000 8. Choose the pair of variables to be analyzed. Doing Calculations with variables Minitab allows you to do calculations with the variables that you are using. 9. 2. Correlation 1. For example you can add and multiply variables.2.

To make sure that your results is not overwriting a variable. Basic functions are found in the number pad and more sophisticated ones are found in the functions box to the right of the number pad.1. The result will then be shown in the worksheet window GUIDE TO MINITAB 15 16 . name a new variable in the “STORE RESULTS IN VAVRIABLE” field in the top of the calculator. Select the first variable. press the “+” sign and select the second variable (and so on for more than two variables).FALL 2009 BUSINESS STATISTICS 41000 The following dialog box appears This is basically a calculator that allows doing many calculations with the variables. You should obtain something similar to the window in the right 3. 2. To add variables name the variable where you want to store the results. 9. Adding variables 1.

Highlighting “NUMBER” and hten selecting the variable you want to modify does this.2. 9. 4. 3. 1. Logical functions Some statistical analysis will need to separate by groups according to characteristics that are contained in the data. Taking logarithms Another useful function in statistical analysis is to take logs of variables.3. Logical functions are particularly useful in these cases. 2. GUIDE TO MINITAB 15 17 . Look for the “NATURAL LOG” or “LOG BASE 10” (depending on the one you need) in the function list.FALL 2009 BUSINESS STATISTICS 41000 9. by putting the name in the “STORE RESULT IN VARIABLE” box. Inside the parenthesis. A shortcut to finding the functions is to choose “LOGARITHM” from the function drop down menu. The result will appear in the worksheet window. A simple example on how to use them is described below. Make sure that you have defined a variable where you want to store results. change number for the variable name.

you will only need to type C1. Before doing a variable calculation you must type GUIDE TO MINITAB 15 18 . That is. 3. Minitab command language For Minitab to understand the commands you are typing you need to have in mind the following conventions. 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. otherwise Minitab will not produce results. which observations are males. by typing the name of your result variable in the “STORE RESULT IN VARIABLE” box. you need to enable commands.3. For example if you are using variable C1.1. 10. see section 3. The result variable will appear in the Worksheet window. Using Minitab commands in the Session Window Minitab commands can only be written after the “MTB>” prompt. Choose the variable you want to do the logical test to. When you are referring to the number of a column you don’t need to type ‘ ‘.FALL 2009 BUSINESS STATISTICS 41000 1. 4. 1. 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. Here we want to see which observations have the variable “SEX” equal 1. 3. Here we are looking at the “SEX” variable. 2. Choose the logical test you want to use. Variable names must go inside ‘ ‘. Make sure that you have indicated a variable in which to store your results. 10. 2. If this prompt is not visible in your Session Window.

1. 4. Whenever you are using a character or group of characters you need to use ‘ ‘. HELP -> HELP (See section 2.1. If you need help with the Session Command window or Commands go to 2.FALL 2009 Let variable_name = BUSINESS STATISTICS 41000 In the variable_name field you can either use the number of the column or the name of the variable. There you can find functions and general help for Minitab Commands GUIDE TO MINITAB 15 19 . Click on the link SESSION COMMAND HELP that appears on the right hand side window 5. then SESSION COMMAND HELP. 10. 4.3) 3. For example if you want to name variable C1 as AGE you need to write “AGE”. Then under REFERENCES click SESSION COMMANDS. The following window appears. Help with Minitab Commands 1.

To take (natural) logarithms of a variable type Let RESULT_VARIABLE = LN(VARIABLE_NAME) Suppose you want to have (natural) logarithms of age stored in column C9.FALL 2009 BUSINESS STATISTICS 41000 10. Naming a variable 1. then you must type Let ‘test’ = ‘age’ + ‘sex’ 2. Taking logs 1. Adding variables 1. To add variables type in the command window Let RESULT_VARIABLE = VARIABLE1_NAME + VARIABLE2_NAME Suppose you want the variable test to be equal to age + sex.2.2. 10.3.2. Type in the session window Name COLUMN_NUMBER “NAME” Suppose that you want to name test column C8 then you need to type Name C8 ‘test’ 2.1. 10. Then you must type GUIDE TO MINITAB 15 20 . Results will appear in the worksheet. Examples 10.2.2. Results will appear on the worksheet window in the test column.

GUIDE TO MINITAB 15 21 . REFERENCES 1. Results will be shown in the worksheet window 11. Introduction to Minitab. Meet Minitab 15.FALL 2009 Let C9 = LN(‘age’) BUSINESS STATISTICS 41000 2. Summer 2009. 2007 2. Minitab. Federico Bandi.

Sign up to vote on this title
UsefulNot useful