Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Minitab Cookbook
  • Table Of Contents Toc
Minitab Cookbook

Minitab Cookbook

By : Isaac A Newton
4.4 (8)
close
close
Minitab Cookbook

Minitab Cookbook

4.4 (8)
By: Isaac A Newton

Overview of this book

Table of Contents (19 chapters)
close
close
Minitab Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Navigating Minitab and Useful Shortcuts
2
Index

Calculator – basic functions


The e-calculator tool is analogous to formulas in Excel. In Minitab, we will run calculations on the columns one at a time. Using the weather data from the Oxford station, we will create a new column for the hours of sunlight in a month divided bythe amount of rainfall (in millimeters) for that month.

Getting ready

We will be using data from Oxford weather station; it can be obtained from http://www.metoffice.gov.uk/climate/uk/stationdata/. Select Oxford weather station data and copy the data into Minitab. Only copy the data and not the column headers. Then, rename the columns as Year, Month, T Max, T Min, Airfrost(days), Rain(mm), and Sun(Hrs).

Note

Inspect the data that we copy to ensure that the columns have the right data type. The column header C1-T will indicate text, C1-D will indicate data, and C1 without the hyphen is a numeric column.

Also, note that a few of the values in the data will be recorded as missing; this is where text values are supplied next to the number. A cleaned worksheet is provided in the Oxford weather (cleaned).mtw file.

How to do it…

The following instructions will create a new column for the hours of sunlight to amount of rainfall in a month ratio:

  1. Go to the Calc menu and click on Calculator.

  2. In the dialog box, enter a name for the new column into the Store result in Variable section. We will name it as 'Sun(Hrs)/Rain(mm)'.

  3. Select the section labeled Expression, and then double-click on Sun (Hours) to move it across, enter /, and then move the Rain(mm) column over.

  4. Tick the box labeled Assign as formula and click on OK.

How it works…

The results of this function are generated in the selected column. The checkbox Assign as a formula will create a formula in the worksheet that will keep updating it. By default, this is not selected to avoid problems with circular or self-referencing formulas. When a formula is stored in a column, a green cross is placed at the top of the column to indicate the presence of a formula. The green cross indicates that this is up-to-date, while a red cross would indicate a problem in updating the formula.

There's more…

The calculator in Minitab has a plethora of functions available. We can choose from the function list on the right in the calculator screen. These include several statistical, mathematical, and text functions. They can be filtered with the drop-down list at the top. The help function for the calculator includes a list of functions and how to use them.

See also

  • The Calculator – using an if statement recipe

  • The Cleaning up a text column with the calculator recipe

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Minitab Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon