ctables /VLABELS VARIABLES=rsex earngrp hedqual3 DISPLAY=NONE /TABLE hedqual3 > rsex by earngrp [ROWPCT.COUNT f5.1 "%" TOTALS [COUNT "n= 100%"]] /CATEGORIES VARIABLES= earngrp TOTAL=YES POSITION=after. For highest educational qualification “DK/Refusal/NA” is coded as -8: missing values are declared as (lo thru -1) but I get this:
Why? 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 |
Tim You were right. There’s a “ghost” label 8 which was recoded to -8. I removed it via the Data Editor Labels dialog box and hey presto! ctables /table by hedqual3.
. . changes to:
. . and the table to:
Not so much a bug, but nevertheless unexpected. 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 From: Timothy Hennigar [mailto:[hidden email]] I never do tables like this : but if what you want is to remove the ‘DK..’ with the 0 entries in the table .. try removing the ‘Dk..’ from the value labels of the variable .. see what you get .. (not tried .. but solves an occasional issue I do get). Thanks! ********************************* Notice: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not use the information, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Email transmissions cannot be guaranteed to be secure or error free. The sender therefore does not accept any liability for errors or omissions in the contents of this message that arise as a result of email transmissions. From: SPSSX(r) Discussion [[hidden email]] On Behalf Of John F Hall ctables /VLABELS VARIABLES=rsex earngrp hedqual3 DISPLAY=NONE /TABLE hedqual3 > rsex by earngrp [ROWPCT.COUNT f5.1 "%" TOTALS [COUNT "n= 100%"]] /CATEGORIES VARIABLES= earngrp TOTAL=YES POSITION=after. For highest educational qualification “DK/Refusal/NA” is coded as -8: missing values are declared as (lo thru -1) but I get this:
Why? 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 ===================== 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 |