BookmarkSubscribeRSS Feed
sodonnell
Calcite | Level 5

 

Hello! I am analyzing data from a national survey. In order to account for sample allocation and survey design, all estimates are weighted using survey weights in order to reflect the age and sex distribution of the household population aged 15 or older in the ten Canadian provinces.  Furthermore, variance estimations such as standard error and 95% confidence intervals are calculated using bootstrap weights provided with the data.

Given the nature of the data, we are using 'proc surveylogistic' in order to carry out a multivariate regression analysis. While the output provides the 95% CIs for the adjusted odds ratios (ORs), it does not provide the p-values.  Note, I was told that the p-values for the parameter estimates that are provided in the output (i.e., Pr>Chi Sq) can be used for this purpose however, they are not in sync with what I would expect to be significant (or not significant) when compared against the  95% CI for the adjusted ORs. We've searched online and can't seem to find a specific procedure that will calculate the p-value for the adjuste ORs.  Does anyone know how to do this? Thanks in advanced for your time!

3 REPLIES 3
SteveDenham
Jade | Level 19

A kludge method would be to get the log OR, and the log upper and lower bounds for the adjusted OR.  From that, you could estimate the standard error, and from that and the estimate, you could calculate a Wald chi-square.  But that is kludgy, and makes a lot of assumptions.

Steve Denham

LaraL
Calcite | Level 5

Hi

 

Did you manage to resolve the belwo query?

 

Thanks

mwgerber
Calcite | Level 5

Hi, I think you're having this problem because SAS is using effect coding for the coefficients but dummy variable coding for the Odds Ratios. By specifying " / param = ref" in the class statement you can make sure that SAS uses dummy variable coding for both the coefficients and ORs.

 

UCLA's IDRE has a nice explanation of this: https://stats.idre.ucla.edu/sas/faq/in-proc-logistic-why-arent-the-coefficients-consistent-with-the-....

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3088 views
  • 1 like
  • 4 in conversation