turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- General Programming
- /
- surveylogistic, logistic and weight

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-08-2014 01:01 PM

Hi, I have two questions about surveylogistic procedure and weight statement.

First, I am doing analysis national data by using logistic regression(binary dependent).

I want to use 'sampling weight' but my data sets don't have 'strata' and 'cluster' variabels.

In my situation, what should I do? should I use proc logistic procedure? Or can I use 'proc surveylogistic' procedure with weight variable(but without strata and(or) cluster variables)?

Second, in 'proc logistic' procedure, what does 'weight' statement mean? Does 'weight' mean 'frequency weight'?

I really wonder about weight statement's meaning in SAS.

And I really hope your help and opinion!! Thank you!

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to ChrisHa

07-08-2014 01:30 PM

Hi Chris - I am going to move your post/question to our SAS Procs community and someone will be able to help you out there.

Thanks

Jennifer

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to ChrisHa

07-08-2014 01:30 PM

Hi,

Proc logistic weights each obs in input data by the value of weight variable. When you a binary variable in your data set, you have actually two strata (1 and 0). So you can apply weights to these strata based on weight variable calculated for class 1 and class 0.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to stat_sas

07-08-2014 02:28 PM

Thanks for your reply.

If I unerstand correlty(I hope so), Does your answer mean that I can use 'proc surveylogistic' with weight variable(but without strata and cluster variables)?

Many thanks!!

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to ChrisHa

07-08-2014 02:42 PM

Hi,

Sampling weights are used to calibrate parameter estimates calculated based on a sample. Just check proportion of 1's and 0's in your population data and compare them with sample proportions. This will provide a baseline to create weight variable that can be used in proc logistic. Hope this helps,

Thanks,

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to stat_sas

07-16-2015 07:24 PM

Perhaps this is off topic,but can you tell me if SAS University has the survey specific proc functions (like proc surveylogistic)? Thanks, David

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to geed

07-16-2015 08:27 PM

Hi,

I am not sure about that.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to geed

07-16-2015 11:35 PM

Proc Survey and surveylogistic are both under SAS Stat, so yes they are available for SAS UE.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

07-17-2015 12:38 PM

Thank you Reeza! I didn;t want to spend all of the time and effort to download SAS UE if it didn't have these functions. Hopefully the programs I wrote and ran on SAS 9.2 will run smoothly in SAS UE. Any tips you have on transitioning to SAS UE from 9.2?