- 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.
- Advanced Machine Learning with Python
- 騰訊iOS測試實踐
- Java EE框架整合開發(fā)入門到實戰(zhàn):Spring+Spring MVC+MyBatis(微課版)
- PowerCLI Cookbook
- 焊接機(jī)器人系統(tǒng)操作、編程與維護(hù)
- FPGA Verilog開發(fā)實戰(zhàn)指南:基于Intel Cyclone IV(進(jìn)階篇)
- Learning R for Geospatial Analysis
- Cybersecurity Attacks:Red Team Strategies
- Scala Reactive Programming
- C++從入門到精通(第5版)
- 0 bug:C/C++商用工程之道
- Clojure for Machine Learning
- Building Serverless Architectures
- Java并發(fā)編程之美
- ASP.NET求職寶典