14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5 Set Column Properties 163<br />

Assign a Preselected Analysis Role<br />

Assign a Preselected Analysis Role<br />

You can assign an analysis role, such as x, y, weight, or frequency, to a selected column and save the role with<br />

the data table. When you do this and then run an analysis, <strong>JMP</strong> uses the preselected role to automatically fill<br />

in the role boxes in windows. Then you do not have to specify these roles each time you run an analysis. For<br />

example, you might want a column named height to take the x role in every analysis of that data table. To<br />

enforce the x role, you assign the preselected role of x to the column.<br />

When you select Freq, the values in that column are what <strong>JMP</strong> uses as the frequency of the observation. If n<br />

is the value of the Freq variable for a given row, then that row is used in computations n times. If it is less<br />

than 1 or is missing, then <strong>JMP</strong> does not use it to calculate any analyses.<br />

When you select Weight, the values in that column provide weights for each observation in the data table.<br />

The variable does not have to be an integer, but it is included only in analyses when its value is greater than<br />

zero.<br />

To assign a preselected role to a column:<br />

1. Highlight the column.<br />

2. Select Cols > Preselect Role.<br />

3. Select a role: No Role, X, Y, Weight, or Freq.<br />

After you select the appropriate roles, icons in the Columns panel signify what roles have been assigned.<br />

Click the icon to access a list of roles and select a different one. See “Icons Representing Column<br />

Characteristics and Properties” on page 37 in the “Get Started” chapter.<br />

Compress Selected Columns<br />

<strong>JMP</strong> lets you compress columns in a data table to minimize the size of the file and reduce the amount of<br />

memory required to analyze data. This feature is helpful when numeric columns contain many small<br />

integers or when any column contains fewer than 255 unique values. For example, compressing columns in<br />

a data table with 389 columns and 85,000 rows might decrease the file size from 250MB to 33MB,<br />

depending on the type of data.<br />

When you compress columns, <strong>JMP</strong> verifies whether the data can be stored in a more compact form based<br />

on the data type:<br />

• In character columns with fewer than 255 unique values, the List Check property is added to the<br />

column (shown in Figure 5.6).<br />

• In numeric columns, data is compressed to 1-byte, 2-byte, or 4-byte integers when possible (shown in<br />

Figure 5.7). For details about short integers, see “The Short-Integer Format” on page 145.<br />

A numeric column with non-integer values can also be compressed if there are fewer than 255 unique<br />

values. In this case, the List Check property is added to the column.

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

Saved successfully!

Ooh no, something went wrong!