Have Fathom Randomly Generate Data |
|
|
Getting Started > Getting Data > Have Fathom Randomly Generate Data If you want to start with simulated rather than real data, you can do that in Fathom fairly easily. This mini-tutorial will illustrate randomly generating a series of coin flips.
Here are a few ideas for where to go from here (some are simple; others require delving into other areas of Fathom Help). •Add a second attribute with the formula runLength(flip) to compute how many heads and tails you get in a row. •Graph your data. (Drag a graph from the shelf and drop an attribute on its horizontal axis. See Beginner Graphing for more detail.) •Look at all of the cases at once in a case table. (Select the box of gold balls and drag a case table into your document. See Work with Case Tables for more detail.) •Add more cases. •Edit the formula to make the coin unfair, for example, randomPick("heads", "tails", "tails", "tails") then see if you get longer or shorter run lengths. •Open the collection by dragging a corner, and change the images of the cases to those of heads and tails of a nickel using formulas in the inspector’s Display panel. (see Change the Appearance of Cases in a Collection.) Try some of Fathom’s random number generators, which can be found in the formula editor’s list of functions. You can also learn about them by reading the Random Functions section of Help. See also |