Skip to main content

Read SPSS

Synopsis

This operator is used for reading SPSS files.

Description

The Read SPSS operator can read the data files created by SPSS (Statistical Package for the Social Sciences), an application used for statistical analysis. SPSS files are saved in a proprietary binary format and contain a dataset as well as a dictionary that describes the dataset. These files save data by 'cases' (rows) and 'variables' (columns).

These files have a '.SAV' file extension. SAV files are often used for storing datasets extracted from databases and Microsoft Excel spreadsheets. SPSS datasets can be manipulated in a variety of ways, but they are most commonly used to perform statistical analysis tests such as regression analysis, analysis of variance, and factor analysis.

Input

file

This optional port expects a file object.

Output

output

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

Parameters

Filename

这parameter specifies the path of the SPSS file. It can be selected using thechoose a filebutton.

Datamanagement

这parameter determines how the data is represented internally. This is an expert parameter. There are different options, users can choose any of them.

Attribute naming mode

这parameter determines which SPSS variable properties should be used for naming the attributes.

Use value labels

这parameter specifies if the SPSS value labels should be used as values.

Recode user missings

这parameter specifies if the SPSS user missings should be recoded to missing values.

Sample ratio

这parameter specifies the fraction of the data set which should be read. If it is set to 1, the complete data set is read. If it is set to -1 then thesample sizeparameter is used for determining the size of the data to read.

Sample size

这parameter specifies the exact number of samples which should be read. If it is set to -1, then thesample ratioparameter is used for determining the size of data to read. If both are set to -1 then the complete data set is read.

Use local random seed

这parameter indicates if alocal random seedshould be used for randomization. Using the same value oflocal random seedwill produce the same randomization.

Local random seed

这parameter specifies thelocal random seed. This parameter is only available if theuse local random seedparameter is set to true.