Skip to main content

Read Stata

Synopsis

This operator can read Stata data files.

Description

This operator can read Stata files. Currently only Stata files of version 113 or 114 are supported.

Input

file

This optional port expects a file object.

Output

output

Data from the Stata file is delivered through this port mostly in form of an ExampleSet.

Parameters

Filename

Name of the file to read the data from.

Datamanagement

Determines, how the data is represented internally.

Attribute naming mode

Determines which variable properties should be used for attribute naming.

Handle value labels

Specifies how to handle attributes with value labels, i.e. whether to ignore the labels or how to use them.

Sample ratio

The fraction of the data set which should be read (1 = all; only used if sample_size = -1)

样本大小

The exact number of samples which should be read (-1 = all; if not -1, sample_ratio will not have any effect)

Use local random seed

Indicates if a local random seed should be used.

Local random seed

Specifies the local random seed