Hello, So I am working on my senior thesis and I am trying to analyze the bowel health's relationship to vitamin D status in pregnant women by analyzing the NHANES dataset. I am so confused, having no background in SAS 9.4 whatsoever. I did proccontent, procfreq, and procmeans and have loaded all the datasets of interest into SAS along with having created libraries for each year that I am interested in analyzing. Currently, I am trying to make my "Table 1" for 05-06 data library. I am trying to weed out only the pregnant women's data from each dataset of interest (Bhq, Demo, UCpreg, Vid) and create a consolidated dataset, which I then want to analyze for frequency and means etc. I have tried different code but nothing seems to be working and I am not sure how to do this. Could anyone help me please? I did not find the NHANES tutorials useful for this. I just want to use the pregnant women's data from each of the datasets and create a consolidated dataset which I can then analyze further. Thank you so much in advance!
... View more