# Minitab Lab Session 1 1. Start MINITAB 15. 2.

Once you open Minitab, the screen will appear with: • a tool bar at the top,

• a Session window, and

• a Data/Worksheet window (with columns labeled C1 , C2 , C3 , . . . and rows labeled 1, 2, 3, . . .)

The Minitab commands usually address the columns. The columns usually contain data for one variable. Columns can be referred to by number (C1 , C2 , C3 , etc.) or by names and symbols such as x, y , “age”etc. Names and symbols for variables are typed in the cell immediately below the column number and above row 1. • Give a name ‘class’ to the column C1 by typing it immediately below the column number and above row 1. Generate some random data in column C1 by clicking: Calc → Random Data → Integer A dialog box will appear. Enter: – number of rows to generate, i.e., 20 – store in column(c): C1 – minimum value: 30 – maximum value: 100

Descriptive Statistics In order to obtain the basic summary statistics for this data set, click on the Stat button on the toolbar, select Basic Statistics, and then click on Display Descriptive Statistics. A dialog box will appear. For “Variables” you can select “class” either by double-clicking on it or by typing C1 . Click OK. By clicking in the dialog box on Statistics. . . you can select things that you want to be displayed. 1

• N - the number of actual values in the column (missing values are not counted) • N ∗ - the number (if any) of missing values • StDev - the standard deviation • TrMean - Trimmed Mean • Q1 - Lower quartile • Q3 - Upper quartile • mean, median, minimum, maximum value Stem-and-Leaf Plot To create a stem-and-leaf plot, click on the Graph button on the toolbar and select Stem-and-Leaf. A dialog box will appear. For “Graph variables”: 2 √ • SE Mean - the standard error of the mean (StDev/ N )

3

you can, for example, choose “class” by double-clicking on it or by typing C1 . Then click OK. The ﬁrst column of Minitabs stem-and-leaf display is called the depth, the second column contains the stems, and the third column contains the leaves. The rows of the depth column gives the cumulative count of leaves from the top and from the bottom except for the row that contains the median in parentheses. The leaf unit indicates the position of decimal points, if any. For example, Leaf Unit = 1.0 means the decimal point goes after the leaf, and Leaf Unit = 0.1 means the decimal point goes before the leaf. Boxplot To create a boxplot, click on the Graph button on the toolbar and select Boxplot. A dialog box will appear. Select “One Y Simple” from among the choices of types of graph, and then click OK. For “Graph variables” choose “class” by double-clicking on it or by typing C1 . Then click on “Labels” and under “Title” type an accurate descriptive title like “Class exerciseMATH2123”. Click OK and then OK again and the boxplot will appear. Append the graph to the report editor so that you can later comment and print it. Click the right mouse button on the graph and append the graph 4

to the report. Now in the toolbar click on Window and select Project Manager, on the left hand side click on the folder ReportPad where you can create and edit reports without leaving Minitab. You can add graphs and Session window output, then use Minitab’s built-in word processor to add text, such as notes, captions, or headings to enhance your report. If you click on File and select Print report you can print your report, to save your report you select Save report as. To see an “outlier”, in column C1 change one data value such that is extremely large, or small, i.e., 300. Then create boxplot by repeating above steps. When interpreting box plots: • Examine the length of the box to see the spread of data, i.e., IQR. This is especially useful for the comparison of two data sets. • Look for outliers. • Visually compare the lengths of the whiskers. If one is clearly longer, the of data distribution is probably skewed in the direction of a longer whisker.

5

Now generate some random data in column C2 , and call it “students” (follow the steps of C1 ). To see the boxplots of “class” and “students” side-by-side, click on Graph, select Boxplot, select “Multiple Y’s Simple”, and click OK. Now for “Graph variables” choose both “class” and “students”. Click OK and then OK again and the two boxplots will appear. Note: Do not forget a title for your graph. By several boxplots side-by-side you can contrast the diﬀerences in distributions and medians of diﬀerent sets of data.

6

7