NCSS Statistical Software

Similar documents
PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

PASS Sample Size Software

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage

Sensors and Scatterplots Activity Excel Worksheet

Excel Manual X Axis Scale Start At Graph

Chapter 3. Graphical Methods for Describing Data. Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.

How to Make a Run Chart in Excel

Chapter 2. The Excel functions, Excel Analysis ToolPak Add-ins or Excel PHStat2 Add-ins needed to create frequency distributions are:

Spreadsheets 3: Charts and Graphs

How to define Graph in HDSME

Excel Tool: Plots of Data Sets

Section 3 Correlation and Regression - Worksheet

CREATING (AB) SINGLE- SUBJECT DESIGN GRAPHS IN MICROSOFT EXCEL Lets try to graph this data

Purpose. Charts and graphs. create a visual representation of the data. make the spreadsheet information easier to understand.

STK110. Chapter 2: Tabular and Graphical Methods Lecture 1 of 2. ritakeller.com. mathspig.wordpress.com

1.1 Displaying Distributions with Graphs, Continued

Office 2016 Excel Basics 24 Video/Class Project #36 Excel Basics 24: Visualize Quantitative Data with Excel Charts. No Chart Junk!!!

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Chapter Displaying Graphical Data. Frequency Distribution Example. Graphical Methods for Describing Data. Vision Correction Frequency Relative

This tutorial will lead you through step-by-step to make the plot below using Excel.

Excel Lab 2: Plots of Data Sets

Lab 4 Projectile Motion

Environmental Stochasticity: Roc Flu Macro

Using Charts and Graphs to Display Data

LAB 2: Sampling & aliasing; quantization & false contouring

CHM 109 Excel Refresher Exercise adapted from Dr. C. Bender s exercise

Page 21 GRAPHING OBJECTIVES:

PivotTables PivotCharts (Chapter 5)

CHM 152 Lab 1: Plotting with Excel updated: May 2011

Chapter 1. Picturing Distributions with Graphs

EXERCISE 1: CREATE LINE SPARKLINES

Building a Chart Using Trick or Treat Data a step by step guide By Jeffrey A. Shaffer

Important Considerations For Graphical Representations Of Data

Excel Manual X Axis Label Below Chart 2010 >>>CLICK HERE<<<

Revit Structure 2012 Basics:

Microsoft Excel. Creating a Pie Chart on a Picture. 1. In order to create a pie chart on a picture, you need to first find

Assessing Measurement System Variation

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Using Figures - The Basics

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment.

Graphing with Excel. Data Table

Math Labs. Activity 1: Rectangles and Rectangular Prisms Using Coordinates. Procedure

Getting Started with Qucs

SolidWorks 95 User s Guide

Lab 4 Projectile Motion

Chapter 10. Definition: Categorical Variables. Graphs, Good and Bad. Distribution

Business Statistics:

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best

Excel 2013 Unit A: Getting Started With Excel 2013

You may create and edit Rules from the main Natural Music screen by clicking [Setup][Rules].

Assessing Measurement System Variation

Using Graphing Skills

Plotting scientific data in MS Excel 2003/2004

House Design Tutorial

Chapter 6 Title Blocks

Use sparklines to show data trends

FlashChart. Symbols and Chart Settings. Main menu navigation. Data compression and time period of the chart. Chart types.

MATHEMATICAL FUNCTIONS AND GRAPHS

TeleTrader FlashChart

House Design Tutorial

Why Should We Care? More importantly, it is easy to lie or deceive people with bad plots

Excel Manual X Axis Values Chart Multiple Labels Negative

Section 1.5 Graphs and Describing Distributions

Engineering Fundamentals and Problem Solving, 6e

OOo Switch: 501 Things You Wanted to Know About Switching to OpenOffice.org from Microsoft Office

GEO/EVS 425/525 Unit 3 Composite Images and The ERDAS Imagine Map Composer

Vectorworks Architect

Write a spreadsheet formula in cell A3 to calculate the next value of h. Formulae

Entering Checkpoint Data

Excel 2003: Discos. 1. Open Excel. 2. Create Choose a new worksheet and save the file to your area calling it: Disco.xls

Scenario 5: Family Structure

House Design Tutorial

Laboratory 2: Graphing

Ansoft Designer Tutorial ECE 584 October, 2004

Excel Manual X Axis Scales 2010 Graph Two X-

Autodesk Advance Steel. Drawing Style Manager s guide

A graph is an effective way to show a trend in data or relating two variables in an experiment.

Subdivision Cross Sections and Quantities

7.0 - MAKING A PEN FIXTURE FOR ENGRAVING PENS

10.2. Scanning Document Camera Scoring. Page 1 of 5. How do I score answer sheets using a document camera? STEP 1

