Minitab 15 Tips and Tricks

51
© 2008 Minitab, Inc. Minitab ® 15 Tips and Tricks

Transcript of Minitab 15 Tips and Tricks

Page 1: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Minitab® 15 Tips and Tricks

Page 2: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing and Manipulating DataWorksheetsGraphicsCustomizing MinitabAdditional Tips

Page 3: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing Excel Files

In Minitab, choose File > Open Worksheet

Page 4: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing Excel Files

In the File > Open Worksheet dialog, use Options and Preview before opening file

Page 5: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing Excel Files

Correctly-formatted sheets open into separate worksheets

Page 6: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing Data from a Database

In Minitab, choose File > Query Database (ODBC), select Machine Data Source and then your database

Note: Use File > New > Minitab Worksheet to import data into a blank worksheet

Page 7: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing Data from a Database

Select the tables and fields that you want to importSelect Use rows… to specify a condition statement

Page 8: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tally Individual Variables

Use Stat > Tables > Tally Individual Variables to get a list of unique values for a given columnTally will help you easily identify any inconsistencies

Page 9: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Coding and Conversion Tables

Use Data > Code > Text to Text if you need to code up to 8 valuesUse Data > Code > Conversion Table to code any number of text or numeric values

To create a conversion table:1. Use Alt to highlight the

column of values > Copy

2. Paste the column into the worksheet

3. Create a column of the new, coded values

Page 10: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

After Data are Coded

Now we can create Pareto charts, get Descriptive Statistics, etc. for the downtime reasons

Count 117 102 42 33 25 20 18 28Percent 30.4 26.5 10.9 8.6 6.5 5.2 4.7 7.3Cum % 30.4 56.9 67.8 76.4 82.9 88.1 92.7 100.0

Othe

r

Broke

n Too

l

Light

Curta

in

Wait fo

r Mate

rial

Final

Test

Reca

librate

Chan

ge O

ver

Fixtur

e Alig

nmen

t

400

300

200

100

0

100

80

60

40

20

0

Cou

nt

Per

cen

t

Pareto Chart of Reason

Page 11: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Split and Subset Worksheet

Use Data > Split Worksheet to create new worksheets for each unique value in a column

Use Data > Subset Worksheet to create a new worksheet based on a condition, brushed rows or specific row numbers

Page 12: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Value Order

Value order determines the ordering of variablesRight-click on a column and choose Column > Value Order to define an order

HighMediumLow

50

40

30

20

10

0

Speed

Dow

nTim

e

Individual Value Plot of DownTime

Speeds now displayed in a User-Specified Order

MediumLowHigh

50

40

30

20

10

0

Speed

Dow

nTim

e

Individual Value Plot of DownTime

Speeds displayed inAlphabetical Order (default)

Page 13: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Extract from Date/Time

Suppose we want to evaluate the variation across the different days of the weekUse Data > Extract from Date/Time to record date or time components in a numeric or text column

Page 14: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Change Data Type

Suppose you import data and find that a numeric column is incorrectly formatted as textUse Data > Change Data Type > Text to Numeric to change the column format

Page 15: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing and Manipulating DataWorksheetsGraphicsCustomizing MinitabAdditional Tips

Page 16: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Formulas in the Worksheet

Use Calc > Calculator to assign formulas to columns in the worksheetColumns update when data in the worksheet change

Page 17: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Worksheet and Column Descriptions

Right-click on a column and choose Column > Description to add notes for future referenceRight-click on to add a Worksheet Description

Page 18: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Worksheet Zooming

Use the Control key and your mouse wheel to zoom in and out of the worksheet

Page 19: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Multiple Undo and Redo

Use the arrows on the toolbar to undo or redo changes made to cells in the worksheet

undo redo

Page 20: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Autofill

Use autofill to create patterned dataUse the Control key to create repeated patterned data

Page 21: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing and Manipulating DataWorksheetsGraphicsCustomizing MinitabAdditional Tips

Page 22: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Split Graph into Panels

Right-click on a cluttered graph and choose Panel to reduce the clutter

9080706050403020101

89.5

89.0

88.5

88.0

Index

Wel

d St

ren

gth

Time Series Plot of Weld Strength

50403020101

89.5

89.0

88.5

88.0

90807060

89.5

89.0

88.5

88.0

Index

Wel

d St

ren

gth

Time Series Plot of Weld Strength

After panelingBefore paneling

Page 23: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Brushing Options

We see strength values that are lower than expected and want to do further investigationRight-click > Brush > right-click > Set ID Variables

Page 24: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Brushing Options

Brush multiple groups of points using the Shift keyThe brushing window shows that all lower weld strengths are associated with the third shift

Page 25: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Brushing Options

The Data Options button for any Graph or Control Chart allows you to include or exclude data based on brushed rows

Page 26: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Graph Annotation Tools Toolbar

Choose Tools > Toolbars to enable the Graph Annotation Tools toolbarThe Graph Annotation Tools toolbar is useful for adding text, circles, and arrows to graphs

Select Mode Rectangle Line Polyline

Text Ellipse Marker Polygon

Page 27: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Graph Editing Toolbar

