NHANES数据分析教程NHANES数据库

Nhanes数据库介绍及使用(三)

2020-09-04  本文已影响0人  不学临床的医学生

1. 复杂抽样的方差估计

2.子人群的方差估计

For example, to estimate mean body mass index (BMI) and its standard error for men aged 20 and over, the entire dataset of examined individuals who have an exam weight, including females and those younger than 20 years, must be read into the statistical software procedure. -官方给出的例子

3.SAS方差估计代码

PROC SURVEYMEANS data=one varmethod=taylor nomcar;
  STRATA sdmvstra;  /*SAS数据集中有相应变量,基本上每次都是用这个*/
  CLUSTER sdmvpsu;  /*SAS数据集中有相应变量,基本上每次都是用这个*/
  WEIGHT WTMEC4YR;
  DOMAIN Select;
   * more statements...;
run;

However, if there is evidence indicating that the nonrespondents are different from the respondents for your study, you canuse the NOMCAR option to compute descriptive statistics among respondents while still counting the number of nonrespondents.
Considering the possibility that those students who did not respond spend differently than those students who did respond,you can use the NOMCAR option to request the analysis to treat the respondents as a domain rather than exclude the nonrespondents.
Although the point estimates are the same as the analysis without the NOMCAR option, for this particular example, the variance estimations are slightlyhigher when you assume that the missingness is not completely at random -SAS教程中关于nomcar的具体描述

4.参考内容

https://wwwn.cdc.gov/nchs/nhanes/tutorials/module4.aspx 以及 sas help

上一篇下一篇

猜你喜欢

热点阅读