Introduction to Minitab

These instructions are written for Minitab version 14.

Basic Minitab

Exploring One Variable

Sampling and Probability

Minitab Windows

When you open Minitab (Mtb), you find a session window in the top half of the main window and the data window in the bottom half. There is also a project manager window which is usually hidden.   To see the project manager window, click on Window at the very top of the main window and check Project Manager.
To activate one of these windows, click on it.  The toolbars at the top changes depending on the active window.
The main window menu bar has the usual menu items (File for opening, closing, and saving; Edit for copying, pasting, and deleting) and specific menu items for Data manipulation, Calculation, Graphing, and Statistics.
The Editor menu item allows you to Enable Commands in the session window and to make its Output Editable.  If you wish to clean up the session window by deleting e.g. error messages and adding comments, you should uncheck Enable Commands and check Output Editable. The Tools item provides access to the Windows calculator, Windows Explorer, and Notepad. It also allows you to customize all other menu items, e.g. to add statistical routines or custom graph routines to the menu.

Back to top

Opening, Closing, Saving

Click on File in the main Mtb window to open Mtb files.  You can open Mtb projects (file extension .mtj), Mtb worksheets (file extensions .mtw, .mtb, .mtp and others), and Mtb graphs (file extension .mgf). You can also open spreadsheets and text files. Usually you'll be interested in projects and worksheets. 

Worksheets are essentially data files in spreadsheet format.  Opening them creates a new data window. No other information is loaded into Mtb.  Several worksheets can be open at the same time.

Projects contain also records of what happened in the session window, graphs, a list of all variables that are currently stored, possibly a report in MS Word format etc.  You can open only one project at a time.

To save a worksheet, click on File > Save Current Worksheet or File > Save Current Worksheet As ... and follow the prompts. Have a USB drive or some other media ready to save your worksheet.

To save a project, click on File > Save Project and follow the prompts. When you save the project, you save all the information about your work: the contents of all the windows, including the columns of data in each Data window, stored constants and matrices, the complete text in the Session window and History folder, and each Graph window.  This allows you to interrupt your work and pick up later where you left off.

Back to top

Entering Data

Entering Data manually

Activate the data window by clicking on it.
Check to insure that the arrow in the box in the upper left corner of the data window page is pointing downward (click on it to switch it).
Place the name of your variable in the top cell of the column (directly under C1, or whatever column you put your data in).   Move the cursor to the first cell in your column and enter your first data value.  Press Enter.  If the arrow in the upper left corner is pointing down, the cursor will automatically move to the next cell in the column. You can also use the up and down arrows or the mouse to move to other cells. Continue until you have all the values of that variable entered into that column.  Don't leave any empty cells.
Move to the next column and repeat the steps with your next variable.

Minitab considers a data column as numerical as long as all entries in its cells are numbers. If one or more cells are non-numerical (text, symbols), the entire data column is considered categorical, and the column label is changed from e.g. C2 to C2-T. Integer entries with spaces are interpreted as dates, and the column label is changed from C2 to C2-D. It can be tedious to undo such a change in data type, so be careful when entering data.

Data types can be changed by going to Data > Change Data Type.

Copying and Pasting

To copy data (cells, groups of cells or columns) within a Mtb data window or between data windows, select the cells with the mouse. You can also select a group of columns (highlight the column names instead of the cells).
Go to Edit > Copy Cells.
Move the mouse to the location where you want to enter the data and go to Edit > Paste Cells.
You can also copy and paste data to and from other applications (spreadsheet columns, text files) in this manner.
Caution:

Back to top  

Dialog Boxes

These boxes pop up when you choose submenus from the Data, Calc, Stat, and Graph menus.
All dialog boxes list available variables in a big window on the left and expect input in smaller fields on the right.

Stat and Calc Dialog Boxes

Click in a Variables input field to activate it.
Select one or more variables from the list on the left by typing its name in the input field or by highlighting it and clicking on the Select button. Double-clicking on the variable name also works.
Other fields expect you to enter the location of output data or to enter numerical values. Radio buttons or check boxes may change the options for input. Click on OK when you are done.

Graph Dialog Boxes

Click in the Graph Variables input field to activate it.
Select one or more variables from the list on the left by typing in its name or by highlighting it and clicking on the Select button.
Design your graph with the Data View window (e.g. symbols or connected points or bar graphs). Available choices appear when you click on the arrow symbols.  Scale, Label, and Data Options provide ways to add titles and legends, control the axes, spacing of tick marks, grids etc..
To generate Multiple Graphs, click on the corresponding button Frame > Multiple Graphs.  By clicking on the appropriate radio button, you can overlay several graphs on the same page (e.g. side by side box plots).
Click on OK when you are done.

