# Convert Multipunch to Single One

11 messages
Open this post in threaded view
|

## Convert Multipunch to Single One

 Suppose we have a Multipunch data for Q7 with codes Q7_1 to Q7_25. If a respondent codes 1 in any of the options from 1 to 25 then then individual option must be created there. For eg - Respid 5 coded 1 in Q7_1 Q7_3 and Q7_5 so total 3 single punch variables will be created Q7_1_temp Q7_3_temp and Q7_5_temp and data must be punched 1 in Q7_1_temp and 3 in Q7_3_temp and 5 in Q7_5_temp.
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 I am not sure I understand your question. Is this correct? You have a variable, that contains info for a check  all that apply question in a string, maybe something like this: data list list/respid (f3) instring (a50). begin data 5 "1,3,5" 22 "12, 3, 14, 25" 728 "25, 18, 1, 7, 11, 22, 6" end data list. ----- or does the data for respid 5 looks like this 5 "Q7_1,Q7_3,Q7_5" ---- then you want 25 dichotomous (flag) variables (easier with a prefix than a suffix in variable names) numeric tempQ7_1 to tempQ7_25 (f1). Art Kendall Social Research Consultants
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 In reply to this post by Kunal I don't understand the question entirely, but- you might want to search for multipunch in the Command Syntax Reference- you might want to look at multiple response sets.On Wed, May 24, 2017 at 12:03 PM, Kunal wrote:Suppose we have a Multipunch data for Q7 with codes Q7_1 to Q7_25. If a respondent codes 1 in any of the options from 1 to 25 then then individual option must be created there. For eg - Respid 5 coded 1 in Q7_1 Q7_3 and Q7_5 so total 3 single punch variables will be created Q7_1_temp Q7_3_temp and Q7_5_temp and data must be punched 1 in Q7_1_temp and 3 in Q7_3_temp and 5 in Q7_5_temp. -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Convert-Multipunch-to-Single-One-tp5734250.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 K Peck[hidden email] ===================== 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
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 IIRC about the documentation it still has some mention about punch cards on which 2 variables would be punched in 1 column. It is amazing how words stick around.  Do you put your lunch in the icebox? My eSPSS says the OP means some way of entering multiple responses. Art Kendall Social Research Consultants
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 Column binary format aka multiple values punched in a single column is still encountered from time to time, but it sounds like a standard multiple dichotomy set would be suitable here.On Wed, May 24, 2017 at 1:28 PM, Art Kendall wrote:IIRC about the documentation it still has some mention about punch cards on which 2 variables would be punched in 1 column. It is amazing how words stick around.  Do you put your lunch in the icebox? My eSPSS says the OP means some way of entering multiple responses. ----- Art Kendall Social Research Consultants -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Convert-Multipunch-to-Single-One-tp5734250p5734259.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 K Peck[hidden email] ===================== 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
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 In reply to this post by Art Kendall As I read it, he says that there are punches in 1, 3, and 5 (values 1, 3, 5) in column 1 in order to indicate "yes" for variables numbered 1, 3, and 5.  That sounds like pure multipunch, if that is the right reading. Googling showed me that there is also a proprietary version of multipunch that SPSS can't read - it being proprietary and no one has paid licensing fees. -- Rich Ulrich From: SPSSX(r) Discussion <[hidden email]> on behalf of Art Kendall <[hidden email]> Sent: Wednesday, May 24, 2017 3:28:51 PM To: [hidden email] Subject: Re: Convert Multipunch to Single One   IIRC about the documentation it still has some mention about punch cards on which 2 variables would be punched in 1 column. It is amazing how words stick around.  Do you put your lunch in the icebox? My eSPSS says the OP means some way of entering multiple responses. ----- Art Kendall Social Research Consultants -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Convert-Multipunch-to-Single-One-tp5734250p5734259.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
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 Administrator In reply to this post by Kunal I suspect we have an abuse of terminology here? Please provide an exemplar of what the existing data look like and the desired result. Kunal wrote Suppose we have a Multipunch data for Q7 with codes Q7_1 to Q7_25. If a respondent codes 1 in any of the options from 1 to 25 then then individual option must be created there. For eg - Respid 5 coded 1 in Q7_1 Q7_3 and Q7_5 so total 3 single punch variables will be created Q7_1_temp Q7_3_temp and Q7_5_temp and data must be punched 1 in Q7_1_temp and 3 in Q7_3_temp and 5 in Q7_5_temp. Please reply to the list and not to my personal email. Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Open this post in threaded view
|

## Re: Convert Multipunch to Single One

 Sorry if my question is not clear I just wanted to ask here suppose we have a select all that apply question (Multi punch questions) and respondent coded 1 in Q7_1 Q7_2, Q7_3,Q7_5 and Q7_10 code so I wanted that maximum 5 single punch variables will be created automatically as that respondent coded 1 (Selected) in 5 options. So total 5 single puch variables must be created In all these 10 variables Q7_temp_1=1 Q7_temp_2=2 Q7_temp_3=3 Q7_temp_4=5 Q7_temp_5=10 Data is punched in these single coded variables upon their selection in multi punch questions.
Open this post in threaded view
|