|
Does anyone please suggest how to write subroutines here in SPSS so we can use them again and again for Single Punch,Multi Punch and Grid.
Thanks in advance. |
|
Administrator
|
I don't know what Single Punch, Multi Punch and Grid are referring to. (Are you using some old version of SPSS that reads punch cards, perhaps?)
Anyway, two possibilities come to mind: Macros and inserted syntax files (via INSERT command). See the links below for more info. http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_define.htm http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_insert_vs_include.htm Other list members will probably suggest Python. HTH.
--
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/). |
|
Bruce is correct in saying that the phrases "Single punch", Multipunch,
and Grid refer to old punched card input. Our John Hall provides a description of these terms in a 2006 paper he presented at the ASSESS SPSS User group meeting; the word document should be accessible here: www.spssusers.co.uk/Events/2006/hall2006.doc I do not, however, understand the original request -- it did not show up on the SPSS list but Bruce's response did -- because as far as I can tell, the only place that one use these terms explicitly is in the File Handle command; see: http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_file_handle.htm If one has the old "White SPSS manual" (SPSS release 4.00), the info is on page 197, and in "Appendix D. Computer Cards". One has to ask: are you still using actual punched cards or an electronic representation of such cards? Have you been given boxes and boxes and boxes of old Hollereth cards and now have to convert them into electronic format before they become dust (or food for insects)? John Hall probably is the person to ask about initial dealing with inputing the data (which is all the file handle would be used for). Once they're in, you don't have to be concerned with these issues (unless you're doing all you work on an IBM 360 era or compatible mainframe). -Mike Palij New York University [hidden email] ----- Original Message ----- From: "Bruce Weaver" <[hidden email]> To: <[hidden email]> Sent: Monday, September 14, 2015 5:08 PM Subject: Re: SPSS Subroutines >I don't know what Single Punch, Multi Punch and Grid are referring to. >(Are > you using some old version of SPSS that reads punch cards, perhaps?) > > Anyway, two possibilities come to mind: Macros and inserted syntax > files > (via INSERT command). See the links below for more info. > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_define.htm > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_insert_vs_include.htm > > Other list members will probably suggest Python. > > HTH. > > > > Kunal wrote >> Does anyone please suggest how to write subroutines here in SPSS so >> we can >> use them again and again for Single Punch,Multi Punch and Grid. >> >> Thanks in advance. > > > > > > ----- > -- > Bruce Weaver > [hidden email] > http://sites.google.com/a/lakeheadu.ca/bweaver/ > > "When all else fails, RTFM." > > NOTE: My Hotmail account is not monitored regularly. > To send me an e-mail, please use the address shown above. > > -- > View this message in context: > http://spssx-discussion.1045642.n5.nabble.com/SPSS-Subroutines-tp5730607p5730608.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 |
|
Multiple response data is still sometimes
coded in the old multipunch style, regardless of the fact that punchcards
are now only made by elves living in caves in the far north.
However, the phrasing of the question makes me wonder whether the O.P is referring to the Data Collection software rather than SPSS Statistics or Modeler. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Mike Palij <[hidden email]> To: [hidden email] Date: 09/14/2015 05:49 PM Subject: Re: [SPSSX-L] SPSS Subroutines Sent by: "SPSSX(r) Discussion" <[hidden email]> Bruce is correct in saying that the phrases "Single punch", Multipunch, and Grid refer to old punched card input. Our John Hall provides a description of these terms in a 2006 paper he presented at the ASSESS SPSS User group meeting; the word document should be accessible here: www.spssusers.co.uk/Events/2006/hall2006.doc I do not, however, understand the original request -- it did not show up on the SPSS list but Bruce's response did -- because as far as I can tell, the only place that one use these terms explicitly is in the File Handle command; see: http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_file_handle.htm If one has the old "White SPSS manual" (SPSS release 4.00), the info is on page 197, and in "Appendix D. Computer Cards". One has to ask: are you still using actual punched cards or an electronic representation of such cards? Have you been given boxes and boxes and boxes of old Hollereth cards and now have to convert them into electronic format before they become dust (or food for insects)? John Hall probably is the person to ask about initial dealing with inputing the data (which is all the file handle would be used for). Once they're in, you don't have to be concerned with these issues (unless you're doing all you work on an IBM 360 era or compatible mainframe). -Mike Palij New York University [hidden email] ----- Original Message ----- From: "Bruce Weaver" <[hidden email]> To: <[hidden email]> Sent: Monday, September 14, 2015 5:08 PM Subject: Re: SPSS Subroutines >I don't know what Single Punch, Multi Punch and Grid are referring to. >(Are > you using some old version of SPSS that reads punch cards, perhaps?) > > Anyway, two possibilities come to mind: Macros and inserted syntax > files > (via INSERT command). See the links below for more info. > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_define.htm > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_insert_vs_include.htm > > Other list members will probably suggest Python. > > HTH. > > > > Kunal wrote >> Does anyone please suggest how to write subroutines here in SPSS so >> we can >> use them again and again for Single Punch,Multi Punch and Grid. >> >> Thanks in advance. > > > > > > ----- > -- > Bruce Weaver > [hidden email] > http://sites.google.com/a/lakeheadu.ca/bweaver/ > > "When all else fails, RTFM." > > NOTE: My Hotmail account is not monitored regularly. > To send me an e-mail, please use the address shown above. > > -- > View this message in context: > http://spssx-discussion.1045642.n5.nabble.com/SPSS-Subroutines-tp5730607p5730608.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 ===================== 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 |
|
In reply to this post by Mike
Mike
Thanks for the plug on my 2006 paper to ASSESS. There's more information on my page: http://surveyresearch.weebly.com/old-dog-old-tricks-using-spss-syntax-to-bea t-the-mouse-trap.html including the accompanying slide-shows. Multiple response is dealt with in several places (with examples from major surveys). The paper you refer to is also accessible as a pdf file on my site as: http://surveyresearch.weebly.com/uploads/2/9/9/8/2998485/old_dog_old_tricks_ main_paper.pdf There's also a set of Multiple Response tutorials on page: http://surveyresearch.weebly.com/33-multiple-response-mult-response.html . . which reminds me I still have some to write! Like you and Bruce, I'm not quite sure what Kunal means by sub-routines. Many years ago, when I was still working, I used to keep frequently used MULT RESP definitions in a separate file (or as duplicate card sets) for repeated use. I do the same now, and it's a lot easier and quicker with the Windows version. From version 11 to 23 I have never used the GUI to define MR sets, preferring fuddy duddy syntax, especially when using tricks of the trade. John F Hall (Mr) [Retired academic survey researcher] Email: [hidden email] Website: www.surveyresearch.weebly.com SPSS start page: www.surveyresearch.weebly.com/1-survey-analysis-workshop -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Mike Palij Sent: 15 September 2015 01:48 To: [hidden email] Subject: Re: SPSS Subroutines Bruce is correct in saying that the phrases "Single punch", Multipunch, and Grid refer to old punched card input. Our John Hall provides a description of these terms in a 2006 paper he presented at the ASSESS SPSS User group meeting; the word document should be accessible here: www.spssusers.co.uk/Events/2006/hall2006.doc I do not, however, understand the original request -- it did not show up on the SPSS list but Bruce's response did -- because as far as I can tell, the only place that one use these terms explicitly is in the File Handle command; see: http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.sta tistics.help/syn_file_handle.htm If one has the old "White SPSS manual" (SPSS release 4.00), the info is on page 197, and in "Appendix D. Computer Cards". One has to ask: are you still using actual punched cards or an electronic representation of such cards? Have you been given boxes and boxes and boxes of old Hollereth cards and now have to convert them into electronic format before they become dust (or food for insects)? John Hall probably is the person to ask about initial dealing with inputing the data (which is all the file handle would be used for). Once they're in, you don't have to be concerned with these issues (unless you're doing all you work on an IBM 360 era or compatible mainframe). -Mike Palij New York University [hidden email] ----- Original Message ----- From: "Bruce Weaver" <[hidden email]> To: <[hidden email]> Sent: Monday, September 14, 2015 5:08 PM Subject: Re: SPSS Subroutines >I don't know what Single Punch, Multi Punch and Grid are referring to. >(Are > you using some old version of SPSS that reads punch cards, perhaps?) > > Anyway, two possibilities come to mind: Macros and inserted syntax > files > (via INSERT command). See the links below for more info. > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.sta tistics.help/syn_define.htm > > http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.sta tistics.help/syn_insert_vs_include.htm > > Other list members will probably suggest Python. > > HTH. > > > > Kunal wrote >> Does anyone please suggest how to write subroutines here in SPSS so >> we can >> use them again and again for Single Punch,Multi Punch and Grid. >> >> Thanks in advance. > > > > > > ----- > -- > Bruce Weaver > [hidden email] > http://sites.google.com/a/lakeheadu.ca/bweaver/ > > "When all else fails, RTFM." > > NOTE: My Hotmail account is not monitored regularly. > To send me an e-mail, please use the address shown above. > > -- > View this message in context: > 0608.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 ===================== 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 |
| Free forum by Nabble | Edit this page |