Back to top

Stem plots (Stem and Leaf)

Go to Graph > Stem-and-Leaf.
Use the Graph Dialog window to select the desired variable.
Within the dialog box you can choose to trim outliers (click in box) or adjust the stem increments (i.e. split or combine stems).
Click OK to generate the plot.
The plot will appear in the Session window.

Back to top

Pie Charts

Go to Graph > Pie Chart.
Choose between charting raw data and values from a table.

Back to top

Bar Charts

One-way tables

Go to Graph > Bar Chart. Choose whether your data represent raw data ("counts of unique values") or values in a table. Then choose the type of bar chart you want to produce.

Two-way tables

Your two-way table may be in a single column (say in the column DATA) , with classification variables for the table rows and columns in two other columns (say in columns  ROW and COLUMN). Alternatively it may in the form of several columns, e.g. with labels DATA1 and DATA2, properly lined up, with an additional column, say ROWS, for the row labels.

Changing the look of a bar chart

This can be done either by using the Data View, Scale, Labels, Data Options buttons in the main dialog window before the chart has been made, or by editing portions of the chart after it has been made. See the section on changing the look of a histogram.

If the chart doesn't look the way you want it, close it and redo it.  All previous settings are still in the dialog boxes.  Change a few things at a time until the chart looks right.

Back to top

Histograms

Go to Graph > Histogram.
Choose the type of histogram and click OK..

In the Graph Dialog box, select the variable(s) for which you want to make a histogram. Note that you can choose several variables at once, so it is possible to make histograms of several different variables simultaneously. These will usually appear in separate graph windows, unless you choose to have graphs overlaid on the same page in Multiple Graphs.
Back to top
 

Changing the look of your histogram

You can change the appearance of a histogram by clicking on the appropriate buttons in the graph dialog window.

You can also change the histogram after it has been made by clicking on the bars, the title, the axes, the axis labels etc. and editing them. For example,

Back to top

Box Plots

Go to Graph > Boxplot.
Choose a graph type from the top or bottom row. "Simple Y" here means that the data are in a single column, "Multiple Y's" means several columns. Choose "With Groups" if there is an additional column of categorical variables for classification. This will allow you to make side-by-side boxplots for comparison.

Enter the column name(s) for the data in the graph dialog window. Use the buttons in the dialig window to change the overall appearance and press OK.  

Boxplots can also be edited after they have been made - double-click on the title, the box, axes and labels, or the entire window to bring up options for changing the appearance.

Back to top

Managing Graphs

A graph can be moved around on the screen, its size may be changed as any other window, and it may be closed.  Once a graph has been closed, it is gone and must be recreated. In addition, the menu bar item Window will allow you to manage the histograms. With Window > Close all Graphs you can clean up a cluttered work area.
To copy a graph to a report (e.g. to MS Word), righ-click on it and select Copy Graph, then paste the graph into your report. In MS Word it is possible to resize the graph easily.

Back to top

Descriptive Statistics

Go to Stat > Basic Statistics > Diplay Descriptive Statistics.
Enter your desired variable(s) in “Variable” box.
Click OK.
The descriptive statistics (number of observations, mean, median, maximum, minimum, quartiles, standard deviation, and a few others) will appear in the Session window.

By clicking on the Graphs button in the dialog window, you can produce histograms or boxplots.

Back to top

Calculator

Go to Calc > Calculator.
You can enter calculator operations for variables from the left window in the Expression window and store the result in another column.  You can also use the functions from the list (highlight and click Select).
 

Linear Transformations

Start by putting a title on the new column you want to form.
Go to Calc > Calculator.
In the Expression box, enter the formula for the transformation.
Enter the name of the new column in the Store result in variable box and click OK.

Example:
To transform centigrade temperatures (stored in C1) to Fahrenheit and store the Fahrenheit data in C2, go to Calc > Calculator.  In the Store results in variable box, enter C2.  In the Expression box, enter 32 + (9/5)*C1.  Then click OK.  Column C2 will now contain the Fahrenheit temperatures.

Back to top

Standardizing data

Go to Calc > Standardize.
Select the data columns you want to standardize in the Dialog box and enter the column where the standardized columns go. Leave the radio button at "subtract mean and divide by standard deviation". Click OK.

Back to top

