Posted by
Marks, Jim on
Dec 08, 2010; 6:33pm
URL: http://spssx-discussion.165.s1.nabble.com/Syntax-for-NPS-tp3297615p3297768.html
Do you have another dataset open and named?
SPSS will not close the last dataset-- it will remove the name but leave
the dataset active.
Jim Marks
Director, Market Research
x1616
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of
Synti
Sent: Wednesday, December 08, 2010 10:51 AM
To:
[hidden email]
Subject: Syntax for NPS
Hello everybody,
I am actually writing the syntax for the net promoter score in SPSS.
I've
already found a help for the syntax in this forum, but there is still
one
problem left.
Below you see the syntax I am using at the moment. At the end I would
like
to close and to deactivate the window which appears with the NPS and not
just to minimize it. But SPSS doesn't react to this syntax demand.The
window
still exists. Can anybody help me?Thank you a lot!
DATASET DECLARE NPSData10 WINDOW=MINIMIZED.
AGGREGATE OUTFILE=NPSData10
/BREAK=Hilfsvariable
/GrpSize 'N. of respondents in group' = NU
/PctProm 'Percent of promoters' = PIN(q12Skala,9,10)
/PctDetr 'Percent of detractors' = PIN(q12Skala,1, 6).
DATASET ACTIVATE NPSData10 WINDOW=FRONT.
COMPUTE NPS = PctProm - PctDetr.
VAR LABEL NPS 'Net Promoter Score'.
descriptives PctProm PctDetr NPS.
execute.
DATASET ACTIVATE NPSData10 WINDOW=FRONT.
execute.
DATASET close NPSData10.
execute.
format NPS (F3.1).
execute.
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/Syntax-for-NPS-tp3297615p3297615.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