home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / diamdemo.zip / tutorial.doc < prev   
Text File  |  1993-12-08  |  37KB  |  1,018 lines

  1.  
  2. DEMO TUTORIAL
  3.  
  4. This tutorial leads you through a simple exploration of sample
  5. data, using some of the features of BMDP/DIAMOND. It is assumed
  6. that you know how to use a mouse with window applications. You
  7. should read this while actually working with BMDP/DIAMOND at a
  8. workstation or computer. The tutorial will take approximately
  9. thirty minutes to complete.
  10.  
  11. In this tutorial you will learn how to:
  12.  
  13. *    open a dataset
  14. *    view the Directory window
  15. *    get HELP
  16. *    open Pair-Wise windows
  17. *    color subsets of data points
  18. *    show best-fit straight lines
  19. *    exit BMDP/DIAMOND
  20. *    obtain univariate statistics
  21. *    display bivariate statistics
  22. *    transform variables
  23. *    manipulate graphic representations of data
  24. *    re-invoke BMDP/DIAMOND on a subset of data
  25. *    examine the raw data
  26. *    open various windows in BMDP/DIAMOND
  27. *    learn and use Ice
  28.  
  29. Before Getting Started
  30.  
  31. BMDP/DIAMOND has been designed to allow you to quickly and easily
  32. explore and visualize your data. The interface is intuitive and
  33. very flexible. You execute tasks in BMDP/DIAMOND with a combination
  34. of mouse clicks and keystrokes.
  35.  
  36. Positioning the Cursor
  37.  
  38. The first step in telling BMDP/DIAMOND what you want it to do is to
  39. position the cursor. The cursor location within a window tells the
  40. program which elements of the display are to be affected.
  41.  
  42. You can position the cursor within the following areas:
  43.  
  44. *    In the "black space" of the window, the area outside of any
  45.      plots or numbers in that window 
  46. *    Over text in a window
  47. *    Over numbers in a window
  48. *    Over a histogram to operate on one variable
  49. *    Over a scatterplot to operate on two variables
  50. *    Within a plot to manipulate a color region
  51.  
  52. After you position the cursor, you must press a key or use a mouse
  53. click to tell the program to carry out the command. You can find a
  54. summary of the keystrokes and what they do in the HELP shortcut
  55. keys reference window.
  56.  
  57. You can open the HELP Shortcut Keys Reference window at any time by
  58. positioning the cursor in the black space of almost any window and
  59. pressing the question mark ? key.
  60.  
  61. You can also operate BMDP/DIAMOND through menus, which are
  62. available in the HELP system.
  63.  
  64. With a little practice, positioning the cursor in the proper
  65. location will become automatic. But if at first the program seems
  66. to do something unexpected, check to see where you have the cursor
  67. positioned.
  68.  
  69. In the following examples we will always tell you where to position
  70. the cursor. By the time you work through all of the examples in
  71. this section, the operation of BMDP/DIAMOND will seem perfectly
  72. natural to you.
  73.  
  74. Starting BMDP/DIAMOND
  75.  
  76. NOTE: Ensure that the subdirectory where you installed BMDP/DIAMOND
  77. is in your path.
  78.  
  79. 1.   From your current BMDP/DIAMOND working directory type the
  80. command:
  81.  
  82.      bmdpdiam 
  83.  
  84. 2.   Press Enter.
  85.  
  86. NOTE: You can also double click on the bmdpdiam icon in the file
  87. manager.
  88.  
  89. The system displays the BMDP/DIAMOND Logo window.
  90.  
  91. 3.   Click on OK in the upper left hand corner.
  92.  
  93. The system displays the BMDP/DIAMOND Startup window.
  94.  
  95. 4.    Click on econ from the list of sample dataset names to choose
  96. a dataset.                           
  97.  
  98. The econ data shows 98 quarters from 1967 to 1991 and includes the
  99. value of 12 economic variables for each quarter.
  100.  
  101. The system displays the Directory window for the dataset econ.
  102.  
  103. NOTE: If you have trouble starting BMDP/DIAMOND, refer to the
  104. installation procedures.
  105.  
  106. THE DIRECTORY WINDOW
  107.  
  108. The Directory window is a concise, global, pictorial view of all
  109. the displayed variables. You can access all other windows from the
  110. Directory window. The elements of the Directory window are shown in
  111. the following figure.
  112.  
  113. Histograms and cumulative histograms for each variable appear in
  114. the columns along the left. The mirror image of each histogram and
  115. cumulative histogram appears in rows along the bottom of the
  116. Directory window. Variable names are displayed to the right of the
  117. histogram columns, and above the histogram rows. Scatterplots of
  118. all pair-wise combinations of variables appear in a matrix to the
  119. right of the histogram columns.
  120.  
  121. ON-LINE HELP
  122.  
  123. Context-sensitive on-line HELP is available to provide
  124. descriptions, explanations, and menu alternatives for performing
  125. all operations.
  126.  
  127. To access HELP:
  128.  
  129. 1.   Click on HELP located in the upper left hand corner of the
  130. Directory window.
  131.  
  132. The system displays the BMDP/DIAMOND Help window.
  133.  
  134. 2.   Click on the Describe BMDP/DIAMOND option at the top of the
  135. menu.
  136.  
  137. The system displays the Describe BMDP/DIAMOND Help window.
  138.  
  139. NOTE:     HELP contains nested windows. Pressing Esc within any
  140. HELP window will close the window and all its descendants.
  141.  
  142. 3.   Place the cursor within the Describe BMDP/DIAMOND window, and
  143. press the Esc key to close the window.
  144.  
  145. To access short cut keys:
  146.  
  147. The HELP facility also provides a list and explanation of shortcut
  148. keys.
  149.  
  150. 1.   Click on Open the Shortcut Keys Reference window option in the
  151. Using the Main Directory window.
  152.  
  153. he system displays the Shortcut Keys Reference window.
  154.  
  155. The Quick Reference Card contained in your BMDP/DIAMOND Demo
  156. package provides all of the information in this window, as well as
  157. other useful information. Both the Shortcut window and the card
  158. will be valuable tools to aid you in becoming familiar with
  159. BMDP/DIAMOND.
  160.  
  161. 2.   Place the cursor over the window and press Esc to close the
  162. Shortcut Keys Reference window.
  163.  
  164. You can access Help from most windows in BMDP/DIAMOND.
  165.  
  166. WORKING WITH WINDOWS
  167.  
  168. Working with BMDP/DIAMOND windows is similar to working with other
  169. windows  applications you may be using with your operating system.
  170. You can maximize, enlarge, or move windows in BMDP/DIAMOND. (See
  171. your operating system documentation for details on working with
  172. windows.)
  173.  
  174. PAIR-WISE WINDOW
  175.  
  176. You can use the Pair-Wise window to display a more detailed view of
  177. the relationship between any pair of variables.
  178.  
  179. To access the Pair-Wise window for DJI/Year:
  180.  
  181. 1.   Place the cursor on the DJI/Year scatterplot (where DJI on the
  182. left column intersects with Year on the bottom), and press the
  183. Enter key.
  184.  
  185. The system displays the Pair-Wise window. 
  186.  
  187. The Pair-Wise window contains a view of the histograms, cumulative
  188. histograms, and the scatterplot for the pair of variables that you
  189. selected.
  190.  
  191. 2.   Place the cursor on the title bar of the Pair-Wise window and
  192. hold down the left button.
  193.  
  194. 3.   Drag the window to the upper right-hand corner of the screen
  195. so that you can still see most of the Directory window and release
  196. the mouse button.
  197.  
  198. 4.   Move the cursor into the Directory window.
  199.  
  200. Notice that when you move the cursor from the Pair-Wise window to
  201. the Directory window, the title bar automatically changes color.
  202. This indicates that the window is active and, although not in
  203. front, is ready to accept your input.
  204.  
  205. When you want more information on this window, click on HELP from
  206. the Pair-Wise window.
  207.  
  208. COLORING SUBSETS OF DATA
  209.  
  210. You can color code data points in many different ways in
  211. BMDP/DIAMOND. For example, you can set a rainbow of colors to cover
  212. all or part of the range of a variable. BMDP/DIAMOND also permits
  213. you to assign specific colors to subsets of your data. You can
  214. independently assign red, blue, and green to the data points of
  215. your choice. Red, blue, and green combine to make yellow, cyan,
  216. magenta, and white.
  217.  
  218. Applying a Large Rainbow of Colors
  219.  
  220. 1.   In the Directory window, place the cursor over the top left
  221. histogram for the variable Term, and press the exclamation point !
  222. key.
  223.  
  224. The system displays a rainbow of colors covering a large range of
  225. the selected variable. Notice that all of the histograms and
  226. scatterplots reflect the color coding.
  227.  
  228. 2.   To remove all of the colors, move the cursor within the black
  229. space of the Directory window, and press the Home key.
  230.  
  231. NOTE: You can also remove the colors by positioning the cursor
  232. within the plot where you set the colors and pressing the Home key.
  233.  
  234. Applying a Small Rainbow of Colors.
  235.  
  236. 1.   Position the cursor within the center of the Year histogram in
  237. the DJI/Year Pair-Wise window, and press the asterisk * key.
  238.  
  239. The system displays a rainbow covering a small range of the
  240. selected variable.
  241.  
  242. 2.   Press the Home key within any one of the plots in the Pair-
  243. Wise window to remove the colors.
  244.  
  245. Applying Specific Colors to Subsets of your Data
  246.  
  247. You can use the first letter of the name of the color to mark your
  248. data. This option is handy for identifying outliers or other points
  249. of interest. You can select specific points or blocks of data in
  250. the scatterplots directly, or you can select blocks of data using
  251. the histograms.
  252.  
  253. To set the lower boundary for a color block:
  254.  
  255. To color the years when the Dow Jones Industrial average was low
  256. (before the sharp rise around 1980), start by setting the lower
  257. boundary
  258.  
  259. 1.   In the DJI/Year Pair-Wise window, place the cursor inside of
  260. the Year histogram near the left edge, and press the r (lower case)
  261. key.
  262.  
  263. This action sets the lower boundary.
  264.  
  265. Selecting the lower case letter of the color sets the lower
  266. boundary. All cases above the year selected by your cursor are now
  267. colored red in every histogram and scatterplot. The upper boundary
  268. defaults to the greatest value of the variable.
  269.  
  270. To set the upper boundary for a color block:
  271.  
  272. 1.   In the DJI/Year Pair-Wise window, place the cursor inside the
  273. Year histogram at its midpoint, and press the R (upper case) key.
  274.  
  275. This action sets the upper boundary.
  276.  
  277. The red coloring is now restricted to cases in the years prior to
  278. the steep rise in the stock market around 1980.
  279.  
  280. Using the mouse to adjust the boundaries:
  281.  
  282. You can also use the mouse to adjust the lower and upper
  283. boundaries. 
  284.  
  285. 1.   In the DJI/Year Pair-Wise window, place the cursor inside the
  286. red area near the left edge of the Year histogram and hold down the
  287. left button.
  288.  
  289. 2.   Drag the mouse to the edge (or beyond) of the left side of the
  290. histogram and release the button.
  291.  
  292. The system extends the red area to the left edge of the histogram. 
  293.  
  294. NOTE: Changes in color assignment in the histogram are reflected in
  295. all plots in all open windows.
  296.  
  297. Using colors to select subsets of your data is a valuable utility
  298. in BMDP/DIAMOND. You have many other options available in color
  299. selection. To learn more about your color selection options,
  300. consult the documentation or click on HELP from the Directory
  301. window.
  302.  
  303. BEST-FIT STRAIGHT LINES
  304.  
  305. You can draw simple regression lines in the scatterplots of Pair-
  306. Wise windows. To draw simple regression lines:
  307.  
  308. 1.   In the DJI/Year Pair-Wise window, place the cursor within the
  309. black space of the Directory window, and press the equal sign  =
  310. key.
  311.  
  312. The system displays the Pair-Wise window with the simple regression
  313. lines.
  314.  
  315. The system displays one line for each existing color group in its
  316. own color, a gray line for the uncolored points, and a white line
  317. for all the points together. If you change the ranges of the
  318. colored regions, BMDP/DIAMOND automatically computes and displays
  319. the correct  regression lines.
  320.  
  321. To remove the simple regression lines:
  322.  
  323. 1.   Press the = key again. When you want more information on
  324. regression lines, click on HELP from the Pair-Wise window.
  325.  
  326. RAW DATA WINDOW
  327.  
  328. To examine the raw data:
  329.  
  330. 1.   Place the cursor within the black space of the Directory
  331. window, and press the asterisk * key.
  332.  
  333. The system displays the Raw Data window for the dataset econ. You
  334. can use this window to review the data.
  335.  
  336. 2.   To scroll the data either vertically or horizontally, place
  337. the cursor in the Raw Data window and use the arrow keys.
  338.  
  339. 3.   Place the cursor within the Raw Data window, and press the Esc
  340. key to close the window.
  341.  
  342. When you want more information on this window, click on HELP from
  343. this window.
  344.  
  345. UNIVARIATE STATISTICS WINDOW  
  346.  
  347. To bring up the Univariate Statistics window:
  348.  
  349. 1.   Place the cursor within the black space of the Directory
  350. window, and press the ampersand & key.
  351.  
  352. BMDP/DIAMOND displays eleven different statistics that you can
  353. manipulate and sort.
  354.  
  355. NOTE: The Univariate Statistics window may be too wide to see in a
  356. single view if you have a small screen. If you have that problem,
  357. move the window right and left by dragging the title bar of the
  358. window.
  359.  
  360. 2.   Place the cursor in the title bar of the Univariate Statistics
  361. window, hold down the left mouse button, and drag the window to the
  362. left to view more of the statistics.
  363.  
  364. In general, in many of BMDP/DIAMOND windows, you can view selected
  365. subsets of data by pressing the first letter of the color.
  366.  
  367. 3.   Place the cursor in the Univariate Statistics window, and
  368. press the r key to view the univariate statistics for the red
  369. cases.
  370.  
  371. 4.   Press the n key to view the uncolored cases.
  372.  
  373. 5.   Press the a key to view all of the points. 
  374.  
  375. 6.   Place the cursor within the Univariate Statistics window and
  376. press the Esc key to close this window.
  377.  
  378. When you want more information on this window, click on HELP from
  379. this window.
  380.  
  381. BIVARIATE STATISTICS WINDOW
  382.  
  383. BMDP/DIAMOND can display up to five different windows of bivariate
  384. statistics.
  385.  
  386. To obtain the correlation coefficients:
  387.  
  388. 1.   Place the cursor within the black space of the Directory
  389. window, and press the 1 (numeric) key.
  390.  
  391. The system displays the Bivariate Correlation window for econ.
  392.  
  393. NOTE: Statistics are colored according to the color coding of the
  394. data case subsets. 
  395.  
  396. NOTE: The Bivariate Statistics window may be too wide to see in a
  397. single view if you have a small screen. If you have that problem,
  398. move the window right and left by dragging the title bar of the
  399. window.
  400.  
  401. 2.   Place the cursor in the title bar of the Bivariate Statistics
  402. window, and hold down the left mouse button. Drag the window to the
  403. left, and release the mouse button.
  404.  
  405. This action allows you to view more of the statistics in the
  406. window. 
  407.  
  408. To produce other bivariate statistics, you can type the numbers 0
  409. through 4 within the black space of the Directory window.
  410.  
  411. 3.   To close this window, place the cursor in the Bivariate
  412. Statistics window and press the Esc key. 
  413.  
  414. For more information on these windows, click on HELP from any
  415. Bivariate Statistics window.
  416.  
  417. TRANSFORMATIONS
  418.  
  419. You can independently apply a variety of scaling and transformation
  420. functions to the variables.
  421.  
  422. To apply a natural log scaling function to the DJI variable:
  423.  
  424. 1.   Place the cursor within a DJI histogram in the Directory
  425. window, and press the l (lower case) key.
  426.  
  427. The system displays the transformed DJI histogram.
  428.  
  429. Notice that the variable name has changed to ln DJI, and all
  430. histograms and scatterplots reflect the transformation.
  431.  
  432. To remove all scaling and transform functions, apply the identity
  433. function:
  434.  
  435. 1.   Place the cursor within the black space of the Directory
  436. window or within the DJI histogram, and press the i (lower case)
  437. key. 
  438.  
  439. For more information, click on HELP from the Directory window.
  440.  
  441. TRIPLE-WISE WINDOWS
  442.  
  443. To observe a scatterplot of three variables in a three dimensional
  444. presentation, invoke a Triple-Wise window.
  445.  
  446. To show Unemployment as a function of GNP over Time:
  447.  
  448. 1.   Place the cursor within any Unemployment histogram and press
  449. the back quote ` key.
  450.  
  451. The cursor changes to a question mark indicating that the system is
  452. waiting for you to make another selection.
  453.  
  454. 2.   Place the cursor within any GNP histogram and press the back
  455. quote ` key.
  456.  
  457. This action selects the second variable.
  458.  
  459. 3.   Place the cursor within any Year histogram and press the back
  460. quote ` key. 
  461.  
  462. This action selects the third variable. The system displays the
  463. Triple-Wise window for Unemployment/GNP/Year.
  464.  
  465. To rotate the Triple-Wise window:
  466.  
  467. 1.   Move the cursor into the Triple-Wise window and use the arrow
  468. keys or the less than and greater than keys to rotate the plot. 
  469.  
  470. 2.   Press the Home key to return the plot to its original
  471. orientation. 
  472.  
  473. To display subsets of this plot:
  474.  
  475. 1.   Press the r key to view the red cases, the quarters in this
  476. three-way relationship when DJI was low.
  477.  
  478. 2.   Press the n key to view the uncolored cases.
  479.  
  480. 3.   Press the a key to view all of the cases. 
  481.  
  482. 4.   Place the cursor within the Triple-Wise window, and press the
  483. Esc key to close the window. For more information on this window,
  484. activate HELP from this window.
  485.  
  486. PARAMETRIC SNAKE WINDOW
  487.  
  488. The Parametric Snake window is another three dimensional
  489. presentation. It connects the points of a two-way scatterplot in
  490. order of a third variable. The following example uses Unemployment
  491. as a function of the composite Economic indicator in order of Year
  492. (by quarter).
  493.  
  494. To access the Parametric Snake Window:
  495.  
  496. 1.   Place the cursor within any Unemployment histogram in the
  497. Directory window and press the tilde ~ key.
  498.  
  499. The cursor changes to a question mark indicating that the system is
  500. waiting for you to make another selection.
  501.  
  502. 2.   To select the second variable, place the cursor within any
  503. Economy histogram and press the tilde ~ key.
  504.  
  505. The cursor remains a question mark indicating that the system is
  506. waiting for you to make another selection.
  507.  
  508. 3.   To select the third variable, place the cursor within any Year
  509. histogram and press the tilde ~ key.
  510.  
  511. The system displays the Snake window for Unemployment/Economy/Year.
  512. The graphic representation vividly demonstrates economic loops that
  513. occur over time.
  514.  
  515. To display subsets of this plot:
  516.  
  517. 1.   Place the cursor within the black space of the Snake window.
  518.  
  519. 2.   Press the r key to view the red colored cases.
  520.  
  521. 3.   Press the n key to view the uncolored cases.
  522.  
  523. 4.   Press the a key to view all of the cases.
  524.  
  525. 5.   To close this window, place the cursor within the Snake window
  526. and press the Esc key. For more information on this window,
  527. activate HELP from this window.
  528.  
  529. QUAD-WISE WINDOWS
  530.  
  531. You can graphically show four dimensional representations with the
  532. Quad-Wise windows.
  533.  
  534. To activate a Quad-Wise window:
  535.  
  536. 1.   Press the Ctrl and Enter keys at the same time to bring the
  537. Directory window to the front.
  538.  
  539. 2.   Place the cursor within the DJI/Year scatterplot in the
  540. Directory window, and press the pound # key.
  541.  
  542. The cursor changes to a question mark indicating that the system is
  543. waiting for you to make another selection.
  544.  
  545. 3.   Place the cursor within the Automobile/Year scatterplot (where
  546. Automobile on the left column intercepts with Year on the bottom
  547. row), and press the pound # key to select another pair of
  548. variables.
  549.  
  550. This action produces two scatterplots with linking lines that
  551. connect all corresponding data points. Note that the low levels of
  552. the DJI have little correlation with the wide range of automobile
  553. sales.
  554.  
  555. To display subsets of this plot:
  556.  
  557. 1.   Place the cursor within the black space of the Quad-Wise
  558. window.
  559.  
  560. 2.   Press the r key to view the red colored cases.
  561.  
  562. 3.   Press the n key to view the uncolored cases.
  563.  
  564. 4.   Press the a key to view all of the cases.
  565.  
  566. 5.   To close this window, place the cursor within the Quad-Wise
  567. window and press the Esc key. For more information on this window,
  568. activate HELP from this window.
  569.  
  570. PARALLEL COORDINATE WINDOWS
  571.  
  572. The Parallel Coordinate window is a simultaneous presentation of
  573. numerous variables. This graphic is handy when examining trends
  574. across variables, longitudinal studies or  repeated measures
  575. designs. You can refine the presentation in several ways.
  576.  
  577. To access the Parallel Coordinate window:
  578.  
  579. 1.   Place the cursor within the black space of the Directory
  580. window and press the at @ key. The system displays the Parallel
  581. Coordinate window.
  582.  
  583. 2.   Maximize or enlarge the Parallel Coordinate window.
  584.  
  585. To prune the axes:
  586.  
  587. 1.   Place the cursor within the vertical Automobile axis (bar) and
  588. press the down arrow key.
  589.  
  590. The Automobile axis (bar) disappears from the plot making more room
  591. for the other axes.
  592.  
  593. To display subsets of this plot:
  594.  
  595. 1.   Press the r key to view the red colored cases.
  596.  
  597. 2.   Press the n key to view the uncolored cases.
  598.  
  599. 3.   Press the a key to view all of the cases.
  600.  
  601. 4.   Place the cursor within the Parallel Coordinate window and
  602. press the Esc key to close the window.
  603.  
  604. When you want more information on this window, click on HELP from
  605. this window.
  606.  
  607. FRACTAL FOAM WINDOW
  608.  
  609. The Fractal Foam window is a new, graphical display of highly
  610. correlated variables. It is a very quick and easy way to select a
  611. variable from your dataset and see which other variables are highly
  612. correlated with it. Also, relative properties of the distributions
  613. for the variables are graphically displayed:  skewness, kurtosis
  614. and standard deviation. A quick look at the Fractal Foam window for
  615. variables that you intend to analyze can reveal a lot of potential
  616. problems, such as multicollinearity, violations of assumptions of
  617. normality, or data with a correlation structure that doesn't make
  618. sense for a particular model. 
  619.  
  620. 1.   Remove all colors by pressing the Home key over the
  621. BMDP/DIAMOND logo at the bottom left corner of the directory
  622. window.
  623.  
  624. 2.   Position the cursor over any Term histogram and press the
  625. exclamation point ! key to set a large rainbow of colors.
  626.  
  627. Opening a Fractal Foam window using Economy: 
  628.  
  629. 1.   Position the cursor over any Economy histogram and press the
  630. period . key.
  631.  
  632. The system displays the Fractal Foam window for Economy.
  633.  
  634. The Fractal Foam window (labeled Foam) consists of many bubbles,
  635. each one representing a variable from your dataset. The central,
  636. large, white bubble represents the variable Economy, the variable
  637. you selected in the Directory window. This variable is the focus
  638. variable. The bubbles are color coded. Other white bubbles in this
  639. window also represent Economy.
  640.  
  641. There are five medium-sized bubbles around the periphery of the
  642. Economy bubble. These bubbles make up the fan-out of the focus
  643. variable and represent the five variables most highly correlated
  644. with Economy. You can change the fan-out number to increase or
  645. decrease the number of bubbles surrounding the focus variable.
  646.  
  647. The most highly correlated variable always appears at the three
  648. o'clock position, and in this example the most highly correlated
  649. variable is the red GNP bubble. The other highly correlated
  650. variables display counter-clockwise from GNP in descending order of
  651. correlation coefficient. In this example they are: Year,
  652. Population, Term, and DJI.
  653.  
  654. Each correlated variable has its own fan-out of variables
  655. correlated with it. Those variables also appear in order of
  656. descending correlation, and their number is the same as the fan-out
  657. of the focus variable. You can specify from 0-9 fan-out variables.
  658.  
  659. To change the fan-out to show only two correlated variables:
  660.  
  661. 1.   Position the cursor anywhere within the Fractal Foam window,
  662. and press the 2 key.
  663.  
  664. The system displays the two correlated variables, GNP at 3:00 in
  665. red and Year at 9:00 in yellow. 
  666.  
  667. Notice that each of these variables is surrounded by their two most
  668. highly correlated variables. For GNP these are Year, in yellow, and
  669. Population in green. 
  670.  
  671. The size of the bubble for correlated variables is directly
  672. proportional to the absolute value of the correlation coefficient.
  673. The bubble for a variable which has a correlation coefficient of 1
  674. with the focus bubble will be drawn one-half the size of the focus
  675. variable.
  676.  
  677. Notice that the Economy bubble is elliptical and has its title
  678. running along the major axis slightly uphill as read left to right.
  679. This indicates relative positive skewness. Conversely, negative
  680. skewness is indicated by negative slope. The elliptical effect is
  681. a display of kurtosis, the more relatively kurtotic, the more
  682. oblong the ellipse.
  683.  
  684. Notice that the GNP bubble has a jagged edge. This indicates that
  685. GNP displays a large standard deviation relative to the other
  686. variables in the dataset.
  687.  
  688. 2.   Reset the display to a fan-out of 5 by pressing the 5 key with
  689. the cursor inside the Foam window.
  690.  
  691. Notice the number 98 in the bottom left corner of the Foam window.
  692. It is white, indicating that the set of data points is all colors,
  693. and that there are 98 cases present. But you can look at any
  694. colored subset of points.
  695.  
  696. 3.   Press the c (lower case) key, making sure the cursor is in the
  697. Foam window.
  698.  
  699. This action displays the cyan group for the variable term.
  700.  
  701. The system redraws the contents of the Foam window with a cyan 16
  702. in the lower left corner, indicating that a Foam window for the
  703. cyan subset, with 16 cases, is being displayed.
  704.  
  705. Notice that most of the bubbles are smaller than they were with the
  706. full dataset, indicating that correlations are not as great. Notice
  707. also that this is a much different set of highly correlated
  708. variables: Automobile, DJI, Capacity, Unemployment, and Year.
  709.  
  710. There are other options for changing aspects of the display,
  711. including a different way to draw the sizes of the bubbles, known
  712. as the scaled representation, under HELP.
  713.  
  714. 4.   With the cursor in the Directory window, press the Esc key
  715. twice.
  716.  
  717. The system displays the BMDP/DIAMOND Startup window.
  718.  
  719. You have now completed the Fractal Foam window section. At this
  720. point, you can continue on to the next section, or you may quit.
  721.  
  722. To Quit:
  723.  
  724. 1.   Place the cursor in the BMDP/DIAMOND Startup window, and press
  725. the Esc key twice.
  726.  
  727. RE-INVOKING BMDP/DIAMOND
  728.  
  729. You can re-invoke BMDP/DIAMOND on any number of subsets of the
  730. data.
  731.  
  732. To re-invoke BMDP/DIAMOND on the red colored cases of the data:
  733.  
  734. 1.   Place the cursor within the DJI/Year scatterplot in the
  735. Directory window and press the Enter key.
  736.  
  737. The system displays the Pair-Wise window for DJI/Year.
  738.  
  739. 2.   Place the cursor on the red number (under Cases or
  740. correlations) in the Pair-Wise window, and press the Enter key.
  741.  
  742. A new Directory window appears for quarters when DJI was low. Note
  743. the change in the title (Directory for Econ.1 from Directory For
  744. Econ), and the change in the number of Cases. All of the options in
  745. BMDP/DIAMOND are available to explore this new subset of data.
  746.  
  747. You can save any subset of data by returning to the operating
  748. system and copying the files that were created (see your system
  749. documentation for more information).
  750.  
  751. 3.   Place the cursor within the new Econ.1 Directory window, and
  752. press the Esc key two times to close the window.
  753.  
  754. EXITING BMDP/DIAMOND
  755.  
  756. 1.   To close the Directory window, place the cursor within the
  757. Directory window, and press the Esc key two times.
  758.  
  759. The BMDP/DIAMOND Startup window appears again.
  760.  
  761. 2.   To exit BMDP/DIAMOND, place the cursor within the Startup
  762. window, and press the Esc key two times.
  763.  
  764. SUMMARY
  765.  
  766. You have now worked with most of the BMDP/DIAMOND windows and
  767. features. You have learned how to color subsets of data points,
  768. show best-fit straight lines, transform variables, manipulate
  769. graphic representations of data, and how to re-invoke BMDP/DIAMOND.
  770.  
  771. ICE
  772.  
  773. BMDP/DIAMOND includes Ice, a multi-dimensional visualization tool.
  774. Ice lets you map and display up to nine different variables from
  775. your dataset onto its various attributes. In the following example
  776. you will invoke Ice from BMDP/DIAMOND, map and unmap variables to
  777. different display attributes, manipulate the display, and learn how
  778. to look at interactions between several variables at a time.
  779.  
  780. To access Ice:
  781.  
  782. 1.   From the BMDP/DIAMOND Startup window, click on econ from the
  783. list of sample dataset names.
  784.  
  785. The system displays the Directory window for the dataset econ.
  786.  
  787. To invoke Ice from the Directory window:
  788.  
  789. 1.   Position the cursor in the lower left corner on 98 cases and
  790. press the F2 key.
  791.  
  792. The system displays the Ice window for the econ dataset, labeled,
  793. Visualization of econ.x.
  794.  
  795. 2.   Maximize or enlarge the new window.
  796.  
  797. The Ice window contains a large cube marked off with a grid. Inside
  798. the cube are small colored rectangular solids of varying
  799. thicknesses with different sized holes running through them. These
  800. are called glyphs. Both the position of the glyphs within the cube
  801. and the properties of the glyphs themselves display information
  802. about the variables in your dataset.
  803.  
  804. First, let's look at the large cube. It has an x, a y, and a z
  805. axis. Each axis is partitioned into fifths by the grid appearing on
  806. the back walls.
  807.  
  808. Imagine that each grid line represents the intersection of a plane
  809. with the wall, such that the cube is divided by five parallel
  810. planes per axis, dividing the cube into 5 x 5 x 5 or 125 little
  811. cells. Variables are mapped to the x, y, and z axes. Each cell then
  812. represents a range in x, y, and z. If there are any cases with x,
  813. y, and z  in the cell's range, Ice draws a glyph when the threshold
  814. is exceeded. (For more information on threshold, see the discussion
  815. of threshold on the next page.)
  816.  
  817. In the above example, Year, Population, and GNP are mapped to the
  818. x, y, and z  axes of the cube, respectively. The white glyph near
  819. the origin of the cube tells us that there are cases in the dataset
  820. with low values of Year, Population, and GNP. Likewise, the red
  821. glyph in the upper right-hand corner of the cube tells us there are
  822. cases with high values of Year, Population, and GNP. The other
  823. glyphs lie on a line between the low x, low y , low z cell and the
  824. high x, high y, high z cell. The alignment indicates that these
  825. three variables are highly correlated.
  826.  
  827. To increase the number of cells:
  828.  
  829. You can divide the cube into a larger or smaller number of cells.
  830. There is a slider bar along the lower edge of the window labeled,
  831. Cells = 5.
  832.  
  833. 1.   Position the cursor along the cells slider bar just above the
  834. number 12 (16 for UNIX users) , and click the left mouse button.
  835.  
  836. You should now see that Cells = 12 (16 for UNIX users) and that the
  837. display has been re-drawn with 12 (16 for UNIX users) cells per
  838. side instead of five. The cases still appear to occur in a more or
  839. less monotonically increasing fashion in x, y, and z.
  840.  
  841. To rotate the cube:
  842.  
  843. 1.   Rotate the cube by pressing the up and down arrow keys, the
  844. left and right arrow keys, or the less than < and greater than >
  845. keys, until you have seen the display from all angles.
  846.  
  847. NOTE:     If your display can show enough colors, you may notice
  848. that the back sides of the glyphs are darker than the front sides.
  849. This can make it easier to see their orientation.
  850.  
  851. 2.    Press the Home key to restore the cube to its original
  852. position.
  853.  
  854. Using the other slider bars
  855.  
  856. There are two other slider bars, one for Population and one for
  857. Variation. The population slider bar allows you to set a threshold
  858. for drawing a glyph in a cell. It is currently set at one, which
  859. means Ice will draw a glyph in a cell if there is more than one
  860. case in the cell. 
  861.  
  862. 1.   In preparation for setting the Population slider bar, adjust
  863. the Cell slider bar until it shows Cells=5.
  864.  
  865. To increase the Population threshold:
  866.  
  867. 1.   Position the cursor in the middle of the Population slider bar
  868. and click the left mouse button.
  869.  
  870. The system sets the Population threshold to about 10 and now you
  871. see four glyphs. The other slider bar, Variation, is used to set a
  872. threshold for the variation within the cell.
  873.  
  874. The process of partitioning the data into cells requires both of
  875. these new measures, population and variation. By default, Ice
  876. displays information about the population and the variation for
  877. each cell. Population is depicted as glyph thickness. The white
  878. glyph in the lower left hand corner is a thick one (a highly
  879. populated cell), while the magenta glyph next to it is somewhat
  880. thinner (lower population). Variation is depicted by glyph
  881. fullness; with high variation, the glyph is full, and the size of
  882. the hole running through the glyph is small.
  883.  
  884. The magenta glyph is a full one (large variation) while the white
  885. glyph rates lower in fullness (lower variation). You can remap
  886. variation and population to other display attributes, or unmap
  887. them, freeing the two attributes to display other variables from
  888. your dataset.
  889.  
  890. There are two lists in the upper right corner of the window. The
  891. one on the left is the list of attributes for the Ice display. The
  892. list on the right contains variables from the dataset, plus the two
  893. new measures (Variation) and (Population). When you map a variable
  894. to a display attribute, the variable name appears across from the
  895. attribute's name. For example, Year is mapped to the display
  896. attribute x, the x dimension of the cube. The last attribute on the
  897. list is hue. The value of hue increases from white to red, as shown
  898. by the progression of colors next to the name hue. The variable
  899. names that appear below hue and its mapped variable, Economy, are
  900. the unused variables.
  901.  
  902. To unmap the Variation variable from the display:
  903.  
  904. 1.   Position the cursor over the variable Variation in the upper
  905. right corner of the window, and press the space bar.
  906.  
  907. This action sends the Variation variable to the bottom of the
  908. unused variables list.
  909.  
  910. To map a different variable to fullness:
  911.  
  912. 1.   Position the cursor over the variable Unemployment, and press
  913. the key corresponding to the first letter of the attribute's name,
  914. in this example, f for fullness.
  915.  
  916. Notice that the highest levels of unemployment (greatest
  917. fullness/smallest hole) occur in the blue colored cell, and the
  918. lowest levels (largest hole) occur in the white and red cells.
  919.  
  920. To replace current mappings:
  921.  
  922. This example shows how to replace (Population) with Prime for the
  923. attribute thickness.
  924.  
  925. 1.   Position the cursor on the variable name Prime and press the
  926. t (for thickness) key.
  927.  
  928. This action maps Prime to thickness and sends (Population) to the
  929. unused variables list.
  930.  
  931. Notice that the highest level of the Prime interest rate also
  932. occurs in the blue colored glyph with lower values in the other
  933. glyphs.
  934.  
  935. There are three more display attributes. These all have to do with
  936. the position of the glyphs in their cells. They are glyph azimuth,
  937. elevation, and roll. 
  938.  
  939. To map a variable to sideways rotation:
  940.  
  941. 1.   Position the cursor over DJI and press the a (lower case) key,
  942. for azimuth.
  943.  
  944. Notice how the glyphs have rotated within their cells. The white
  945. glyph shows the least rotation, having the lowest values of the
  946. DJI. The red glyph shows the most rotation, having gone through
  947. more than 180 degrees so that we now see its back side which may be
  948. indicated by the darker, duller shade of red.
  949.  
  950. To toggle the mapping of azimuth on and off without remapping it:
  951.  
  952. A very useful feature allows you to toggle the display of any
  953. attribute on and off.  This allows you to really see where the
  954. mapping has large and small effects. To see more clearly the
  955. largest and smallest values of its associated variable, DJI, you
  956. can toggle the mapping of azimuth on and off.
  957.  
  958. 1.   Position the cursor over the attribute name azimuth and
  959. repeatedly press the slash  / key.
  960.  
  961. Look how far the red glyph turns. The red glyph turns so far that
  962. you see its back side. Notice that when the attribute is toggled
  963. off, the variable name is grayed out. Leave the attribute azimuth
  964. toggled off.
  965.  
  966. To map a variable to tilt upwards:
  967.  
  968. 1.   Position the cursor over the variable Automobile and press the
  969. e key (for elevation).
  970.  
  971. 2.   Position the cursor over the attribute elevation and toggle it
  972. off and on by pressing the slash / key to see the change in
  973. elevation.
  974.  
  975. 3.   Leave the attribute elevation toggled off.
  976.  
  977. To map a variable to roll:
  978.  
  979. 1.   Map the variable BondShort to the attribute roll by
  980. positioning the cursor over the variable BondShort and pressing the
  981. r key (for roll).
  982.  
  983. 2.   Toggle the mapping of roll on and off with the slash / key to
  984. see the change in roll.
  985.  
  986. 3.   Leave the attribute roll toggled on.
  987.  
  988. To map three variables to orientation:
  989.  
  990. 1.   Toggle the mappings for azimuth (DJI), and elevation
  991. (Automobile) back on.
  992.  
  993. There are now nine variables simultaneously mapped to attributes of
  994. the Ice display.
  995.  
  996. By rotating the cube and toggling attributes off and on, you can
  997. get a clear picture of the relationships between many variables in
  998. your dataset. Ice is a very powerful tool for simultaneously seeing
  999. these relationships for more than the customary two or three
  1000. variables. You should spend some time working with Ice on a dataset
  1001. that you know well so that you can really learn how to fully use
  1002. this powerful visualization tool.
  1003.  
  1004. 2.   With the cursor in the Ice window, press the Esc key twice.
  1005.  
  1006. 3.   With the cursor in the Directory window, press the Esc key
  1007. twice.
  1008.  
  1009. The system displays the BMDP/DIAMOND Startup window.
  1010.  
  1011. You have now completed the Ice section. At this point, you can go
  1012. back to any of the previous sections, or you may quit.
  1013.  
  1014. TO QUIT
  1015.  
  1016. 1.   Place the cursor in the BMDP/DIAMOND Startup window, and press
  1017. the Esc key twice.
  1018.