Using Graphing Skills

Outline. Drawing the Graph. 1 Homework Review. 2 Introduction. 3 Histograms. 4 Histograms on the TI Assignment

House Design Tutorial

Advance Steel. Drawing Style Manager s guide

Appendix 3 - Using A Spreadsheet for Data Analysis

Revit Structure 2014 Basics

A To draw a line graph showing the connection between the time and cost

Stratigraphy Modeling Boreholes and Cross. Become familiar with boreholes and borehole cross sections in GMS

Existing and Design Profiles

ESSENTIAL MATHEMATICS 1 WEEK 17 NOTES AND EXERCISES. Types of Graphs. Bar Graphs

Operating Rausch ScanCam within POSM.

BacklightFly Manual.

SS Understand charts and graphs used in business.

About the Laboratory Manual Interpreting and Recording Data Laboratory Drawings Exercise #1

Version 6.1. Instructional Days: 11-14

Using Graphing Skills

New Mexico Pan Evaporation CE 547 Assignment 2 Writeup Tom Heller

Frequency Distribution and Graphs

TOPIC 4 GRAPHICAL PRESENTATION

Transcription:

Chapter 147 Introduction A mosaic plot is a graphical display of the cell frequencies of a contingency table in which the area of boxes of the plot are proportional to the cell frequencies of the contingency table. This procedure can construct mosaic plots for up to four-way contingency tables. Here is an example of a three-way mosaic plot of the 1973 Berkeley Admissions data. 147-1

Mosaic Plot Construction Since the mosaic plot is based on conditional probabilities, to understand and interpret it, you must understand how it is created. To do this, we will use the famous 1973 Berkeley admissions data contained in the Berkeley 1973 Admissions dataset show below. These data are of interest, because, initially, they were used to show that males were admitted at a higher rate than females. The following chart seems to show this. The widths of the boxes are proportional to the percentage of females and males, respectively. In fact, 41% of applicants were female and 59% were male. The heights of the boxes are proportional to percent admitted. In fact, 45% of the male applicants were admitted, while only 30% of the female applicants were admitted. This seems to show a large gender-bias in admission. To make the plot easier to interpret, the boxes for admitted females and males are colored blue while the not admitted females and males are colored pink. It is easy to see that females blue box on the left is much shorter than the males blue box on the right. To understand this admission pattern further, the university department of application was considered. In the following plot, the departments are shown across the plot in different colors, from department A on the left in pink to department F on the right in yellow. The percentage of applicants to each department is proportional to the width of the bars. It is obvious that departments A and C have the largest number of applicants and departments B and E have the smallest. 147-2

Finally, the color of the boxes is changed so that those that were admitted are shown as blue and those that were not admitted are show as red. By construction, the percent admitted within each gender-by-department combination is the width of the corresponding box. For example, the percentage of females that were admitted to department A (shown by the width of blue box at the lower left) is much larger than that of the males (shown by the width of the long blue box directly above the female box). If you consider each department in turn by scanning from left to right across the plot, the width of the blue box on the bottom appears to be quite similar to the box directly above it. This indicates that in most departments the percent of females admitted is about the same as that of males admitted. Keys of Interpretation of 1. The categories of each new factor divide each box either horizontally (1 st and 3 rd factor) or vertically (2 nd and 4 th factor). 2. If two factors are independent, the gaps between the corresponding sets of boxes will align. 3. The area of each box is proportional to the corresponding cell frequency. Data Structure Data for a mosaic plot are entered in columns. Up to four factor variables may be used followed by an optional variable containing the counts (frequencies) for that cell. The program will tabulate data, so you do not have to use the Count variable. Following are the data for the 1973 Berkeley Admissions dataset. Berkeley 1973 Admissions dataset Dept Gender Admission Count A Male Yes 512 A Male No 313 A Female Yes 89 A Female No 19 B Male Yes 353 B Male No 207 B Female Yes 17 B Female No 8 C Male Yes 120 C Male No 205 C Female Yes 202 C Female No 391 147-3

D Male Yes 138 D Male No 279 D Female Yes 131 D Female No 244 E Male Yes 53 E Male No 138 E Female Yes 94 E Female No 299 F Male Yes 22 F Male No 351 F Female Yes 24 F Female No 317 Procedure Options This section describes the options available. Variables Tab Specify the variables (columns) used to make a simple bar chart. Factors Variables 1-4 These variables contain the factor variables. Each variable holds the categories for a single factor. The categories may be text or numeric values. Numeric values must contain only a few unique values. Frequency Variable Frequencies Specify an optional frequency (count) variable. This variable contains integers that represent the number of observations (frequency) associated with each row of the dataset. If this option is left blank, each dataset row has a frequency of one. This variable lets you modify that frequency. This may be useful when your data are tabulated and you want to enter counts. Labels Names This option specifies whether the variable names or labels are used. Values Value Labels may be used to make reports more legible by assigning meaningful labels to numbers and codes. Data Values All data are displayed in their original format, regardless of whether a value label has been set or not. Value Labels All values of variables that have a value label variable designated are converted to their corresponding value label when they are output. This does not modify their value during computation. 147-4