Normal Probability Calculations

Go to Calc > Probability Distributions > Normal.

To find the probability that a variable with a normal distribution is less than a certain value, say X, click the radio button "Cumulative probability".
Enter the mean and standard deviation.
Click the button "Input constant" and enter the value X in the field.
Click OK.
The answer appears in the session window.

To find a value x such that a variable with a normal distribution is less than x with given probability  p, click the radio button "Inverse cumulative probability".
Enter the mean and standard deviation.
Click the button "Input constant" and enter the probability  p  in the field.
Click OK.
The answer x appears in the session window.

Back to top

Normal Probability Plot

To produce a normal quantile plot, go to Graph > Probability Plot. Select whether your data are in a single column (for a single plot) or if there are several data columns and press OK.

Enter the name of the column(s) in the dialog window and press OK again.

The result is a normal quantile plot, flipped about the diagonal: The normal probabilities (probabilities for z-scores) are plotted against the data. The plot also has a straight line and error boundaries for comparison.

Alternatively, go to Stat > Basic Statistics > Normality Test.Enter the name of the column with the data, leave everything else at the default setting, and press OK.

The result is the same plot, with slightly changed scales and without error boundaries.

Back to top

Time Plots

Go to Graph > Time Series Plot.

Chose the type of graph you want to produce and click OK.

Select your variable(s) in the Series window.  Mtb will assume that the index of the data is the time variable. You can change this in the graph dialog window by clicking on Time/Scale.
The Data View button allows you to change the appearance of the time plot and to make a smoothed scatterplot.

Back to top

Two-Way Tables

If your two-way table is in a single column, with classification variables for the table rows and columns in two other columns:

Go to Stat > Tables > Cross Tabulation and Chi-Square.
Select the two variables for rows and columns.in the Classification variables window. Enter the column containing the frequencies.
Check Count, Row Percent, etc., as you desire and click on OK. The results will be displayed in the session window.

To do a c2 test for independence for data in this form, click on Chi -Square in the dialog window and check Chi-Square analysis as well as any other details you wish to display. Then click OK.

If your two-way table is is already stored in table form in the worksheet:

Go to Stat > Tables > Chi-Square test (Table in Worksheet)
Enter the columns that contain the table and click on OK.Select the two variables for rows and columns.in the Classification variables window.
The results of the Chi-Square test for independence will be displayed in the session window (degrees of freedom, expected cell counts, cell contributions to c2, overall value of  c2, p-value).

To compute row percents and column percents, stack the columns of the table with Data > Stack > Columns to turn the table into a single column. Make sure there are row and column subscripts in two separate columns (Minitab will make the column subscripts automatically).  Then proceed as above.
 

Back to top

Manipulating Data

Copying columns without omitting rows

Go to Data > Copy > Columns to Columns.
Enter the columns to be copied in and their destination.

Copying designated rows by row number

Go to Data > Copy > Columns to Columns.
After entering the columns to be copied and the destination in the dialog window, click on Subset and enter the rows to be used or to be excluded.

Stacking columns

Go to Data > Stack and choose Columns or Blocks of Columns or Rows..
Select the columns you want to stack and their destination columns in the dialog box.
You can keep track of the origin of the stacked columns by storing subscripts in another column.

Unstacking columns

This is the same as "separating column data according to categories or characteristics".

Go to Data > Unstack Columns.
In the window Unstack the data in select the column you want to separate.
In the Using subscripts in window,  enter the column containing the category or characteristic according to which you want to separate the data.
Enter where you want to store the unstacked data, either in a new worksheet or after the last column in use.

Copying designated rows by category

This can be done by first unstacking a block of columns by category and then deleting all columns that are not needed.

Back to top

Random Samples from a Data Column

To draw a simple random sample from data stored in a column, go to Calc > Random Data > Sample from Columns.
Select the column you want to sample from, enter the size of your sample (Sample ... rows from column) and enter the column where the samples are to be stored.
Choose whether you want to sample with or without replacement (check box) and click OK.

Back to top

Random Digits

To make a list of random digits,  go to Calc > Random Data > Integer.
Enter how many (groups of) random digits you need in "Generate ... rows of digits".
Enter the column where the digits are to be stored.
To get single digits, choose Minimum value = 0 and Maximum value = 9.  To get two-digit groups,  choose Minimum value = 0 and Maximum value = 99.  Of course, other choices are also possible.
Click OK to generate the random digits.
Work with the digits just like you would work with random digits found in a table.

Back to top