Suppose I have a datafile from a study.
I do an autorecode for variable V3a1, and save the template. AUTORECODE VARIABLES=V3a1 /INTO V3arec /Save TEMPLATE='....\V3a1.sat' /print. Assume the print subcommand shows this output: 1 John 2 JOHN 3 Mary. Now I update the datafile with one extra case. This case has value "Ken" in V3a1. I apply the coding template from previous autorecode: AUTORECODE VARIABLES=V3a1 /INTO V3arec /APPLY TEMPLATE='....\V3a1.sat' /print. Now print command shows this output: 1 John 2 JOHN 3 Mary. Hm, is seems that "Ken" was not autorecoded!!? However, of I look at the variable V3arec in variable view, I see the extra case has code 4 and labeled "Ken". Is this a bug? Or how do I run the last autorecode command so that the "print" subcommand shows all the codes (including Ken), not just the ones from the template? (I know I can use the display command to see all codes, but I prefer the output from the Autorecode /print subcommmand) -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Autorecode-import-template-and-then-display-new-codes-tp5716302.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 |
The autorecoded value that was not from
the template should appear in the print output, and trying this with V21,
it does. I can't find anything in the bug database that fits the
description below. What version are you using?
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] new phone: 720-342-5621 From: Johan Pauwels <[hidden email]> To: [hidden email], Date: 11/19/2012 03:47 AM Subject: [SPSSX-L] Autorecode - import template and then display "new" codes Sent by: "SPSSX(r) Discussion" <[hidden email]> Suppose I have a datafile from a study. I do an autorecode for variable V3a1, and save the template. AUTORECODE VARIABLES=V3a1 /INTO V3arec /Save TEMPLATE='....\V3a1.sat' /print. Assume the print subcommand shows this output: 1 John 2 JOHN 3 Mary. Now I update the datafile with one extra case. This case has value "Ken" in V3a1. I apply the coding template from previous autorecode: AUTORECODE VARIABLES=V3a1 /INTO V3arec /APPLY TEMPLATE='....\V3a1.sat' /print. Now print command shows this output: 1 John 2 JOHN 3 Mary. Hm, is seems that "Ken" was not autorecoded!!? However, of I look at the variable V3arec in variable view, I see the extra case has code 4 and labeled "Ken". Is this a bug? Or how do I run the last autorecode command so that the "print" subcommand shows all the codes (including Ken), not just the ones from the template? (I know I can use the display command to see all codes, but I prefer the output from the Autorecode /print subcommmand) -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Autorecode-import-template-and-then-display-new-codes-tp5716302.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 |
Jon, I have also discovered that, rendering my thread obsolete. I have deleted the thread on http://spssx-discussion.1045642.n5.nabble.com/ but somehow this email listing still lives on. Apologies for the inconvenience, email newsgroups are new to me and I guess I’m not totally aware of how these things work. Regards Johan Pauwels Van: Jon K Peck [mailto:[hidden email]] The autorecoded value that was not from the template should appear in the print output, and trying this with V21, it does. I can't find anything in the bug database that fits the description below. What version are you using?
|
Free forum by Nabble | Edit this page |