title: Median and quantile tests under complex survey design using SAS and R.
abstract: Techniques for conducting hypothesis testing on the median and other quantiles of two or more subgroups under complex survey design are limited. In this paper, we introduce programs in both SAS and R to perform such a test. A detailed illustration of the computations, macro variable definitions, input and output for the SAS and R programs are also included in the text. Urinary iodine data from National Health and Nutrition Examination Survey (NHANES) are used as examples for comparing medians between females and males as well as comparing the 75th percentiles among three salt consumption groups.
authors.affiliation: Division of Laboratory Sciences, National Center for Environmental Health, Centers for Disease Control and Prevention, Atlanta, GA, United States. Electronic address: jnu5@cdc.gov.
authors.forename: Yi
authors.initials: Y
authors.lastname: Pan
authors.affiliation: Division of Laboratory Sciences, National Center for Environmental Health, Centers for Disease Control and Prevention, Atlanta, GA, United States.
authors.forename: Samuel P
authors.initials: SP
authors.lastname: Caudill
authors.affiliation: Department of Biostatistics, University of Pittsburgh, Pittsburgh, PA 15261, United States.
authors.forename: Ruosha
authors.initials: R
authors.lastname: Li
authors.affiliation: Division of Laboratory Sciences, National Center for Environmental Health, Centers for Disease Control and Prevention, Atlanta, GA, United States.
authors.forename: Kathleen L
authors.initials: KL
authors.lastname: Caldwell
mesh_terms: D000465:Algorithms; D003198:Computer Simulation; D003627:Data Interpretation, Statistical; D005260:Female; D006801:Humans; D008297:Male; D015233:Models, Statistical; D009749:Nutrition Surveys / Q000379:methods*; D011381:Programming Languages; D012984:Software
keywords: Complex survey; Median; Quantile; R; SAS