- Data Analysis with IBM SPSS Statistics
- Kenneth Stehlik Barry Anthony J. Babinec
- 250字
- 2021-07-02 18:13:49
Demo - defining variable properties
You have seen that you can Define Variable Properties either in the Variable View or via syntax. Yet another way is to use Define Variable Properties found in the Data menu. An advantage of using Define Variable Properties is that you fill in a dialog box but can use the Paste command to obtain the constructed syntax.
Here, let's consider defining variable properties for MARITAL.
To use Define Variable Properties from the menus, navigate to Data | Define Variable Properties.
This opens the Define Variable Properties dialog box. Move MARITAL to the right-hand side:

Here is a portion of the Define Variable Properties box after you press Continue:

This dialog box is an all-in-one view that shows both the variable properties and the actual data summarized. You can type in this dialog box to add Variable properties for MARITAL.
Here is the dialog box with the fields filled in:

Here is the constructed syntax when you paste:
* Define Variable Properties.
*MARITAL.
VARIABLE LABELS MARITAL 'Marital Status'.
MISSING VALUES MARITAL(9).
VALUE LABELS MARITAL
1 'Married'
2 'Widowed'
3 'Divorced'
4 'Separated'
5 'Never Married'
9 'No Answer'.
EXECUTE.
- Kubernetes實(shí)戰(zhàn)
- Android開發(fā)精要
- Python從菜鳥到高手(第2版)
- Android Application Development Cookbook(Second Edition)
- C語言程序設(shè)計(jì)
- 從0到1:HTML+CSS快速上手
- 21天學(xué)通C++(第6版)
- Silverlight魔幻銀燈
- Python編程從0到1(視頻教學(xué)版)
- .NET 3.5編程
- .NET 4.5 Parallel Extensions Cookbook
- Hadoop大數(shù)據(jù)分析技術(shù)
- Java并發(fā)編程:核心方法與框架
- Learning Perforce SCM
- Spring MVC Cookbook