Data Type

Transform > Compute > Change Data Type

 

In VisualStat there are several data types. You can easily convert between the data types using the Change Data Type command. By default, all new variables are assumed to be null.

 

Dialog box items

Variables:
Displays the variables in the datasheet.

Current Type:
Data type to be convert

New Type:
The type of data that is desired. The available data types are:

oCurrency

oDateTime

oFactor

oGeneral

oNull

oNumber

oPercent

oText

 

Example

Suppose VisualStat identifies a column named Gender as null, and you want to change it to a factor column with two levels, one for each gender.

1.Open the DataBook summary.vstz

2.Select the sheet crosstab

3.Choose the tab Transform, the group Compute and the command Change Data Type

4.In Variables, select Gender

5.In New Type, select Factor

6.Click OK