You are on page 1of 4

jmp.

com/learn Ver 07/2018

Finding Standardized Values (z-Scores)


This page documents three methods for calculating standardized values (z-scores) in JMP®.

Method 1 (Save Standardized)


1. From an open JMP data table, select Analyze > Distribution.
2. Select one or more continuous variables from Select Columns and
click Y, Columns.
3. Click OK to generate a histogram and descriptive statistics.
4. Click on the red triangle for the variable, and select Save >
Standardized. A new column, Std Variable Name, will be saved to
the data table.

Big Class.jmp (Help > Sample Data Library)


The column Std height contains z-scores for height.
Save the data table to save this new column.
Method 2 (Instant Formula)
1. From an open JMP data table, right click on the column that you want to standardize and select New
Formula Column > Distributional > Standardize.
2. A new column, Standardize [Variable Name], will be created in the data table.
To view the formula, right-click on the column header for this new column and select Formula.

Method 3 (Create Formula with Formula Editor) Functions Keypad

1. From an open JMP data table, select Cols > New Column.
2. Under Column Name, assign a name for the column.
3. Click Column Properties, and select Formula. This takes
you to the JMP Formula Editor.

A standardized value is in the form:

4. Create the formula, and click OK. This will populate the
column in the data table with standardized values for the
variable.
To create the formula for the standardized value:

1. Click on the variable under Columns.


2. Click “-” on your keyboard (or the minus sign on the keypad).
3. Select Statistical > Col Mean from the Functions list. Then, click on the variable under Columns.
4. Click on the outer gray box, and click “/” on your keyboard (or the divide-by sign on the keypad).
5. Select Statistical > Col Std Dev from the Functions list. Then, click again on the variable name.

Note: Col Standardize is also available under the Statistical functions, and will perform this calculation
without the need to manually create the formula.
jmp.com/learn Ver 07/2018

Finding the Area Under a Normal Curve


This page shows how to find the area under the normal curve using formulas and the Distribution Calculator.

Column Formula for Area Under a Normal Curve (One Value)


Caret
1. Select File > New > Data Table.
2. Add one row - select Rows > Add Rows, and type “1”.
Click OK.
3. Right-click on Column 1, and select Formula to access the
Formula Editor.
4. From the function list on the left, select Probability >
Normal Distribution. This will give the following formula:

5. Click the caret on the keypad twice to add fields for


the mean and standard deviation.

6. In the fields provided, enter the value of x, the mean, and the standard deviation.
7. Click OK. JMP® will populate the row in the data table with the cumulative probability value (the area under
the lower tail of the normal curve).
Note: To find the area in the upper tail, or the area between two values, use the following formulas:
• Upper tail:
• Between two values:

Column Formula for Area Under a Normal Curve (Multiple Values)


1. Open an existing data table (File > Open), or open a new data table Big Class.jmp (Help > Sample Data Library)

(File > New > Data Table) and create a column of values.
2. Select Cols > New Column to create an additional column, and rename
the column. We’ll name our column Prob Height.
3. Click Column Properties, and select Formula to access the Formula
Editor.
4. Follow steps 4 and 5 above.
5. Click on the box containing “x,” and from Table Columns, select the variable (for example, Height).
6. Type the mean and standard deviation in the fields provided.
7. Click OK. JMP will populate the column with cumulative probability values for each value of the variable.

Distribution Calculator
Select Distribution Calculator from Help > Sample Data > Teaching
Scripts > Interactive Teaching Modules.

Enter the mean and the standard deviation, select the type of
calculation, and enter the values or the probabilities. Click the Help
button for instructions and use notes.
jmp.com/learn Ver 07/2018

Assessing Normality
This page documents some ways to assess normality for a continuous (quantitative) variable.

1. From an open JMP® data table, select Analyze > Distribution.


2. Select one or more continuous variables from Select Columns and click Y, Columns.
3. Click OK to generate a histogram and descriptive statistics (a horizontal layout is shown below).

Car Physical Data.jmp (Help >


Sample Data Library)

Normal Quantile Plot


Click on the red triangle for the variable (Weight, in this example), and select Normal Quantile Plot.

If the data more or less follow a straight


line (fat pen test), we can conclude that
the data are reasonably approximated by a
normal distribution.

For this example, we would conclude the


distribution is approximately normal.

Fitting a Normal Distribution


1. Select Continuous Fit > Normal from the lower red triangle.
2. In the resulting output, click on the red triangle for Fitted Normal and
select Goodness of Fit.

Interpretation (using a significance level of 0.05):

• Prob<W is the p-value for this test.


• Our p-value is 0.5681.
• A p-value less than 0.05 would indicate that the
underlying distribution is not normal.
• We do not have sufficient evidence to conclude
that the underlying distribution is not normally
distributed.
jmp.com/learn Ver 07/2018

Random Sampling and Random Data


This page documents methods for selecting a random sample and generating random data in JMP®.

Random Sampling Car Physical Data.jmp (Help > Sample Data Library)

1. From an open JMP data table, select Tables > Subset.


2. Specify how you’d like the sample to be selected:
- Random – sampling rate (specify the proportion).
- Random – sample size (specify the desired sample size).
- To select a stratified sample across another variable, check
Stratify and select the variable.
3. Under Columns, specify All columns or Selected columns.
4. Click OK to generate the random sample.

JMP will produce a subset of the original table. To


connect the subset to the original table, select Link
to original data table before clicking OK.

Generating Random Data


Manually Create Formula:
1. Select Cols > New Column.
2. Under Column Name, assign a name for the
column. We’ll name our column Random Normal.
3. Click Column Properties, and select Formula. This
takes you to the JMP Formula Editor.
4. Click on the gray icon next to Random in the
function list on the left, and select the distribution
of interest. Here, we will select Random Normal.
5. Click OK.

JMP will populate the new column with simulated random


normal data.

Instant Formula:
Right click any continuous column in the data table and select
New Formula Column > Random > Random Normal.

A new column containing a formula will be added to the data


Simulated random standard normal data.
table. To reveal or modify the formula, right click on the column
The fat plus sign next to the variable name under
header for the new column and select Formula.
the Columns panel tells us that a formula is stored
in the Random Normal column.

You might also like