|
Could someone give me these answers for solving problems related to my
dissertation (secondary data analysis)? 1.How to use Clinical Classifications Software (CCS) 2008 for grouping ICD_9_CM_CODE and ICD_OP_CODE in SPSS 15.0 version? CCS 2008 consists of single- or multi-level CCS from the website of Agency for Healthcare Research and Quality (AHRQ). http://www.ahrq.gov/data/hcup 2.Do anyone know how to write SPSS commands using new coding algorithms of Deyo's ICD-9-CM for rating comorbidity? I only find SAS commands from websites, but do not find SPSS commands. 3.I am using "vector" for selecting cases who have received different types of hematopoietic stem cell (HSCT) or bone marrow transplantation (BMT). However, my commands are from my advisor and do not work out in SPSS. Could you someone tell me the ways to fix the commands? My variables' names are ICD_OP_CODE, ICD_OP_CODE_1, ICD_OP_CODE_2, ICD_OP_CODE_3, and ICD_OP_CODE_4. ICD_OP_CODE for HSCT or BMT is from 4100 and 4109. compute bmt_nos=0. compute bmt_autowo=0. compute bmt_alobmt=0. compute bmt_allogrft=0. compute bmt_autostemwo=0. compute bmt_allostemwo=0. compute bmt_cord=0. compute bmt_autohemwp=0. compute bmt_allohemwp=0. compute bmt_autobmtwp=0. compute bmt_type=0. execute. Do repeat pr=pr1 to pr5. *VECTOR pr=pr1 to pr5. *LOOP #p=1 to 5. + if (pr='4100') bmt_nos=1. + if (pr='4101') bmt_autowo=1. + if (pr='4102') bmt_alobmt=1. + if (pr='4103') bmt_allogrft=1. + if (pr='4104') bmt_autostemwo=1. + if (pr='4105') bmt_allostemwo=1. + if (pr='4106') bmt_cord=1. + if (pr='4107') bmt_autohemwp=1. + if (pr='4108') bmt_allohemwp=1. + if (pr='4109') bmt_autobmtwp=1. end repeat. Error # 4285 in column 8. Text: pr1 Incorrect variable name: either the name is more than 64 characters, or it is not defined by a previous command. This command not executed. Or, revise commands as the follow: compute bmt_nos=0. compute bmt_autowo=0. compute bmt_alobmt=0. compute bmt_allogrft=0. compute bmt_autostemwo=0. compute bmt_allostemwo=0. compute bmt_cord=0. compute bmt_autohemwp=0. compute bmt_allohemwp=0. compute bmt_autobmtwp=0. compute bmt_type=0. execute. Do repeat proc = ICD_OP_CODE to ICD_OP_CODE4. Vector proc = ICD_OP_CODE to ICD_OP_CODE4. *VECTOR pr=pr1 to pr5. *LOOP #p=1 to 5. + if (pr='4100') bmt_nos=1. + if (pr='4101') bmt_autowo=1. + if (pr='4102') bmt_alobmt=1. + if (pr='4103') bmt_allogrft=1. + if (pr='4104') bmt_autostemwo=1. + if (pr='4105') bmt_allostemwo=1. + if (pr='4106') bmt_cord=1. + if (pr='4107') bmt_autohemwp=1. + if (pr='4108') bmt_allohemwp=1. + if (pr='4109') bmt_autobmtwp=1. end repeat. It still shows wrong commands. Thank you so much. Amy Hsieh ===================== 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 |
