14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

200 Reshape Data Chapter 6<br />

Update Data Tables<br />

Figure 6.33 This Window Appears When You Click Match Columns<br />

3. Highlight the two column names (in the respective tables) that you want to match.<br />

4. Click Match.<br />

5. (Optional) Repeat to match more columns.<br />

6. Click OK.<br />

Note: Unless the None option is selected in the Add Columns from Update table area, any columns that<br />

have different names from the columns in the table that you are updating (and that have not been assigned<br />

matches) are appended as separate columns.<br />

Example of Updating a Data Table<br />

Suppose a researcher has a data table containing height measurements for students. The researcher receives<br />

an updated table that contains more recent measurements of the students’ heights. The researcher wants to<br />

avoid scrolling through the data tables to find the students whose height has changed, and copying and<br />

pasting the new values. <strong>Using</strong> the Update command, the researcher can quickly update the original data<br />

table with the new height values.<br />

1. Open the Big Class.jmp and New Heights.jmp sample data tables.<br />

The Big Class.jmp table contains the original data, and the New Heights.jmp table contains the<br />

updated data.<br />

2. From the Big Class.jmp table, select Tables > Update.<br />

3. In the Update...with data from box, select New Heights.<br />

4. Select Match columns.<br />

5. In the Big Class and New Heights lists, select name.<br />

6. Click Match.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!