
Transcription
jmp.com/learnrev 07/2012Bar Charts and Frequency DistributionsUse to display the distribution of categorical (nominal or ordinal) variables. For the continuous (numeric)variables, see the page Histograms, Descriptive Stats and Stem and Leaf.Bar Charts and Frequency DistributionsExample: Companies.jmp (Help Sample Data)1. From an open JMP data table, select Analyze Distribution.2. Click on one or more nominal or ordinal variables from SelectColumns, and click Y, Columns (nominal variables have red bars, andordinal variables have green bars).3. If you have summarized data (a column with counts), enter thecolumn into Freq.4. Click OK to generate bar charts and frequency distributions for eachvariable.Tips: To change the display from vertical to horizontal, click on the top redtriangle and select Stack.To change future output to horizontal, go to Preferences Platforms Distribution, click Stack and Horizontal, then click OK.To change the graphical display for a variable, or to select additionaloptions, click on the red triangle for that variable.Click on bars in one graph to see the distribution the variable across other variables (dynamic linking).Categorical variables display in alphanumeric order. To change the display order, use the Value Ordering orRow Order Levels column property (right-click on the column, select Column Info, then Column Properties).Bar Charts – Another Way1. Select Graph Graph Builder.2. Click, then drag and drop a nominal variable from SelectColumns to the X zone on the bottom of the graph.3. Click on the bar chart icon above the graph.4. Drag and drop a continuous weight variable from SelectColumns to the Y zone on the left of the graph, or a dragand drop a count or frequency variable to the Freq field.5. Select a statistic to be plotted from list of SummaryStatistics (bottom left).6. When finished, click Done (top left) to close the controlpanel.Notes: Bar charts can also be created in the Chart platform(Graph Chart). For more details on creating bar charts, seethe book Basic Analysis and Graphing (under Help Books).
jmp.com/learnrev 07/2012Pareto Plots and Pie ChartsUse to display the distribution of categorical (nominal or ordinal) variables. Pareto plots sort in descending orderof frequency of occurrence or weight (value).Pareto PlotsExample: Failuresize.jmp (Help Sample Data)1. Select Analyze Quality and Process Pareto Plot.2. Click on a nominal variable from Select Columns, andclick Y, Cause (nominal variables have red bars, ordinalvariables have green bars).3. If you have summarized data, enter the Count columninto Freq.4. Click OK to generate the Pareto plot .Tips: To change the display or selectadditional options, click on the redtriangle.To change the display from a Paretoplot to a pie chart, click on the redtriangle and select Pie Chart.To label a bar or slice of the pie, rightclick on the category and selectCauses Label.Pie Charts – Another Way1. Select Graph Chart.2. Click on a nominal variable from Select Columns, and clickCategories, X, Levels.3. If you have summarized data, click on the blue triangle nextto Additional Roles, and enter the Count column into Freq.4. Under Options, click on the small black triangle next to BarChart and select Pie Chart.5. Click OK to generate the pie chart.6. To change the display from a pie chart to a bar chart, clickon the red triangle and select Pie Chart.Notes: Bar charts can also be produced from Analyze Distribution or Graph Graph Builder. For more detailson creating pie charts and Pareto plots, see the books Basic Analysis and Graphing and Quality and ReliabilityMethods (under Help Books).
jmp.com/learnrev 07/2012Mosaic Plot and Contingency TableUse to examine the relationship between two categorical variables. A contingency table shows the frequencydistribution of the variables in a matrix format, while a mosaic plot graphically displays the information.The Contingency Table AnalysisExample: Car Poll.jmp (Help Sample Data)1. Select Analyze Fit Y by X.2. Click on a categorical variable from Select Columns, and click Y,Response (categorical variables have red or green bars).3. Click on another categorical variable and click X, Factor.4. Click OK. The Contingency Analysis output will display.Mosaic PlotThe mosaic plot is a side-by-side divided bar chart that allows you tovisually compare proportions of levels of one variable across thelevels of a second variable.Interpretation:1. The widths of horizontal bars represent the proportions of the levelsof the X variable (in this example, marital status).2. The heights of vertical bars on the far right represent theproportions of the levels of the Y variable (type).X MarriedY Family3. The cells in the plot represent the proportions for everycombination of category levels. In this example, Married and Familyis the largest overall proportion.Contingency TableThe body of the contingency table displays: Count – the cell frequencies (counts).LegendTotal % - the cell’s percentage of the total count.Col % - the cell’s percentage of the count for the column. Thecolumn variable is the Y variable, type.Row % - the cell’s percentage of the count for the row. The rowvariable is the X variable, marital status.The borders of the contingency table display the column totals (across thebottom), row totals (on the right), and the grand total (lower right corner).Tips: Click on the red triangle next to Contingency Table to select or deselect display options.Right-click on the mosaic plot to change colors (Set Colors) or label cells (Cell Labeling).Note: See the Basic Analysis and Graphing book (under Help Books) for more details.
jmp.com/learnrev 07/2012Histograms, Descriptive Statistics, and Stem and LeafUse to display and describe the distribution of continuous (numeric) variables. Histograms and stem and leafplots allow you to quickly assess the shape, centering and spread of a distribution. For categorical (nominal orordinal) variables, see the page Bar Charts and Frequency Distributions.Histograms and Descriptive Statistics1. From an open JMP data table, select Analyze Distribution.2. Click on one or more continuous variables from Select Columns, and click Y, Columns (continuous variableshave blue triangles).3. Click OK to generate a histogram, outlier box plot and descriptive statistics. The percentiles, including quartiles and the median, are listed under Quantiles. The sample mean, standard deviation and other statistics are listed under Summary Statistics.Example: Car Physical Data.jmp (Help Sample Data)Tips: To change the display from vertical to horizontal (as shown), click on the top red triangle and select Stack.To change the graphical display for a variable, or to select additional options, click on the red triangle forthat variable.To display different summary statistics, use the red triangle next to Summary Statistics.To change all future output to horizontal, go to Preferences Platforms Distribution, click Stack andHorizontal, then click OK.Stem and Leaf PlotTo generate a stem and leaf plot, click on the red trianglefor the variable and select Stem and Leaf.Tips: A key to interpret the values is at the bottom of the plot. The top value in this example is 4300, the bottomvalue is 1700 (values have been rounded to the nearest 100).Click on values in the stem and leaf plot to select observations in both the histogram and the data table. Or,select bars in the histogram to select values in the stem and leaf plot and data table.Note: For more information, see the book Basic Analysis and Graphing (under Help Books).
jmp.com/learnrev 07/2012Box PlotsUse to display the distribution of continuous variables. They are also useful for comparing distributions.Box Plots – One Variable1. From an open JMP data table, select Analyze Distribution.2. Click on one or more continuous variables from Select Columns, and Click Y,Columns (continuous variables have blue triangles).3. Click OK. An outlier box plot is displayed by default next to the histogram (orabove if horizontal layout). To display a quantile box plot, select the option fromthe red triangle for the variable.QuantileBox PlotThe lines on theQuantile Box Plotcorrespond tothe quantiles inthe distributionoutput.OutlierBox PlotThe Outlier Box Plot shows the box, plus: rdBox Plots – Two Variables1.2.3.4.5.stIQR the 3 quartile minus the 1quartile.Whiskers drawn to the furthest pointwithin 1.5 x IQR from the box.Potential outliers (disconnectedpoints).A red bracket defining the shortesthalf of the data (the densest region).Select Analyze Fit Y by X.Click on a continuous variable from Select Columns, and Click Y, Response.Click on a categorical variable and click X, Factor (categorical variables have red or green bars).Click OK. The Oneway Analysis output window will display.Click on the red triangle, and select Display Options Box Plots to display quantile box plots, or selectQuantiles to display both box plots and quantiles (shown right).Example: Companies.jmp(Help Sample Data)Notes: Box plots for one or more variables can also be generated from Graph Graph Builder. For moreinformation on box plots, see the book Basic Analysis and Graphing (under Help Books).
jmp.com/learnrev 07/2012ScatterplotsUse to display the relationship between two continuous variables. Continuous variables have blue triangles.Scatterplots – Two Variables1.2.3.4.From an open JMP data table, select Analyze Fit Y by X.Click on a continuous response (or dependent) variable in Select Columns, and Click Y, Columns.Click on a continuous predictor (or independent) variable, and click X, Factor.Click OK to generate a scatterplot.Example: Car Physical Data.jmp (under Help Sample Data)Scatterplots – More than Two Variables1. Select Graph Scatterplot Matrix.2. Select all continuous responses of interest, and click Y,Columns.3. Click OK to generate the scatterplot matrix.Notes: Scatterplots and scatterplot matrices can also be generated from Analyze Multivariate Methods Multivariate and from Graph Graph Builder. For more information, see the book Basic Analysis and Graphing(under Help Books).
jmp.com/learnrev 07/2012Run Charts (Line Graphs)Use to display continuous data in time sequence.Run Charts (Overlay Plot)1.2.3.4.Select Graph Overlay Plot.Select one or more continuous variables from Select Columns and click Y.If you have a column that indicates time ordering, enter the column into X, and click OK.Click on the red triangle and select Y Options Connect Points to draw a line through the points, and YOptions Show Points to hide the points.5. Right-click on the graph to change graph properties (select Line Width Scale to change the line thickness).Example: GNP.jmp (under Help Sample Data)Run Charts – Another Way (Graph Builder)1. From an open JMP data table, select Graph GraphBuilder.2. Drag a variable (or multiple variables at once) from theVariables list and drop in the Y zone.3. Drag and drop a variable indicating the time ordering inthe X zone.4. Click on the Line icon in the graph pallet (top middle).5. Click Done, and fine tune as desired (see tips below).Tips: Right-click on the graph and select Graph to change the line thickness or other graph properties.Click on the graph title or axis labels to change, or double-click on an axis to change the scaling.Click on the red triangle next to Graph Builder to re-open the control panel, hide the legend, and more.Notes: Run charts can also be produced from the Control Chart platform (Analyze Quality and Process Control Chart Run Chart). For more information on creating line graphs or run charts, see the books BasicAnalysis and Graphing and Quality and Reliability Methods (under Help Books).
jmp.com/learnrev 07/2012Interactive Graphing with Graph BuilderUse Graph Builder to interactively create graphs for one or more variables, including line plots, splines, boxplots, bar charts, histograms, mosaic plots, maps and more.Drag and Drop to Visualize DataExample: Big Class.jmp (under Help Sample Data)1. From an open JMP data table select Graph GraphBuilder.2. Drag a variable from the Variables list and drop it in thedesired drop zone. In the examples (right), Weight is in the Yzone and Height is in the X zone.3. To add a grouping variable, drag and drop a variable in theGroup X or Group Y zone. In the example, Sex is in theGroup X zone.4. To change the graphical display, click on a graph elementicon. Or, click and drag an icon onto a graph frame. Here,Line of Fit has been selected.5. Change Summary Statistics and other display options forthe selected graph elements.6. Click the Done button (top left) when finished.Tips: Right-click in the graph to change graph properties. To replace a variable with a new variable, drag the newvariable and drop it in the center of the drop zone. By default, Graph Builder displays data points. If continuous variables are in both the X and Y zones a smoothspline will display (lambda 0.05). More than one variable can be assigned to an X or Y zone, or to a group zone. Drag avariable to either side of the existing variable in the zone – a blue ribbon will indicatewhere the new variable will be placed when dropped. To change the modeling type (to use different graph elements), rightclick on the variable and select the new data type (if available).Other Drop Zones: Drop a variable in Wrap to trellis the graph horizontally and vertically.Drop a variable in Color to create a legend and color by values of the variable.Drop a variable in Overlay to color and overlay graphs for each value of the variable on one graph.If data has been summarized (a frequency variable exists), drag the variable to the Freq zone.If a column defines a physical shape, drag the variable to Shape to create a map (shape files must exist).Drop a variable in Size to scale markers or map shapes according to the value of the size variable.Note: Instructions also apply to the iPad Graph Builder Application (see jmp.com/iPad). For more details oncreating interactive graphics with the Graph Builder, see the book Basic Analysis and Graphing (under Help Books) and other one-page guides (at jmp.com/learn).
jmp.com/learnrev 07/2012Summarizing Data Using TabulateUse Tabulate to interactively summarize data and construct tables of descriptive statistics.Drag and Drop to Summarize Data Example: Car Physical Data.jmp (Help Sample Data)From an open JMP data table select Tables Tabulate.Drag and drop variables from the column list to the drop zone forrows and columns.o Country (below, left) is in the rows drop zone – the number ofobservations per country is displayed.o Horsepower (middle) is in the columns drop zone as an analysiscolumn – the sum for horsepower is displayed for each country.Drag and drop one or more summary statistics from the middlepanel into the results area. Mean and Std Dev are displayed foreach country (below, right).Tips: Click Undo to reverse the last change, or use Start Over to clear the display.Click and drag variables in the table to rearrange, or right-click on a variable todelete or change the format.To change the numeric formats (i.e., decimal places), use Change Format at thebottom of the window and select the desired format.To add new summary panels to the table, drag and drop the new variable to thebottom or left of the table. Here, Type has been added to the bottom of theoriginal table.To add additional row or column variables, drag anddrop a new variable on either side of the current variablein the table. Here, Type has been added next to Countryand Horsepower has been added next to Weight.To create a data table, click Done, then select Make Into DataTable from the top red triangle.Note: For more details, see the book Using JMP (under Help Books).
jmp.com/learnrev0 ldwidecountriesandprovinces.JMP le:CrimeData.jmp(Help SampleData)1. Fromanopendatatable,selectGraph GraphBuilder.2. State)tothemapshapedropzone.3. sproduced.4. Examples: inuous)wasdroppedintheWrapzone.Tips:Right- parency. dtriangle,selectScript ditionalinformation. stotheXandYzones,right- ‐clickonthegraph,selectGraph BackgroundMapandchoosethedesiredimage.Double- dlinesormakeotherchanges. porinthebookBasicAnalysisandGraphing(underHelp Books).
Example: Car Poll.jmp (Help Sample Data) Mosaic Plot and Contingency Table Use to examine the relationship between two categorical variables. A contingency table shows the frequency distribution of the variables in a matrix format, while a mosaic plot graphically displays the information. The Contingency Table Analysis 1.