Choose Tools > Toolbars to enable the Graph EditingtoolbarThe Graph Editing toolbar is useful for editing graphs and obtaining graph coordinates

Select List Select Crosshair Add List Zoom

Edit Brush Plant Flag Delete

Page 28: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Graph Editing Toolbar examples

Use the Add List dropdown to add gridlines, reference lines, subtitles and data labels

Use Crosshair mode to explore graphs

Page 29: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

In-Place Graph Editing

Double-click on the graph components to change fonts, colors, add a date/time stamp, etc.Right-click on the graph to add titles, gridlines, data labels, etc.

Before Editing After Editing

321

89.5

89.0

88.5

88.0

Shift

Wel

d St

reng

th

Boxplot of Weld Strength

3

2

1

89.589.088.588.0

Shift

Weld Strength

Boxplot of Weld StrengthFebruary 26 - March 30

Page 30: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Make Similar Graph

Sat

Fri

Thu

Wed

Tue

Mon

Sun

89.589.088.588.0

Wee

kday

Weld Strength

Boxplot of Weld StrengthFebruary 26 - March 30

Use Editor > Make Similar Graph to create a similar graph using different variable(s)

3

2

1

89.589.088.588.0

Shif

t

Weld Strength

Boxplot of Weld StrengthFebruary 26 - March 30

Page 31: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Layout Tool

To combine multiple graphs into one window, choose Editor > Layout Tool

3

2

1

89.589.088.588.0

Sh

ift

We ld Str ength

S at

F ri

T hu

Wed

Tue

M on

S un

89.589.088.588.0

We

ek

da

y

We ld Str ength

Boxplo t o f Weld StrengthF ebruary 26 - M arch 30

Page 32: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Updating Graphs

Available for core graphs and Control ChartsRight-click on icon in upper left corner to update graph

• Automatic Updates – sets graph to automatically update anytime data in worksheet change

• Update Graph – performs one-time update

Core Graphs and Control Charts All Other Graphs

Graph is up-to-date Graph is up-to-date, but cannot be updated

Data used to create graph have changed Data used to create graph

have changed, and graph cannot be updatedOn-hold, some condition

prevents auto-update

Page 33: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing and Manipulating DataWorksheetsGraphicsCustomizing MinitabAdditional Tips

Page 34: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Options

Use Tools > Options to set default preferencesFor example, specify a default file location that Minitab will go to when using File > Open Project

Page 35: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Options > My Footnote

To easily keep track of which worksheet was used to create each graph, set a footnote to automatically display the worksheet name

321

89.5

89.0

88.5

88.0

Shift

Wel

d St

ren

gth

Boxplot of Weld Strength

Worksheet: Initial Study

Page 36: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Options > Descriptive Statistics

Select the statistics you need when using Stat > Basic Statistics > Display Descriptive Statistics

Page 37: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Options > Capability Analysis

Display Benchmark Z’s by default instead of Cp and Pp

Page 38: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Options > Residual Plots

Display the Anderson-Darling Normality Test results on normal residual plots for regression, ANOVA and DOE

Page 39: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Exec macros

If you need to conduct the same analysis on a regular basis, consider creating an Exec, a type of macro, to easily re-run the same analysisClick to go to the History window and highlight the desired commands

Page 40: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

To save an Exec

To save the commands as an Exec, right-click on the highlighted History commands and choose Save As…

Save the *.MTB file to your hard-drive

Page 41: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

To run an Exec

Run the Exec at any time using File > Other Files > Run an Exec > Select File and browse to your *.MTB

Page 42: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Customize

Use Tools > Customize to:• Move, add, edit, or delete any item on a toolbar or

menu• Create a new toolbar or menu• Set custom keystrokes for frequently used

commands• Add a button to call your Exec file

Page 43: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Customize to move or add

To move or add toolbar or menu items, choose Tools > Customize and then click and drag

Page 44: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Customize to create new toolbars

To create a new toolbar, use the Toolbars tab > NewTo add functions to a new toolbar, use the items available under the Commands tab

Page 45: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Tools > Customize to create new menus

To create a new menu, use the Commands tab > New MenuTo add items to a new menu, click and drag the items available under the Commands tab

Page 46: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Creating a Profile

To save all of your customizations, create a profileClick to create a new profileUse Tools > Manage Profiles to import or export a profile

Page 47: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Importing and Manipulating DataWorksheetsGraphicsCustomizing MinitabAdditional Tips

Page 48: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Using the ReportPad

Use the ReportPad to write a report

Right-click on a graph and choose Append Graph to Report

Right-click on Session output and choose Append Section to Report

Click on the toolbar’s to open the ReportPad

Page 49: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Saving and Exporting the ReportPad

Save Report As saves the report as a .RTF or .HTML Move to Word Processor moves the ReportPad contents to your default word processor (i.e. cut and paste)Copy to Word Processor copies the ReportPad contents to your default word processor (i.e. copy and paste)

Page 50: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

Help

Help includes a glossary, methods and formulas, and examplesAccess Help from the Help menu, the toolbar, or from the Help button found in every dialog box

1 2

3

Page 51: Minitab 15 Tips and Tricks

© 2008 Minitab, Inc.

StatGuide

StatGuide provides examples and their interpretationAccess StatGuide from the Help menu or the toolbar