Tutorial: Homework Assignments Purposes: Use Excel Load and embed SPC Macro into Excel Create Histograms from Data Sets Create Control Charts for Various.

Slides:



Advertisements
Similar presentations
(MICROSOFT EXCEL). Is a spreadsheet application designed to take advantage of the windows graphical interface MICROSOFT EXCEL.
Advertisements

Microsoft Office XP Microsoft Excel
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
Using Microsoft ® Excel Formulas and Functions Start Microsoft ® Excel. Type data into cells as shown.
Overview Lesson 1. Objectives Step-by-Step: Start Excel 1.Click the Start menu, and then click All Programs. 2.On the list of programs, click Microsoft.
WORKING SMART Crystal M. Thomas Henrico County DSS (804) POSSESS Central Region Member October 31, 2007.
Presented by: Benefits Systems Support. Getting Started ê Open Powerpoint, create a blank presentation. ê Select a style for your first slide from the.
Understanding Microsoft Excel
Review. Microsoft Office Excel 2013 provides powerful tools to organize, analyze, manage, and share information Locations where work is done are cells,
Using Microsoft Office Excel 2007
EXCEL Spreadsheet Basics
Using Excel to Understand Your Data Clayton County Public Schools Department of Research, Evaluation and Assessment Assistant Principal In-Service.
Creating a Document with a Table, Chart, and Watermark
CREATING A MULTIPLE PAGE REPORT Presented by: Dr. Ennis-Cole.
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Excel Charts – Basic Skills Creating Charts in Excel.
FIRST COURSE Excel Tutorial 4 Working with Charts and Graphics.
Managing Grades with Excel Viewing Help To view Help 1.Open Excel on your computer. 2.In the top right hand corner of the Excel Screen type in the.
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
COMPREHENSIVE Excel Tutorial 4 Working with Charts and Graphics.
Microsoft Office © Copyright William Rowan Objective By the end of this you will have being given a brief introduction to: Microsoft Word Microsoft.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
Using Excel To help with data. Excel is a spreadsheet program that can interface with Word, or PowerPoint A spreadsheet program has cells (little blocks)
Problem Solving Using Excel
Transferring Course Materials to the Web. Creating a Web Site With a Template To create a Web site with a template 1.Start FrontPage. 2.On the File menu,
Microsoft Excel. Excel specializes in creating and designing spreadsheets, or worksheets Worksheet – area to insert data Workbook – a set of worksheets.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
PowerPoint. Basic Vocabulary Slide - Presentation - Slide layout – ► ► ► ► a single page in PowerPoint all the slides for a speech all the slides for.
CTS130 Spreadsheet Lesson 3 Using Editing and Formatting Tools.
Microsoft Excel By: Dr. K.V. Vishwanath Professor, Dept. of C.S.E,
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Microsoft Excel Spreadsheet Review. Templates  Templates can be produced for the following elements:  Text and Graphics  Formatting Information – Layouts,
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
Working with Reports in Microsoft Excel Session Version 1.0 © 2011 Aptech Limited.
Demographic Profiles of Agency Clients - Part 2 Next, we will create a table and a column chart for the conservator field in my database. Because we are.
Creating Charts for the Agency Budget Creating Budget Charts, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
© Paradigm Publishing Inc. MICROSOFT WINDOWS XP MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2.
Excel CREATING A WORKSHEET AND CHART. Personal Budget Worksheet We will create a personal budget worksheet that shows you income each month and your expenses.
Name : Tatiana “Tania” Harrison Office : 216 Phone number: CWU page: Syllabus Name :
ACTIVINSPIRE TRAINING Tips and tools for creating Flipcharts on ActivInspire.
Microsoft Excel. Excel specializes in creating and designing spreadsheets, or worksheets Worksheet – area to insert data Workbook – a set of worksheets.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
CRSD Technology Training Tony Judice. Quick Access Toolbar – can be modifiedSave as… allows you to save the file to a different location and also as an.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
Using Microsoft® Excel This presentation is designed for Chapter 1, Section 1.2.
Tutorial: Homework Assignment Purposes: Use Excel Load and embed SPC Macro into Excel Create Histograms from Data Sets Create Control Charts for Various.
Progress and Outcome Measures - Part 3 Progress and Outcome Measures Part 3, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
Microsoft Excel ( XP-2003). Return to Table of Contents Table of Contents 1_ Introduction to ExcelIntroduction to Excel 2_ Overview of the Excel.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
An electronic document that stores various types of data.
Chapter 5 Working with Multiple Worksheets and Workbooks Microsoft Excel 2013.
You’ll Make a spreadsheet which will be like a Mad Libs Game. These Are The Directions.
Computer/LMS Access To log onto one of these computers: Enter your Username, for example: 2014BNS099 followed So a complete login.
Working with Tables A table is a grid of cells arranged in rows and columns. Tables can be customized and are useful for various tasks such as presenting.
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
Microsoft Excel.
How to Use this PowerPoint Template
Microsoft Excel All editions of Microsoft office.
Using Charts in a Presentation
REACH Computer Resource Center
Objectives At the end of this session, students will be able to:
Shelly Cashman: Microsoft Excel 2016
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Chapter 8 Using Document Collaboration and Integration Tools
Presentation transcript:

