Calculating age-adjusted prevalence using a Python module (NEW) for SPSS complex sample surveys- Albertorio

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Calculating age-adjusted prevalence using a Python module (NEW) for SPSS complex sample surveys- Albertorio

Albertorio, Juan R. (CDC/CCHIS/NCHS)
SPSS list server colleagues!

 

Have you been in the position of needing to use the SPSS complex sample module (CS) to analyze a survey and then realized that the variable of interest has to be age-adjusted for comparison purposes?

 

If you have previously worked with SAS and SUDAAN there is a common solution to this issue. However, SPSS CS does not provide an easy solution leaving the user with the painful choice of having to write a complicated syntax using the General Linear model replicating SAS syntax as a baseline.  Or using an excel spreadsheet for calculations, or leaving out the possibility of using SPSS CS altogether and emigrating to SUDAAN instead.

 

For the average SPSS user this is a pain, since you have to either buy or relay to have a SUDAAN stand-alone license and such programming is quite expensive.  Additionally one wrestles with the conflict of using SPSS CS when SUDAAN as well as other software already make such routines available.

 

For dealing with such an issue, Raynald Levesque and I (Juan) have come up with a solution. Based on Damir Spisic's recommendation and assistance from David Nichols and Jon Peck (SPSS), we have developed a Python module that eases the age-adjusted calculation of using SPSS CS.  This Python module GREATLY SIMPLIFIES the writing of syntax to determine age-adjusted prevalence using SPSS CS.  Instructions, datasets, and sample results are all posted in Raynald's website at http://www.spsstools.net/python.htm#AgeAdjustedPrevalence, as well as the SPSS Developer Central (www.spss.com/devcentral).

 

Soon such modules will also be added into the National Health Examination Nutrition Survey (NHANES) web tutorial that the National Center for Health Statistics (NCHS), Centers for Disease Control and Prevention (CDC) maintains.

 

Raynald and I appreciate any comments or suggestions that will help to improve this module, as well as the notification of any typos or bugs within the program.

 

We hope that through the creation of this module we have simplified the use of SPSS CS for the analysis of your complex sample survey.

 

Sincerely yours,

 

Juan

 

 

_______________________________________
Juan R. Albertorio-Díaz, MA
Statistician
Office of Global Statistics
Office of the Center Director
National Center for Health Statistics
Center for Disease Control and Prevention
3311 Toledo Rd. Suite 2427
Hyattsville, MD 20782
301.458.4634
301.458.4043 (Fax)
[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