BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello SAS Gurus,

I'd really appreciate your help. I am doing a stat analysis of an injury data which comes from a probability sample of hospitals. I was told that in order to calculate national estimates i have to use PROC SURVEYMEANS, PROD SURVEYFREQ AND PROCLOGISTIC procedures. I managed doing SURVEYMEANS but having hard time figuring out SURVEYFREQ. So my questions:
1 - how do i calculate odds ratio usinf SURVEYFREQ;
2 - how to interpret SURVEYFREQ output. It gives me a bunch od chi-sguare tests that i've never heard of (e.g., Rao-Scott).

I'd relly appreciate you help. Thank you in advance.
4 REPLIES 4
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Recommend you visit the SAS support website http://support.sas.com/ and do a search on the phrase "how calculate odds ratio using surveyfreq" and I expect you will find technical papers (SUGI/SGF) on this topic, as I found. Or a more general Google advanced search, using the search argument below will also yield reference documents (remove the site: parameter if you want to include other websites):

how calculate odds ratio using surveyfreq site:sas.com

Scott Barry
SBBWorks, Inc.
deleted_user
Not applicable
Well people... call me slow but i cannot find how to calculate odds ration in SURVEYFREQ using SAS 9.1 version. Only version 9.2 comes up when i try to search it. Could anybody help me please???? I'd greatly apprecaite your help.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Sorry, not my expertise but some crafty searches (including SAS OnlineDoc):

Topic: odds ratios or odds ratio estimates

SAS OnlineDoc - What's new in SAS/STAT 9.0 and 9.1 mentions:

SURVEYLOGISTIC Procedure


The SURVEYLOGISTIC procedure performs logistic regression on data that arise from a survey sampling scheme. PROC SURVEYLOGISTIC incorporates complex survey sample designs, including designs with stratification, clustering, and unequal weighting, in its estimation process. Variances of the regression parameters and odds ratios are computed using a Taylor expansion approximation. The SURVEYLOGISTIC procedure is similar in syntax to the LOGISTIC procedure, and it can fit link functions such as the logit, cumulative logit, generalized logit, probit, and complementary log-log functions. Maximum likelihood estimation of the regression coefficients is carried out with either the Fisher-scoring algorithm or the Newton-Raphson algorithm.


Google advanced search against SAS.COM - use this argument to find related matches, some of what are not 9.2 related, including the SUGI/SGF paper link:

+"odds ratio" +9.1.3 site:sas.com

U.S. Health and Nutrition: SAS® Survey Procedures and NHANES
http://www2.sas.com/proceedings/sugi31/140-31.pdf


Usage Note 30333: FASTats: Frequently Asked-For Statistics
http://support.sas.com/kb/30/333.html#oddsratios
deleted_user
Not applicable
Thanks, i will check it out!

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!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

Discussion stats
  • 4 replies
  • 987 views
  • 0 likes
  • 2 in conversation