Tutorial: Homework Assignments Purposes: Use Excel Load and embed SPC Macro into Excel Create Histograms from Data Sets Create Control Charts for Various Data Types Create Histograms and Control Charts on your “Own” QI Project Data Excel

Test Dataset Contents: File 1 = Number of pneumonia patients per week File 2 = Number of non-deaths between deaths File 3 = Red bead game (# red beads out of 100) draws File 4 = Length of stay by delivery type (vaginal or C-section) File 5 = Breast cancer screening Homework Files 2 Excel 2010

Data Types Attribute (Categorical) Data: Nominal: “named” categories (ex. male/female) Binary: exactly two categories Ordinal: ordered, named categories (ex. low/medium/high) Numeric Data: Interval: numbers without fixed zero scale. These can’t form meaningful ratios (ex. temperature) Ratio: numbers that can form meaningful ratios (ex. blood pressure) Continuous: can take on any numeric value (e.g. cost, weight) Discrete: meaningful only at discrete values (e.g. # of children) 3 Excel 2010

Choosing an SPC Chart (Decision Tree) Data TypeData Type AttributeNumeric Discrete (# of per) (# of between) Continuous (# of per) Constant Subgroup Variable Subgroup Rare Event n >1 n=1 Normal Don’t Recognize Distribution Distribution n Constant or Varies np < 15 Subgroup p Size n c Chartu Chartg Chartx, sx, s x XmRc Chartp Chart Control Chart Additional information can be found in Measuring Quality Improvement in Health Care (Carey & Lloyd, pg. 72) 4 Excel 2010

Access Macro and Data Sets The datasets are found on the session cd in a folder labeled: “Excel Homework Files” It is easiest to copy these files to your own computer*. To do this: Select all the files (Drag to highlight, hold down Ctrl) Right click and select “Copy” Paste the files in a new folder, or on your desktop (right click, “Paste”) * If you do not copy the files, you may still view them from the cd, but if any changes are made and you wish to save them, you will have to do so in a folder on your own computer. 5 Excel 2010

Load Macro into Excel 1. Open Excel (spreadsheet should be blank) and click “File” tab 2. Select “Open” and find the folder where the macro is saved 3. Select “All Files” from the drop-down menu to the right of “File Name” 4. Select “SPC Macros AddIn rev xlam” 5. Select “Open” * If prompted with a security notice be sure to select “Enable Macros” Excel 2010

Open Data Sets 1. To open the homework data sets (spreadsheets), click the “File” tab 2. Select “Open” 3. Find where you have saved the data sets and Select File 1 – pneumonia patients per week.xlsx 4. Press the “Open” button Excel Excel

Create Distribution with SPC Macro In file1- pneumonia patients per week.xlsx, select the data in column B (tip: if you select the first cell in the column and then press ctrl + shift + down arrow keys together, Excel will select all data in the column until it arrives at a blank cell) 1. Select “Add-Ins” tab (If you don’t see the macro, you will need to re-load it) 2. Select “SPC Macros” drop down 3. Select “Identify Distribution” 4. “Check” that the first row contains labels 5. Select “Recalc” to generate the distribution Excel

Distribution and Residuals The SPC Macro creates a new tab with output that looks similar to this: The data is saved upon pressing "OK". "Cancel" erases the new tab. Excel

Create Table for Control Chart Select and open Homework file #1. If necessary, re‐load SPC Macro. Determine the distribution that matches your dataset 1. Highlight the # pneumonia pts per week (column B) in the dataset. 2. Go to “Add-Ins” 3. Find desired control chart option under “SPC Macros” 4. Select appropriate chart (file1= C-chart because: # of per, ratio discrete, variable subgroup) 10Excel 2010  1

Complete Fields to Generate Table Complete the fields in the c- chart box in the Input Data and Significance Level sections of the macro. 1. Make sure highlighted range corresponds to data highlighted on spreadsheet 2. Only check “Check if the first row contains labels” if you have included the label in the highlighted material 3. Enter the significance level, α, as desired(.01 or.05) 4. Select "OK" to generate the table The macro will populate a new sheet that looks like this 11 Excel

Create Control Chart 1. Select variables to be graphed on control chart: c = count c-bar = average count LCL = lower confidence limit UCL = upper confidence limit Tip: Select cell B6 and while holding left mouse key, move cursor to E6 and release left mouse key. Use tip from previous slides (shift + ctrl + down arrow key) to select and move to the bottom of the data range. After highlighting the data: 2. Select the “Insert” tab 3. In the “Charts” section, select “Line” 4. Select “Line with Markers” to create the chart 12  1 Excel 2010

Edit Control Chart Format 1. To remove the markers from “c-bar”, right click on the center line 2. Select “Format Data Series” 3. Select the “Marker Options” tab, and choose the “None” radio button 4. Press the “Close” button to update the graph Excel 2010

Edit Control Chart Format (cont’d) A dotted red line without markers is a convention that is widely used for the LCL and UCL. 1. To change the line, color, type, and markers first right click on the UCL line 2. Select “Format Data Series” 3. To remove markers, select the “Marker Options” tab 4. Choose the “None” radio button Excel 2010

Edit Control Chart Format (cont’d) 5. Now, select the “Line Color” tab 6. Choose the “Solid line” radio button 7. Press the “Color:” button, and choose red 8. Select the “Line Style” tab 9. Press the “Dash type:” button, and choose the round dots 10. Press the “Close” button and the line on your graph will be updated 15 **Follow the steps on slides 14 and 15 to change the LCL to a dotted red line** Excel 2010

Label and Finish Chart 16 To add titles to the chart and to the axes: Click anywhere on the chart Under chart tools, select “Layout” In the labels section, select “Chart Title” Select “Above Chart” and type title onto chart To the right of “Chart Title”, select “Axis Title Choose vertical or horizontal title and type title onto chart *Files 2, 3, 4, and 5 require additional/altered steps based on chart type* *For more detailed information on axis customization (with examples), refer to slide 34* Excel 2010

Additional Steps for file2 – nondeaths between deaths.xlsx **File2 is similar to File1, but a g-chart is used. 1. Highlight “Nondeaths Between Deaths” data in column B. 2. Go to “Add-Ins”. 3. Select “g Chart” from “SPC Macros” drop-down. 4. Enter a significance level (0.01) and click “OK”. Excel 1

Additional Steps for file2 – nondeaths between deaths.xlsx ** Follow pages to create and edit control chart** Excel

Additional Steps for file3 – Red Bead Game.xlsx Select the data in column B (ctrl+shift+down arrow key) 2. Then select the appropriate control chart option (p-chart) 3. After clicking in the field “Select the sample size range:” select the data in column C (highlight the first cell in the data column then press ctrl+shift+down arrow key to highlight the data clear to the bottom. You may also type in the data range 4. Fill in the significance level. 5. Select “OK” to create the table 11 Excel 2010

Creating Control Chart for file3 –Red Bead Game.xlsx 20 To create Control Chart, follow steps on slide 12. To format Control Chart, follow steps on slides Before Formatting After Formatting Excel 2010

Final P-Chart for file3 – Red Bead Game.xlsx Now charts can be generated for files 1-3. Refer to slides for file4 and slides for file5. 21 Excel 2010

Sort and Separate file4 – length of stay by delivery type.xlsx Open “file4 – length of stay by delivery type.xlsx”. The file contains data on two types of procedures (C-Section and Vaginal) that are identified in column “Type”. We will organize the data according to delivery type and then separate them into 2 different data sets. 1. Make sure the “Home” tab is selected and select the data in columns A thru F 2. Select “Sort & Filter” under “Home” tab 3. Select “Custom Sort” 4. “Check” that My data has headers 5. Next to “Sort by” select “Type” 6. Click “OK”

Sort and Separate cont. file4 – length of stay by delivery type.xlsx Once you have sorted by delivery type, cut and paste separate data into two separate columns, one for each delivery type Find where type changes from “C-Section” to “Vaginal” Highlight the second group (col A-F) for “Vaginal” type Create a distribution on each type using the LOS_HRS Column (Slides 8-9) Excel

Sort and Separate cont. file4 – length of stay by delivery type.xlsx 1. Highlight “LOS_HRS” (this is the data value) in column D 2. Go to “Add-Ins” 3. Select “X-bar S Chart” from “SPC Macros” drop- down 4. Click inside the “groupings range” box and highlight “DSCHRG_MNTH” (this is the grouping variable) in column C Excel Enter a significance level (0.01) and click “OK” to generate X-bar S Chart 11

Sort and Separate cont. file4 – length of stay by delivery type.xlsx The “x-bar s chart” for both delivery types should look like the following: Excel C-Section Vaginal **After creating the X-bar S charts, use data from columns D-G to create the control chart (slides ).**

Sort and Separate cont. file4 – length of stay by delivery type.xlsx Create Control Charts for the X-bar S Charts (refer to slides 12-16). Your charts should look like the ones below: Excel C-Section ChartVaginal Chart

Additional Steps for file5 – Breast Cancer Screening.xlsx For this file we are going to treat it as if an intervention occurred that began on Jan 1, We will first create a Pivot Table: 1. Highlight all data 2. Select the “Insert” Tab 3. Click the “Pivot table” button on the far left of the ribbon. 4. Select “Pivot Table” from the drop-down 5. Make sure “Select a table or range” is selected (should be default setting) 6. Make sure “New Worksheet” is selected (should be default setting) 7. Select “OK” to bring up the pivot table 27 1 Excel 2010

Additional Steps for file5 – Breast Cancer Screening.xlsx 28  The new worksheet will initially look like this image. To populate the Pivot Table: 1. On the right hand side, in “Pivot Table Field List”, check all boxes under “Choose fields to add to report” 2. Left-click and drag “Year” and “Month” into the “Row Labels” box below 3. Drag “Screening Done” into the “Column Labels” box 4. Drag “ID” into the “Values” box Excel 2010

Additional Steps for file5 – Breast Cancer Screening.xlsx On the “PivotTable Field List” menu, click on the arrow next to “Sum of ID” 2. Select “Value Field Settings” After Excel Select “Count” from the “Summarize value field by” scroll box 4. Select “OK”

Additional Steps for file5 – Breast Cancer Screening.xlsx 1. Now highlight the values that correspond with 2013 (pre‐Intervention) and 1 for screening done. This will be column C cells Go to the Add‐Ins tab 3. Click “SPC Macros” 4. Select p‐chart 5. The highlighted material will appear in the first box in the “p Chart” pop-up window 6. Click into the 2 nd box and highlight column D ‘Grand Total’ cells 6‐17 for the sample size 7. Skip to the bottom where you will enter a significance level (.01) 8. Select "OK" at the bottom of the p Chart window and a new P‐Chart Table will appear under the tab titled “p Chart Table 1” 30 Excel 2010 1

Additional Steps for file5 – Breast Cancer Screening.xlsx **Return to the worksheet with the pivot table** Repeat the steps from the previous slide (slide 30) for creating a p‐chart, but using only 2014 data (Post‐Intervention), this will be rows 19 ‐ 24. Use the same significance level that you used from the 2013 data (.01). This will create another, smaller P Chart Table under the “p Chart Table 2” tab. 31 Excel 2010 1

Additional Steps for file5 – Breast Cancer Screening.xlsx 1. Highlight the data from the 2014 P Chart Table (excluding headers). 2. Right-click highlighted data and copy. 3. Go to 2013 P Chart Table, under “p Chart Table 1” tab. 4. Paste the 2014 data under the 2013 data. 5. Change group numbers to actual month and year values. (ex. Jan-13, Apr-14, etc.) ** If you are having trouble with excels autocorrect feature, highlight all “Group #” cells, right-click and select “Format Cells”. Under the “Number” tab, in the “Category” menu, select “Text” and press ok. This will allow you to enter text, without autocorrect, on the highlighted cells. Excel 55

Additional Steps for file5 – Breast Cancer Screening.xlsx Finally, create an SPC chart as you did in previous steps (slides ). To include group numbers on the horizontal axis: Cut and Paste the “np-hat” and “n” values (columns B & C) out of the space in between “Group #” and “p-hat”. Move these to a Cut and Paste the rest of the values (columns D-G) next to “Group #” Highlight “Group #” through “UCL” (now columns A-E) and use these values to create your control chart Once you have completed the control chart, You will see the change from Pre to Post Intervention highlighted with different averages and control limits. Excel

Additional Steps for file5 – Breast Cancer Screening.xlsx Excel *Hint: To change how you view the values on the axis: Right-click the axis of interest and select “Format Axis”. Customize in “Axis Options” Section. To change decimal places viewed, go to “Number” (under “Axis Options” tab). Before After

Embed Macro into Excel (optional) If you wish to use the macro again at a later time, you will have to repeat the steps on slide 6 each time Excel is opened. If you would like to embed the macro in Excel so it loads automatically each time Excel is opened, follow the steps on slides Click the “File” tab 2. Select “Options” Excel 2010

Embed Macro into Excel (cont’d) 3. Select the “Add-Ins” tab 4. Press the “Go” button at the bottom of the Add-Ins screen Excel 2010

5. Press the “Browse” button 6. Locate where you have saved the macro, select it, and press "OK" 7. Make sure the SPC Macros AddIn rev xlam box is checked, and press “OK” Embed Macro into Excel (cont’d) Excel 2010

Create Histograms, Control Charts and Distribution Using Your “Own” QI Project Data 1.Determine what data element(s) you will need in order to show any changes to the process you are focusing on 2.Create a dataset or work with someone at your organization that can help you access data for your QI project 3.Create histograms from data sets 4.Write brief statement on graph about data “findings” Excel