@options escape:thatsall @mouse .screen 0 .color 15,3 .cls c=177 .color 15,1 .border (*1,1

---
Master Index Current Directory Index Go to SkepticTank Go to Human Rights activist Keith Henson Go to Scientology cult

Skeptic Tank!

@options escape:thatsall @mouse .screen 0 .color 15,3 .cls c=177 .color 15,1 .border (*1,1,25,80*) double .box (*10,17*) border shadow center Welcome! To the KWIKSTAT Tutorial! 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 To end the demo, press the Esc key. 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 Press Enter to move to next screen. .endbox .locate 22,1 .center(*This program was produced using TexaSoft's PC-CAI program.*) .locate 23,1 .center(*(c)Copyright TexaSoft, 1984-1994.*) .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .rem @goto:skipprint .screen 0 @MONITOR(*9:BEGIN*) .rem check monitor, if okay, go to begin. If not display message .cls c=177 .color 15,1 .box (*10,2*) border center Special Note This program requires that you have a EGA or VGA compatible monitor. If you are not using a compatible monitor, press the ESC key at this time. Otherwise, press ENTER to begin the tutorial. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) @label:begin .screen 0 .color 15,3 .cls c=177 .color 15,1 .locate 2,1 .center(*Let's see how to CREATE A BAR CHART.*) .box (*4,1*) border center EXAMPLE 1: Suppose you created three electromagnets made of three different kinds of wire -- Small, Medium and Large gauge. You tested each magnet to see how many nails it would pick up. You want a BAR CHART to show your results. YOUR DATA IS... 컴컴컴컴컴컴컴컴컴컴 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 MAGNET NAILS 123 steps to CREATE a BAR CHART: 컴컴컴컴컴 컴컴컴컴 컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 SMALL 31 1. Create a NEW database MEDIUM 38 2. Enter the data LARGE 51 3. Select the graph to display 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 Let's see how it's done... .endbox .color 11,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .screen 0 .color 15,3 .cls c=177 .color 15,1 .box (*2,28*) border shadow Creating a Graph is as simple as 1-2-3! .endbox .color 15,5 .play (*MFO1C4*) .box (*8,10*) border shadow 1. Create a NEW database .end box .color 15,2 .play (*o1E4*) .box (*13,25*) border shadow 2. Enter the data into the database .end box .color 15,4 .play (*o1F4*) .box (*18,40*) border shadow 3. Select the graph to display .end box .color 15,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .color 15,1 .cls .screen 9 .pcx kstut1 1,1 .box (*5,37*) border shadow This is the MAIN MENU screen. The File "pull-down" menu is extended. .endbox .wait 2 .box (*12,37*) border shadow HINT: To choose a menu, use the right- or left-arrow keys, or point to a menu name with your mouse pointer and click. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut1 1,1 .box (*12,45*) border shadow STEP 1: Choose New Database. (Or, choose Open a Database, if you already have your data in a database.) .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut2.pcx 1,1 .box (*16,25*) border shadow When you choose New Database, you are asked to enter the name for your new database. Enter a name, like "MAGNETS", of up to 8 characters. (No blanks in the name.) .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut3.pcx 1,1 .box (*12,42*) border shadow Choose the database type from a list of pre-defined databases, or you can create a custom database. To create a BAR CHART, choose the SIMPLE BAR CHART Option. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut5.pcx 1,1 .box (*12,25*) border shadow STEP 2: ENTER DATA - This is where you enter your results of your experiment -- the data entry screen. Enter the data for the first magnet as record 1. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .box (*12,25*) border shadow Your first Label is SMALL (small wire) Your first Value is 31 (number of nails) Type SMALL (press Enter), type 31 (Press Enter), then... .endbox .locate 4,10 (.CHR024) .locate 5,10 .locate 6,10 .locate 7,10 .locate 8,10 Label = Small = The type of magnet .locate 4,19 (.CHR024) .locate 5,19 .locate 6,19 Value = 31 = The number of nails picked up .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut6.pcx 1,1 .box (*12,25*) border shadow Enter records 2 and 3 -- representing the three sizes of magnets and number of nails picked up. Press F7 (Exit) to end entry.... .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut9.pcx 1,1 .box (*16,11*) border shadow STEP 3: CHOOSE WHAT GRAPH TO USE... The Graph menu is displayed. For this analysis, choose to display a Bar Graph. .endbox .wait 1 .box (*20,40*) border shadow This is the resulting graph... .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .screen 9 .cls .PCX kstut11.PCX 1,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .screen 9 .cls .PCX kstut12.PCX 1,1 .locate 3,5 (.CHR024) .locate 4,5 .locate 5,5 .locate 6,5 .locate 7,5 .locate 8,5 읕컴컴컴컴컴컴컴컴컴 .box (*7,25*) border shadow NOTE: Using the menu at the top of the screen, you can change colors, patterns, titles, etc. for each graph. These graphs are in EGA mode. If you use VGA mode, you will have more color choices. Following are some more graph examples... .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .PCX kstut13.PCX 1,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .PCX kstut14.PCX 1,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .PCX kstut15.PCX 1,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .screen 9 .color 15,4 .cls .cen(*R E M E M B E R*) .cen(*Creating a Graph is as*) .cen(*simple as 1-2-3!*) .line (1,90)-(635,90) .line (1,90)-(1,320) .line (1,320)-(635,320) .line (635,90)-(635,320) .line (1,320)-(320,90) .line (320,90)-(635,320) .paint center=(2,99) color=2 bound=15 .paint center=(450,99) color=3 bound=15 .paint center=(200,300) color=1 bound=15 .locate 10,10 1. Create a .locate 11,10 new database. .locate 10,58 2. Enter the .locate 11,58 data. .locate 14,35 3. Select .locate 16,33 the graph type .locate 18,31 you want to create. .locate 25,58 .pause (*Continue=Enter Stop=Esc*) @LABEL:ENDING .screen 0 .color 15,3 .cls c=177 .color 15,1 .box (*2,2*) border shadow center KWIKSTAT allows you to create these kinds of graphs: o Bar Chart, Pie Chart, Line Chart, Area Chart o Histogram, Box and Whiskers, Normal Curve o Cumulative Distribution, Stem and Leaf Plot o X-Y Scatterplot, up to 10 groups o Time Series Plot, up to 10 overlayed o By Group Plots, and more To make data entry easy, KWIKSTAT creates and reads data in the standard dBASE format. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) @label:test .color 15,3 .cls c=177 .color 15,1 .play (*o1a16*) .box (*8,5*) border shadow center Do you want to print out a one page summary of how to perform the bar chart example? (Make sure your printer is on-line and has paper.) .endbox .color 15,1 @begin .locate 20,28 @read (*Please answer Y or N:*) @right (*Y*) keyword @END QUESTION @if wrong then :skipprint .color 15,3 .cls c=177 .color 15,1 .box (*5,5*) border shadow center Printing in progress... After the tutorial summary finishes printing -- Go over the tutorial step by step and create the barchart described in this tutorial. Create this sample bar chart BEFORE entering your own data. This will help you understand better how to use the program for creating charts for your own data. .end box .locate 22,10 @shell(*if exist KStutor.tut copy KStutor.tut prn*) .locate 25,58 .pause (*Continue=Enter Stop=Esc*) @label:skipprint .screen 0 .color 15,3 .cls c=177 .color 15,1 .locate 2,1 .center(*Let's see how to Compare Two Independent Groups.*) .box (*4,1*) border center EXAMPLE 2: Suppose you are comparing two fertilizers. You randomly assign 13 plants to fertilizer 1 or 2. You want to know if there is a difference in the mean heights of plants for the two groups. The test you will use will be an independent group t-test. Fert. 1 Fert. 2 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 46.2 51.3 123 steps to do this t-test: 55.6 52.4 컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 53.3 54.6 1. Create a NEW database 44.8 52.2 2. Enter the data 55.4 64.3 3. Select the analysis to perform. 56.0 55.0 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 48.9 Let's see how it's done... .endbox .color 11,1 .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .color 15,1 .cls .screen 9 .pcx kstut1 1,1 .box (*5,37*) border shadow This is the MAIN MENU screen. The File "pull-down" menu is extended. .endbox .box (*12,37*) border shadow HINT: To choose a menu, use the right- or left-arrow keys, or point to a menu name with your mouse pointer and click. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut1 1,1 .box (*12,45*) border shadow STEP 1: Choose New Database. (Or, choose Open a Database, if you already have your data in a database.) .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut2a.pcx 1,1 .box (*16,25*) border shadow When you choose New Database, you are asked to enter the name for your new database. For this example, enter "PLANTS", or any name up to 8 characters. (No blanks.) .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut3a.pcx 1,1 .box (*3,42*) border shadow Choose the database type from a list of pre-defined databases, or you can create a custom database. To perform an independent group t-test, choose the Independent Group t-test option. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut4a.pcx 1,1 .box (*5,30*) border shadow STEP 2: ENTER DATA - This is where you enter your results of your experiment -- the data entry screen. Enter the data as shown here. Notice that the GROUP field contains a code specifying a group identifier for each plant (observation). The OBS field contains the height of each plant. Select F7/Exit when you have finished entering all of the data. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut5a.pcx 1,1 .box (*14,11*) border shadow STEP 3: SELECT THE ANALYSIS TYPE From the ANALYZE menu, choose the analysis module for the type of analysis you want to perform. In this case, choose the "t-tests..." option. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut6a.pcx 1,1 .box (*14,30*) border shadow The T-test... module menu appears. From this menu, choose the analysis you want to perform. In this case, choose the option "Compare independent groups (t-test...)" .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut7a.pcx 1,1 .box (*14,20*) border shadow You will be prompted to select a "Grouping" variable and a "Data" variable. In this case GROUP is the Grouping variable and OBS is the data variable. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut7ab.pcx 1,1 .box (*3,40*) border shadow Once you choose the variables to use, the analysis will be performed, and you can choose to view the calculated results or display a graphical comparison. .endbox .locate 25,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut8a.pcx 1,1 .box (*4,39*) border shadow The calculated results are displayed in the KWIKSTAT viewer. In the viewer you can press F10/Outpt to print the results, or press F7/Exit to exit. .endbox .locate 24,58 .pause (*Continue=Enter Stop=Esc*) .cls .pcx kstut9a.pcx 1,1 .box (*11,34*) border The graphical comparison shows differences in the groups using the mean +/- one standard error of the mean (SEM). Choose for other comparison types. .endbox .locate 24,58 .pause (*Continue=Enter Stop=Esc*) .rem ..........finish up the tutorial .color 15,3 .cls c=177 .color 15,1 .box (*10,5*) border shadow center Run through the tutorial again? This is the end of the tutorial, you have two choices: 1. Answer Y (Yes) to go through the tutorial again 2. Answer N (No) to end the tutorial .endbox @begin .locate 22,10 @read (*Please answer Y or N:*) @right (*Y*) keyword @WRONG @END QUESTION @if wrong then :thatsall @goback:begin @label:thatsall .screen 0 .cls @stop system

---

E-Mail Fredric L. Rice / The Skeptic Tank