JMP - M2 Introduction To JMP
JMP - M2 Introduction To JMP
Measure Phase
Course Outline
There are four ways to import data into JMP from other
applications:
> Copy and paste from Excel.
> Open a file created by another software program that JMP recognizes.
> Text import.
> Connect to a database.
File Menu > Open Data Table: Opening Existing JMP Files
If you want to import a file that is a JMP data table (.jmp), script (.jsl), or journal (.jrn):
Step
Step 11 Step 3
Step 4
SelectFile
Select File>>Open.
Open Highlight the name of the
file you would like to open Click Open
Step 2
Select file type
See Slide 35 for File List
File Menu > Open Data Table: File Types
See Step 2 on previous slide for selecting the file type by operating system for:
Text Import
> Import the text file in JMP
Specifying Data Types and Modeling Types
Table panel
The table panel contains
the data table name, a
small red triangle icon,
and a list of any table
properties/scripts
Columns panel
The columns panel
contains a list of columns
found in the data table,
each column’s modeling
type, and any attributes
assigned to the columns.
Rows panel
The rows panel shows
the number of total rows,
selected (or highlighted)
rows, excluded rows,
hidden rows, and labelled
rows.
Selecting Row and Columns
Selected column
Selected column
Selected rows
Selecting Excluded, Hidden, or Labeled Rows
If you currently have rows selected in the data table, click an option under
Currently Selected Rows to tell JMP how to handle that current selection:
You can perform a wide variety of data management tasks on JMP data:
> Create a new data table from a subset of rows and columns from another data
table
> Sort by any number of columns
> Stack multiple columns into a single column
> Split a column into two columns
> Transpose rows and columns
> Concatenate multiple tables end to end
> Join two tables side by side
> Update columns in a table with values from another table
Creating a Subset Table
You can produce a new data table that is a subset of all rows and columns, only highlighted rows
and columns, or randomly-selected rows from the active data table.
To create a subset: Select Tables > Subset.
Sorting Data Tables
You can sort a JMP data table by columns in either ascending or descending order. By default,
columns sort in ascending order. You can either create a new table that contains the sorted
values, or you can replace the original table with the sorted table.
To sort a data table: Select Tables > Sort.
Ascending
Descending
Stacking Columns
You can rearrange your data table by stacking two or more columns into a single new column,
preserving the values from the other columns. Or, you can stack a set of columns into multiple
groups.
To stack column/s: Select Tables > Stack.
Splitting Columns
You can create a new data table from the active table by dividing one column into several new
columns. You can divide one column into several columns according to the values of one or more
variables.
To split column: Select Tables > Split.
Split Columns
Transposing Rows and Columns
You can create a new JMP table that is a transposed version of the active data table. The columns
of the active table are the rows of the new table, and its rows are the new table’s columns.
To transpose rows and columns : Select Tables > transpose.
Attaching Tables (Concatenating)
When you concatenate tables in JMP, you append them so one column in the new table is
created for each column name in the original tables.
+ =
2. In a Cartesian fashion, where you form a new table consisting of all the pairs from two original tables
+ =
3. By matching the values in one or more columns that exist in both data tables
+ =
Updating a Table
If you have two data tables and would like to update one table with data from a second table,
select Tables > Update.
Group Variables
List of Summary
Statistics.
Graphical Data Exploration
Graph Types for Single Variable
Definition
> A Histogram is a vertical bar chart that
displays the distribution of a set of data. height
> Use to examine the shape and spread of
sample data.
Purpose
> Graphically displays the distribution of a
set of data.
The location (central tendency)
The dispersion (variability)
The shape
> Shows anomaly in the data set if 50 55 60 65 70
present.
Extreme value
Double peaks (mixture)
Missing data (gap, truncation)
Probability Plots
Definition
> A probability plot is constructed in a
way that the points will fall in a straight
line if they fit the distribution.
> This is a useful technique since the
human eye is better at assessing if
something is straight or not.
> The vertical axis represents estimated
cumulative probability.
Purpose
> Determine if a data set fits the Normal
distribution. Unlike Histogram,
probability plots can provide a more
decisive approach.
Box Plot
Definition
> Five-number summary
of a continuous variable: Minimum, Q1, Median, 200 maximum
Q3, Maximum.
Length of the box is IQR.
Q3
The line within the box marks the median.
150
Two lines extend to outermost data value within 1.5 * Means Diamond
IQR of either Q1 or Q3.
Potential outliers are shown as points. Median(Q2)
Purpose 100
Q1
> Box plots are also very useful when large numbers of
observations are involved and when two or more Outermost data
data sets are being compared. value within
50 1.5xIQR of the
> They are helpful for indicating whether a 25th percentile
distribution is skewed and whether there are any
unusual observations (outliers) in the data set.
outlier
0
Histogram, NPP and Boxplot in JMP
Click Ok
Histogram – Analyzing the Result
.50 0
.25
-1 actual
The lower axis.10is the
values (same .05
units as the data)
-2
.01
-3
.. but the
probability
indicates it can be
assumed to be
Normal.
Distributions
Reactor
3
3 3
.50 0 .50 0
.25
.25
-1 -1
.10
.10
.05
.05
-2
-2 .01
.01
0 1 2 3 4 5 6
140 145 150 155 160
Pareto Chart
Definition
> Very similar to Histogram
Plots
> Bar chart for Defect data. 250
100
> Use of percentages to show importance
200
80
> Largest count to the smallest.
150
X-axis is the defect type. 60
Purpose
> Apply this tool to separate the vital few from the Reason for Postage Delay
trivial many.
> Hence, Pareto diagram is an effective tool for
problem identification.
Pareto Analysis in JMP
40
125
Cum Percent
75
encountered in the process
Count
20
from the left of the chart.
50
10
25
0 0
metallization
contamination
doping
miscellaneous
silicon defect
oxide defect
corrosion
The 8020 Principle:
failure
Reasons for failure are often found to
conform to the 80/20 principle which
says that 80% of the failures are
generally caused by around 20% of the
problems.
Takeaways