Book Image

Minitab Cookbook

By : Isaac A Newton
Book Image

Minitab Cookbook

By: Isaac A Newton

Overview of this book

Table of Contents (19 chapters)
Minitab Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Exec macros to repeat simple commands


Exec macros are the simplest form of macros that can be written in Minitab. They are only session commands that are saved in a text file. Exec files must use the *.MTB file extension.

Here, we will use data in the Macro data.mtw worksheet to create an Exec file to automate the running of several charts. If we regularly work from a set of data in the same format each week or each month, then we can use a simple Exec such as this one to run all the commands that we would use in the menus.

The Exec file will generate probability, histogram, and time series plots and will then run 1 sample t-test and a 1 Variance test on the data.

We will run the tools from the menus in Minitab in sequence, before using the commands from the history folder to save them as an Exec file.

Getting ready

Open the Macro Data.MTW worksheet by going to the File menu and selecting Open worksheet….

How to do it…

The following instructions will use the history folder to build a simple Exec...