Compute new variable

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Sundaygirl
Posts: 1
Joined: Tue Jul 29, 2014 3:46 pm

Compute new variable

Postby Sundaygirl » Tue Jul 29, 2014 3:50 pm

Hi, I have pre and post test results, 12 questions in each, that I need to compute into a new variable to show the total score pre and post but only for those users who supplied an answer for each of the 24 questions. Can anyone help me please as I have a very short deadline? Many thanks.
RubenGeert
Posts: 100
Joined: Mon May 19, 2014 6:06 am

Re: Compute new variable

Postby RubenGeert » Tue Jul 29, 2014 7:26 pm

For a super fast way to do that, use the NMISS function for the non missing condition in an IF command for computing the sums. See

http://www.spss-tutorials.com/?s=nmiss
http://www.spss-tutorials.com/if/

Like so you'll easily make your tight deadline :-D

Best,

Ruben

Who is online

Users browsing this forum: No registered users and 3 guests

cron