Thanks for the clarification on the CDC website.
<Some of the trend analysis done in the SUDAAN code using SUDAAN Proc Ratio, others are chi-square or regressions which could be done with SAS Proc Surveyfreq with the CHISQ option on Tables statement or Proc Surveyreg.>
Objective #1: To test for trends in categorical variables (e.g., hypertension (y/n), cigarette smoking (never/past/current), etc.) over time, in this case, years, after adjusting for sex and age. I want to report the age and sex adjusted proportions and 95% CIs.
Q1: Are you saying that adding the CHISQ option to the Tables statement in Proc Surveyfreq will test for a trend (assuming ordinal values in the row or column variable of interest. In this case "years")?
If so, this would provide the p value for the trend analysis, but not the adjusted proportions and 95% CIs, correct?
Could I use Proc Surveylogistic (somehow) to derive the adjusted proportions and 95% CIs?
Objective #2: To test for trends in continuous variables (e.g., cigarette-pack years, BMI, etc.) over time, in this case, years, after adjusting for sex and age. I want to report the age and sex adjusted means and 95% CIs.
Q2: Can I use Proc Surveyreg to analyze a trend in continuous measures (e.g., cigarette-pack years over time)? If the model includes age and sex (in addition to the variable for time (i.e., years)), how would I request the adjusted means?
This is difficult to explain. I hope I'm making sense. Thanks for any help.
... View more