%svy_freqs: A Generic SAS Macro for Creating Publication-Quality Three-Way Cross-Tabulations. (22nd October 2021)
- Record Type:
- Journal Article
- Title:
- %svy_freqs: A Generic SAS Macro for Creating Publication-Quality Three-Way Cross-Tabulations. (22nd October 2021)
- Main Title:
- %svy_freqs: A Generic SAS Macro for Creating Publication-Quality Three-Way Cross-Tabulations
- Authors:
- Muthusi, Jacques
Young, Peter W.
Mwalili, Samuel - Abstract:
- Cross-tabulations are a simple but important tool for understanding the distribution of socio-demographic characteristics among participants in epidemiological studies. We developed a generic SAS macro, %svy_freqs, to create publication-quality tables from cross-tabulations between a factor and a by-group variable given a third variable using survey or non-survey data. The macro also performs two-way cross-tabulations and provides extra features not available in existing procedures such as ability to incorporate parameters for survey design and replication-based variance estimation methods, performing validation checks for input parameters, transparently formatting variable values from character into numeric and allowing for generalizability. We demonstrate the macro using the 2013–2014 National Health and Nutrition Examination Survey (NHANES), a complex survey designed to assess the health and nutritional status of adults and children in the United States.
- Is Part Of:
- Journal of open research software. Volume 9(2021)
- Journal:
- Journal of open research software
- Issue:
- Volume 9(2021)
- Issue Display:
- Volume 9, Issue 2021 (2021)
- Year:
- 2021
- Volume:
- 9
- Issue:
- 2021
- Issue Sort Value:
- 2021-0009-2021-0000
- Page Start:
- Page End:
- Publication Date:
- 2021-10-22
- Subjects:
- SAS macro -- disease prevalence -- three-way cross-tabulations -- reproducible research -- replication-based variance estimation
Computer software -- Reusability -- Periodicals
Open source software -- Periodicals
005 - Journal URLs:
- http://openresearchsoftware.metajnl.com/ ↗
- DOI:
- 10.5334/jors.318 ↗
- Languages:
- English
- ISSNs:
- 2049-9647
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 17622.xml