Data Entry Rules SPSS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Data Entry Rules SPSS

lvccrespo
Hello everyone,
Is there any way to generate rules in order to prevent the loading of specific values in the variables?
For example, when I open a database and I enter an unwanted value in a given variable, a sign warning appearing.
Greetings,
Carlos
Reply | Threaded
Open this post in threaded view
|

Re: Data Entry Rules SPSS

Bruce Weaver
Administrator
If you are asking about the product now known as "IBM SPSS Statistics", I think the answer is NO.  For what you're describing, I think you'd need the "SPSS Data Entry Data Collection" product.

http://www-03.ibm.com/software/products/en/spss-data-entry

HTH.

lvccrespo wrote
Hello everyone,
Is there any way to generate rules in order to prevent the loading of specific values in the variables?
For example, when I open a database and I enter an unwanted value in a given variable, a sign warning appearing.
Greetings,
Carlos
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: Data Entry Rules SPSS

Jignesh Sutar
In reply to this post by lvccrespo
This would be specific to the platform collecting the data before the data is stored in or read by SPSS Statistics? I doubt you are manually entering data in SPSS data view? If you were entering manually, it wouldn't be possible to implement validation as you are suggesting in SPSS Statistics.

SPSS Statistics has a DATA VALIDATION add-on module (at additional cost) you may want to explore but more directly you can build a syntax to check every variable according to whatever logical validation criteria you wish.

So for example

COMPUTE CheckQ1Range=ANY(Gender,1,2)=0.
COMPUTE CheckQ1Miss=NMISS(Gender)>0.

So the variable Gender stores 1=Male 2=Female, the first compute checks if all values entered are either a 1 or 2, if not then flag that case with a 1. The second compute checks if there is any missing and if so again flag with a one. Likewise, you can build as simple or complicate validation rules for each and every variable in your dataset and then fire back a report highlight which variables/cases failed but all of this has to be done post-hoc after data collection and not live during data collection. I've done quite a lot of work of this nature and can all be done with base package without need for DATA VALIDATION module.

You would have to inquire with whatever data collection system you are using to try achieve what you set out to do. I would suspect any data collection system to have this type of feature.

On 7 May 2015 at 17:44, lvccrespo <[hidden email]> wrote:
Hello everyone,
Is there any way to generate rules in order to prevent the loading of
specific values in the variables?
For example, when I open a database and I enter an unwanted value in a given
variable, a sign warning appearing.
Greetings,
Carlos



--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Data-Entry-Rules-SPSS-tp5729532.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD