Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 7th Ed. Chapter 1: The Where, Why and How of Data Collection By Groebner, Shannon, Fry, & Smith Prentice-Hall Publishing Company Copyright, 2008
Chapter 1 Excel Examples Random Numbers - Nordstrom’s Payroll Random Numbers - Nordstrom’s Payroll Random Numbers Random Numbers
Random Numbers - Nordstrom’s Payroll Issue: Nordstrom’s wishes to survey ten of their 300 employees. Employees are numbered 1 to 300. Objective: Use Excel 2007 or 2010 to generate 10 random numbers between 1 and 300. Values must be integer numbers corresponding to employee numbers
Random Numbers – Nordstrom’s Payroll On the Data tab, select Data Analysis Select Random Number Generation
Random Numbers – Nordstrom’s Payroll Distribution = Uniform Parameters between 1 and 300 Output Range = A1:A10
Random Numbers – Nordstrom’s Payroll Resulting 10 random numbers Using the Excel Facilities, convert these numbers to Integers Resulting list of 10 random numbers. Now to convert them to integers.
Random Numbers – Nordstrom’s Payroll Select the Home tab Highlight (select) the numbers to be converted to integers These Icons (Note the red circle) can be used to control the number of digits to the right of the decimal point. Each click will move the decimal point in one direction. Use the left icon to convert the column to integers
Random Numbers – Nordstrom’s Payroll Resulting in 10 random integers
Random Numbers – Nordstrom’s Payroll Random numbers using random number function: “=rand()” Inconvenient (decimal)