# Performing Simple Probabilistic Simulations in JMP®

## Chapter 5, Printout 1

1. Launch JMP and create a new data table.

2. Enter the variables and simulate random data.

• Rename Column 1 to "C"

• Add 7 more columns, naming them, from left to right, "G," "A," "Mi," "Mo," "Ta," "Ti," and "To"

Screenshot:

• Add 100 rows to the data table.

• Double-click the column header, "C"

• In the dialog box that follows, select "New Property --> Formula."

Screenshot:

• Click "Edit Formula."

• In the dialog box that follows, double-click on the words, "no formula." Enter "Random Normal() * 0.5 * 1.004 + 1003.8"

Screenshot:

Note: When you finish editing the function, JMP will display it in a graphically-editable form. Functions can also be entered graphically using the "Functions" list and the arithmetic buttons. This approach is more intuitive, though more time-consuming. The "Random Normal" function is found under "Random" when the functions are shown grouped.

• Click "OK" to close the function dialog box.

• Click "OK" in the column properties dialog box.

JMP fills Column C with 100 randomly generated specific heat values.

Screenshot:

• Add formulas to the seven remaining columns, using the process described for Column C. The formulas to enter are summarized below:

Column Formula
G Random Normal() * 0.5 * 33.6 + 1121.4
A Random Normal() * 0.5 * 0.005 + 1.58
Mi Random Normal() * 0.5 * 0.00035 + 0.0234
Mo Random Normal() * 0.5 * 0.00037 + 0.0247
Ta Random Normal() * 0.5 * 0.5 - 13.22
Ti Random Normal() * 0.5 * 0.5 - 6.08
To Random Normal() * 0.5 * 0.5 + 24.72

Screenshot:

Note: since these values are randomly generated, the values in your data table will not necessarily match those shown.

3. Simulate Efficiency.

• Add a new column, "Efficiency," to the data table.

• Add a formula to the Efficiency column in the same manner as to the previous columns. The formula should read, "(:C/(:G*:A))*(:Mo*:T0-:Mi*:Ti-(:Mo-:Mi)*:Ta)"

Screenshot:

As the formula is complex, you may wish to enter it graphically using the calculator buttons and the column names in the "Table Columns" list. If you choose this method, the resulting formula should appear as shown in the following screenshot.

Screenshot:

• Click "OK" to close the function dialog box.

• Click "OK" in the column properties dialog box.

JMP simulates values for Efficiency.

Screenshot:

4. Display descriptive statistics for Efficiency.

• Select "Analyze-->Distribution."

• In the dialog box that follows, click the column name "Efficiency"; then click "Y, Columns" to designate Efficiency as the column to be analyzed.

Screenshot:

• Click "OK."

JMP displays descriptive statistics and a frequency distribution for Efficiency.

Screenshot:

5. Display a stem-and-leaf plot for Efficiency.

• Click the red triangle next to the label, "Efficiency." Select "Stem and Leaf" from the resulting pop-up menu.

JMP generates a stem-and-leaf plot and places it in the current window.

Screenshot: