Practical Data Analysis with JMP, Third Edition. Robert Carver

Читать онлайн книгу.

Practical Data Analysis with JMP, Third Edition - Robert Carver


Скачать книгу
to the next section, clear all row states again (as in Step 4 above). This will also remove the color coding of regions. To recolor, choose Rows ► Color of Mark by Column…, select Region and click OK.

      As a statistics student, you may often want to include some of your results within a paper or presentation that you are preparing for class. As we finish this first lesson, we will start with a quick way to capture output and transfer it to your paper or slides. Then we will introduce several other options to reach a wider audience.

      To follow along, first open your word processing or slide creation software, then write a sentence introducing the graph that you have been working with. Next, return to the JMP Oneway Analysis report window.

      Our analysis includes a graph and a table. To copy the graph only for your document, do this:

      1. Select Tools ► Selection. Your cursor will now become an open cross. You could also click the open (“fat”) cross button from the menu icon bar.

      2. Move the open cross to the lower left of the graph away from the X axis and click. This should highlight the entire graph. If it doesn’t, click and drag across the graph until it is entirely selected.

      3. Select Edit ► Copy. Alternatively, you can right-click and select Copy.

      4. Now move to your document or slide and paste your copied graph.

      Figure 1.11: A Graph Pasted from JMP

Figure 1.1 Some JMP Help Options

      The graph should look like the one shown above in Figure 1.11. Note that the graph will look slightly different from its appearance within JMP, but this demonstration should illustrate how very easy it is to incorporate JMP results into a document.

      This approach preserves a static image of the graph but loses the interactivity of the labels that pop up when you hover over a point. Moreover, if you have many reports to copy, this method does not scale efficiently.

      Let’s look at other options. This section provides an overview, and we will apply some of these methods in later exercises.

      5. Go to the Tools menu and choose the arrow tool in place of the selection tool.

      6. Make sure the Fit Y by X window is active and choose File ► Export. As shown in Figure 1.12, JMP provides eight formatting options. You may explore these on your own, but now let’s make an Interactive HTML document. HTML documents can be viewed by any web browser.

      7. Click the Interactive HTML with Data button, and Next. This opens a typical file save dialog box. You should select a location to store the report file.

      Soon, a browser window will open showing a fully interactive version of your report. The disclosure buttons work, as do hover labels.

      Figure 1.12: Export Format Options

Figure 1.1 Some JMP Help Options

      To share multiple reports efficiently, there is another option.

      Figure 1.13: Select Reports for Publication

Figure 1.1 Some JMP Help Options

      After choosing a file location, another browser window will open with an interactive web report that looks like Figure 1.14.

      Figure 1.14: A Web Report Containing Multiple JMP Reports

Figure 1.1 Some JMP Help Options

      As you work with any software, you should get in the habit of saving your work as you go. JMP supports several types of files and enables you to save separate portions of a session along the way or bundle all related files and reports into a JMP Project (to be illustrated in Chapter 2). You have already seen that data tables are files; we have modified the Life Expectancy 2017 data table and might want to save it.

      For now, let’s preserve the commands that created our Fit Y by X report. Although we have seen some ways to save the final report image, we can save the series of commands within the data table. In that way, we can reproduce the report in the future without saving a space-consuming graphic. Here’s how:

      1. Go to the Fit Y by X report window and click the red triangle at the upper left. Select Save Script ► To Data Table….

      2. In the small dialog box that opens, assign a name to this report or accept the suggested name, and click OK.

      3. Now switch to the Life Expectancy 2017 data table and look in the Table panel in the upper left. You should find another green arrow next to the report name you just assigned. Click that arrow, and a fresh copy of the report will open.

      Alternatively, you can save the session script, which essentially is a transcript of the session coded in the JMP Scripting Language (JSL)—all of the commands that you issued, as well as their results. Later, when you restart JMP, you can open the script file, run it, and your screen will be exactly as you left it.

      4. Select File ► Save Session Script. In the dialog box, choose a directory in which to save this JSL file, give the file a name, and click OK.

      We have covered a lot of ground in this first session, and it’s time to quit.

      1. Select File ► Exit JMP.

      Answer No to the question about saving changes to the data. Then you will see this dialog box:

Figure 1.1 Some JMP Help Options

      In this case, you can click No. In future work, if you want to take a break and resume later where you left off, you might want to click Yes. The next time you start the program, everything will look as it did when you quit.

      Remember to run the Beginner’s Tutorial from the Tip of the Day (or under the Help menu) before moving on to Chapter 2.

      Endnotes

      1. This book’s illustrations and examples are all based on JMP Pro 15.0. In most instances, we show the default settings that come with JMP when it is newly installed.

      2. All of the data tables used in this book are available from http://support.sas.com/publishing/authors/carver.html. If you are enrolled in a college or university course, your instructor may have posted the files in a special directory. Check with your instructor.

      3. In Chapter 4, we will study response variables and factors. In this chapter, we are getting a first look at how analysis platforms operate.

      4. Columns can contain labels (for example, the name of respondent or country name), which are also displayed when a row is labeled.

      5. Consult JMP Help for details about JMP Public. In the JMP Documentation Library, open “Using JMP”, navigate to section 10 “Save and Share Data” and find “Create a Web Report”.


Скачать книгу