14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

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.

Chapter 3 Entering, Editing, and Managing Data 61<br />

Specifying Data Types and Modeling Types<br />

Note: You can select Continuous only if your data type is numeric. If Continuous is grayed on the<br />

menu and you want to make the column continuous, first change its data type in the Column Info<br />

window (access this window by highlighting the column and selecting Cols > Column Info).<br />

Using Short-Integer Format<br />

JMP has the ability to store numeric data in as few as 8 bits (one byte). To implement this, you need to<br />

tell JMP to first make short-integer formats available to you in the Column Info window’s Data Type<br />

drop-down menu. Then you should specify how many bytes you want the integers to hold. When you<br />

use the correct short-integer format for your data, you will not see any difference in how the numbers<br />

display, but they will occupy less disk space and use less memory.<br />

To store numeric data in short-integer format:<br />

1 Select File > Preferences and click the Tables option on the left panel.<br />

2 Click the Allow Short Numeric option.<br />

3 Click OK to return to the data table.<br />

4 Double-click the column name whose values you want to be short-integer. The Column Info<br />

window appears.<br />

5 Click the Data Type drop-down menu, and select 1-byte integer, 2-byte integer, or 4-byte<br />

integer. JMP will now store values as integers in the range corresponding to your selection. For<br />

example, when 1-byte integer is selected, the range of numbers you can enter is from -126 to 127.<br />

When 2-byte integer is selected, the range of numbers you can enter is from -32,766 to 32,767.<br />

When 4-byte integer is selected, the range of numbers you can enter is from -2,147,483,646 to<br />

2,147,483,647.<br />

3Entering Data<br />

Choosing Numeric Formats<br />

When you assign a variable’s data type to be numeric, you can also specify the display format for it to<br />

use. To select the numeric format:<br />

1 Select Cols > Column Info or double-click the area above the name of the column in the data grid.<br />

Or, if you are creating a new column, select Cols > New Column.<br />

2 Click the drop-down menu beside Format, as shown in Figure 3.14, and select the option that<br />

specifies how you want JMP to display numeric values. See “Numeric Format Options,” p. 63, for<br />

descriptions of options.<br />

Figure 3.14 Column Info Window and Date-Time Formats<br />

3 If you selected:

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

Saved successfully!

Ooh no, something went wrong!