Both Both data value and value label are displayed. Example A variable named GENDER (used as a factor variable) contains 1's and 2's. By specifying a value label for GENDER, the report can display Male instead of 1 and Female instead of 2. This option specifies whether (and how) to use the value labels. Report Data Summary Report Check this box to display a numeric report of the summary table from which the plots are generated. Label Variable Plots Which Plots This option designates which set of plots is generated. Single Plot Generate a mosaic plot using the factors in the order given. Several Plots - Colored by Each Factor Generate mosaic plots using the factors in the order given. The coloring of the boxes in each plot uses categories of a particular factor: the first plot is colorized using the first factor, the second plot is colorized using the second factor, and so on. Several Plots - One for Each Factor Ordering The shape of a mosaic plot is greatly influenced by the order of the factors. This option generates a separate plot for each permutation of the factors. In all cases, the plot is colorized by the categories of the last factor. Edit During Run Checking this option will cause the mosaic plot format window to appear when the procedure is run. This allows you to modify the format of the graph with the actual data. 147-5

Mosaic Plot Window Options This section describes the specific options available on the Mosaic Plot window, which is displayed when the Mosaic Plot button is clicked. Common options, such as axes, labels, legends, and titles are documented in the Graphics Components chapter. Mosaic Plot Tab Rectangles Section You can control the borders and the fills using these options. Rectangle Fill This option controls the colors and gradients that are used to fill the boxes. The colors are applied according to the colorizing factor, which is usually the last factor specified. Rectangle Borders This option controls the colors of the borders. The colors are applied according to the colorizing factor, which is usually the last factor specified. 147-4

Data Values Section You can control whether the percentages are displayed along with their style using these options. Values This option controls whether the percentage values are displayed inside each box. Position This option controls the vertical position of the data label within each box. Orientation Section This option controls whether the boxes for factor 1 are Vertical or Horizontal. 147-5

Spacing Section You can change the space between the boxes for each category. Titles, Legend, Numeric Axis, Group Axis, Grid Lines, and Background Tabs Details on setting the options in these tabs are given in the Graphics Components chapter. Example 1 Creating a Mosaic Plot This section presents an example of how to create a mosaic plot of the data stored in the Berkeley 1973 Admissions dataset. You may follow along here by making the appropriate entries or load the completed template Example 1 by clicking on Open Example Template from the File menu of the window. 1 Open the Berkeley 1973 Admissions dataset. From the File menu of the NCSS Data window, select Open Example Data. Click on the file Berkeley 1973 Admissions.NCSS. Click Open. 2 Open the Mosaic Plot window. Using the Graphics menu or the Procedure Navigator, find and select the procedure. On the menus, select File, then New Template. This will fill the procedure with the default template. 3 Specify the Variables. Double-click in the Variable 1 text box. This will bring up the variable selection window. Select Dept from the list of variables and then click Ok. Dept will appear in the Factor 1 box. Double-click in the Variable 2 text box. This will bring up the variable selection window. Select Gender from the list of variables and then click Ok. Gender will appear in the Factor 2 box. Double-click in the Variable 3 text box. This will bring up the variable selection window. Select Admission from the list of variables and then click Ok. Admission will appear in the Factor 3 box. Double-click in the Frequencies text box. This will bring up the variable selection window. Select Count from the list of variables and then click Ok. Count will appear in the Frequencies box. Check the Data Summary Report box. 4 Run the procedure. From the Run menu, select Run Procedure. Alternatively, just click the green Run button. 147-6

Output Report Data Table Report Admission Gender Dept Actual No Female A 19 No Female B 8 No Female C 391 No Female D 244 No Female E 299 No Female F 317 No Male A 313 No Male B 207 No Male C 205 No Male D 279 No Male E 138 No Male F 351 Yes Female A 89 Yes Female B 17 Yes Female C 202 Yes Female D 131 Yes Female E 94 Yes Female F 24 Yes Male A 512 Yes Male B 353 Yes Male C 120 Yes Male D 138 Yes Male E 53 Yes Male F 22 Dept, Gender, Admission Using Count Mosaic Plot The Data Table Report gives the summarized data from which the percentages are calculated. The Mosaic plot is displayed next. 147-7