This QA-Training-Tool module was inspired by a "Quality Entertainment" suggestion from Herman Senter that was published in the "One Good Idea" column of QUALITY PROGRESS, December 1990, p.160. Senter's idea was to sponsor a "sampling tournament" (with a valuable prizes for the "winners") at your company's annual Quality-Day celebration. The GuessIt.EXE software module would "automate" all phases of the actual running of this tournament. On the other hand, but it would certainly be important to also provide hands-on demonstrations of the use of, say, sampling bowls with colored beads, sampling paddles, etc., etc. Here is the GuessIt.EXE main HELP screen: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ GuessIt HELP ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»³ ³º Welcome to the GUESSIT Tournament... º³ ³º º³ ³º The object of the game is to make your best guess at the º³ ³º underlying defect rate in a batch of 10,000 items. º³ ³º º³ ³º Before you make you guess, you may take a RANDOM SAMPLE of at º³ ³º most 500 items [without replacement] from the batch of 10,000. º³ ³º The GuessIt software will draw your sample and tell you how º³ ³º many defective items it found. All sampled items, including º³ ³º the defectives, are then returned to the batch. º³ ³º º³ ³º Next, GuessIt will show you what the observed fraction defective º³ ³º was in the last five samples it took and what the average º³ ³º fraction defective was over those five samples. º³ ³º º³ ³º Then you make your best guess at the underlying true defect rate,º³ ³º using a number with 4 decimal places. For example, a guess of º³ ³º 0.0103 would mean that you think that there are 103 defective º³ ³º items in the batch of 10,000 ...i.e. about 1 percent defective. º³ ³ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ GuessIt.EXE, ver.9210.....................................Page 2 By the way, a secondary objective of the GuessIt.EXE simulation is to illustrate how DIFFICULT it actually is to estimate the 3rd and 4th decimal places in a nonconformance fraction using only random sampling (rather that a complete census/count.) Here is the opening screen from GuessIt.EXE... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ³ GUESSIT.EXE...Version 9210 ³ ³ ³ ³ *** Guess the Underlying "Defect Rate" via Sampling *** ³ ³ ³ ³ A Quality Assurance Training Tool: ³ ³ Statistics Committee of the QA Section of the PMA ³ ³ Bob Obenchain, CompuServe User [72007,467] ³ ³ ³ ³ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³ º Press a key to SETUP the GAME... º ³ ³ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ In response to each GuessIt prompt, the user may select the displayed [default] value by simply pressing the ENTER key... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ³ At colon Prompts : ...simply press ENTER to get the [default]. ³ ³ ³ ³ Specify filename to save Output [GUESSIT.out] : <--Note default ³ ³ name in []'s.³ ³ The GuessIt Output file is to be: GUESSIT.out ³ ³ ³ ³ Specify a "Declare-the-Winner" PASSWORD... ³ ³ [ Maximum of 8 characters. ] ³ ³ ³ ³ PASSWORD : 1234 <-- The tournament organizer must enter ³ ³ his/her "secret" PASSWORD here. ³ ³ ³ ³ GuessIt PASSWORD is now set to >> 1234<< <--Echo of ENTERED ³ ³ PASSWORD ³ ³ Of the 10,000 items in the population, how many are ³ ³ defective ? (min=1;max=501) [113] : 321 ³ ³ ³ ³ Defects in Population = 321. ³ ³ ³ ³ Input Simulation Start-up Seed ( 0 means use your Clock ): 0 ³ ³ ³ ³ Equivalent Start-Up Seed = -26883. ³ ³ ³ ³ Press Q to QUIT now...Other Key to Continue... ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ GuessIt.EXE, ver.9210.....................................Page 3 NOTE: The player who comes closest to the cumulative average of all random samples taken during the tournament will be declared the winner. In other words, the theoretically "best" guess in the above case would be fraction defective = 0.0321. But that guess will not necessarly be the winner due to the stochastic nature of the sampling simulation! Individual players in the GuessIt.EXE tournament have access to items "G" and "H" on the Main Menu. Only tournament organizer(s) who know the current password can use items "V" and "W" to display the current tournament leader(s), summary statistics, and VGA graphics displays... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³ º Main Menu º ³ ³ º G = Guess the "Defect Rate" º ³ ³ º H = display HELP screen º ³ ³ º V = View Cumulative Results º ³ ³ º W = determine the WINNER º ³ ³ º choice --> G º ³ ³ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Sample Selection ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³º º ³ ³º Welcome to the GUESSIT Tournament... º ³ ³º º ³ ³º You are Player Number: 5 º ³ ³º º ³ ³º Please respond to the following prompts for Information. º ³ ³º º ³ ³º What is your NAME ? : Bob Obenchain º ³ ³º º ³ ³º OK, Bob Obenchain... º ³ ³º Before you make you guess at the underlying defect rate, º ³ ³º you may take a Random Sample of at most 500 items without º ³ ³º replacement from the Population of 10,000 items. º ³ ³º º ³ ³º What will be the SIZE of your Random Sample ? [500] : <---Take ³ ³º Now selecting your sample of size 500... Default ³º º ³ ³º A total of 13 defects were found in your sample. º ³ ³º º ³ ³º Press a key to Continue... º ³ ³ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ GuessIt.EXE, ver.9210.....................................Page 4 NOTE: The default name assigned to a player, if he/she simply presses the enter key without first entering his/her name, is "Player Number NNN, where NNN is a number between 5 and 500. The first four player numbers are used by GuessIt.EXE to randomly start up the game; in this way, the first actual player (number 5) sees the same MAXIMUM amount of sampling history (5 samples of 500) available to subsequent players. NOTE: Some players may decide to collect less than the maximum sample size of 500 and, thus, less than the maximum amount of "new" information about the true fraction defective. This handicaps not only them but also the four players who immediately follow them. This is the case because GuessIt.EXE shows each player only the results from the 5 most recent samples (plus the average over these 5 samples, weighted by sample size)... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Sample Selection ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³º ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ GuessIt NOW!!! ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»³ ³º º º³ ³º º Results from the 5 most recent samples were as follows... º³ ³º º º³ ³º º Observed º³ ³º º Defect Sample º³ ³º º Player Name: Rate Size º³ ³º º Start-Up... 0.0240 500 º³ ³º º Start-Up... 0.0220 500 º³ ³º º Start-Up... 0.0260 500 º³ ³º º Start-Up... 0.0280 500 º³ ³º º Bob Obenchain 0.0260 500 º³ ³º º º³ ³º º The AVERAGE of these FIVE defect rates = 0.0252 º³ ³º º º³ ³º º HINT: The underlying true defect rate is less than 0.1000. º³ ³º º º³ ³º º Make your best guess at the underlying true defect rate as a º³ ³º º number with 4 decimal places... >0.1234< º³ ³º º What is your BEST GUESS ? [0.0252] : <---Default is º³ ³º º the AVERAGE!º³ ³º º Your entry, rounded to four decimal places, is 0.0252. º³ ³º º º³ ³Èͺ Is this your BEST GUESS ? [Y|n] : <--Default here is YES. º³ ³ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ GuessIt.EXE, ver.9210.....................................Page 5 NOTE: GuessIt.EXE assures that each contestant's guess is UNIQUE! If the value entered has previously been selected by another player, GuessIt will display messages such as... "Sorry, another player has already chosen 0.0252." And either "The closest SMALLER guess available is 0.0251." or "No SMALLER guess values are available." Plus either "The closest LARGER guess available is 0.0255." or "No LARGER guess values are available." The player must continue to enter guesses until he/she makes a unigue choice and CONFIRMS that he/she wants to use that guess. Item "V" on the main menu can be used by anybody who knows the current PASSWORD to display how the game is progressing. The graph that is displayed doesn't have labelled tick marks on its axes, so it's "okay" for contestants to see this sort of "relative" trends plot (after they have made their guess.) There is really very little information here that they could communicate to players who have not yet made their guess... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³ º Main Menu º ³ ³ º G = Guess the "Defect Rate" º ³ ³ º H = display HELP screen º ³ ³ º V = View Cumulative Results º ³ ³ º W = determine the WINNER º ³ ³ º choice --> V º ³ ³ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Display Cummulative Results ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º º º Enter the PASSWORD : 1234 <---Entered PASSWORD will NOT actually º º show on the screen as it does here.º º º º The VGA graphics screen will show how the cumulative º º average fraction defective stablizes as sampling progresses. º º The horizontal RED line marks the underlying true fraction º º defective within the total batch of 10,000 items. º º º º Press a Key to initiate Graphics... º º º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ GuessIt.EXE, ver.9210.....................................Page 6 Item "W" on the main menu can also be used by anybody who knows the current PASSWORD, but this item "ends" the GuessIt.EXE tournament and determines the final "winner." The graph that is displayed again doesn't have labelled tick marks on its axes, but this time player guesses are also plotted and the theoretical "true" rate is revealed... ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GuessIt Sampling Game ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ³ º Main Menu º ³ ³ º G = Guess the "Defect Rate" º ³ ³ º H = display HELP screen º ³ ³ º V = View Cumulative Results º ³ ³ º W = determine the WINNER º ³ ³ º choice --> W º ³ ³ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ And the WINNER is... ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º º º Enter the PASSWORD : 1234 <---Entered PASSWORD will NOT actually º º show on the screen as it does here.º º PASSWORD matches! º º º º At this point in the GuessIt Tournament, the minimum º º absolute deviation between the current cumulative defect º º rate and player guesses is 0.0000. º º º º Right now, the Tournament Leader is Bob Obenchain. º º NOT the º º Is the GuessIt Tournament now COMPLETE ? [N|y] : y <---DEFAULT º º Response º º The Tournament Winner is Bob Obenchain. º º º º ...His/Her Best Guess was 0.025200. º º º º The VGA graphics screen will show the cumulative defect rate º º in White, the individual defect rates in CYAN, and player º º guesses in GREEN. The horizontal RED line is the theoretical º º true fraction defective of 0.0321. º º º º Press a Key to initiate Graphics... º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ NOTE: Once the "current" tournament leader is revealed, the tournament organizer still has the option of using the default response of NO to continue rather than end the tournament. After all, neither that leading player's guess or the current cumulative average have yet been displayed on the screen. Even though the current leader's deviation from the current cumulative average may be 0.0000 at this point, a different player could still end up winning at a later point in the tournament! GuessIt.EXE, ver.9210.....................................Page 7 NOTE: Two players could also tie, of course. Suppose the cumulative average defect rate ends up at, say, 0.0383 and the two closest guesses bracket this value at, say, 0.0379 and 0.0387. Then both guesses are off by exactly 0.0004, and those two players would then tie. Once a winner has been declared, Guessit.EXE terminates with the messages... ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ And the WINNER is... ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º Press a Key to EXIT the GuessIt software system. º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ REMINDER(S) : GUESSIT created an output file named: GUESSIT.out Use the DOS invocation... TYPE GUESSIT.out | MORE to review detailed information about this run of the GUESSIT game. The GuessIt.EXE output file will contain a wealth of information about how the tournament actually progressed... GuessIt.EXE, ver.9210.....................................Page 8 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ GuessIt Sampling Tournament... ³ ³ Date/Time Stamp : Sat Oct 10 22:17:10 1992 ³ ³ ³ ³ PASSWORD set to >>87654321<< ³ ³ Total Number of Defects = 501 ³ ³ Random Number Seed = -18218 ³ ³ ³ ³ At Turn Number NNN, the Cumulative Defect Rate was 0.0488. ³ ³ The Tournament Leader at that point was Player Number 10 ³ ³ whose Guess was 0.0488. ³ ³ The Tornament ENDED at this point. ³ ³ ³ ³ Elapsed Tournament Time in Seconds = XXX ³ ³ Total Number of Players = NNN ³ ³ Observed Cumulative ³ ³ Defect Defect Best ³ ³ Player Name: Rate Rate Guess ³ ³ Start-Up... 0.0480 0.0480 -0.0999 ³ ³ Start-Up... 0.0560 0.0520 -0.0999 ³ ³ Start-Up... 0.0400 0.0480 -0.0999 ³ ³ Start-Up... 0.0440 0.0470 -0.0999 ³ ³ Player Number 5 0.0380 0.0452 0.0452 ³ ³ Player Number 6 0.0620 0.0480 0.0480 ³ ³ Player Number 7 0.0440 0.0474 0.0456 ³ ³ Player Number 8 0.0420 0.0468 0.0460 ³ ³ Player Number 9 0.0380 0.0458 0.0448 ³ ³ Player Number 10 0.0580 0.0470 0.0488 ³ ³ Player Number 11 0.0440 0.0467 0.0451 ³ ³ Player Number 12 0.0420 0.0463 0.0447 ³ ³ Player Number 13 0.0560 0.0471 0.0476 ³ ³ Player Number 14 0.0600 0.0480 0.0520 ³ ³ Player Number 15 0.0460 0.0479 0.0496 ³ ³ etc., etc. ³ ³ Player Number NNN 0.0620 0.0488 0.0478 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