How can we use special values like default etc. in cspro
Specially in logic, I got missing and Notappl concepts but could not get it cleared using default in logic.
Thanks in advance.
Special Values
-
- Posts: 1845
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Special Values
The best way for me to summarize the special values in CSPro is as follows:
Notappl: A value that is blank and has not been entered, generally because it has been skipped.
Missing: A value specified in the value set that corresponds to a Missing or Don't Know category on the questionnaire.
Default: A value that is invalid. For example, if you write:
The divide-by-zero creates an unknown value and thus SEX will be default.
Or if SEX is one digit and you write:
The value does not have enough space to store two digits so it becomes default when saved to the data file.
When you look in the data file, default values will be represented with * characters.
Notappl: A value that is blank and has not been entered, generally because it has been skipped.
Missing: A value specified in the value set that corresponds to a Missing or Don't Know category on the questionnaire.
Default: A value that is invalid. For example, if you write:
SEX = 5 / 0;
The divide-by-zero creates an unknown value and thus SEX will be default.
Or if SEX is one digit and you write:
SEX = 10;
The value does not have enough space to store two digits so it becomes default when saved to the data file.
When you look in the data file, default values will be represented with * characters.
Last bumped by Anonymous on March 21st, 2012, 2:00 pm.