BookmarkSubscribeRSS Feed
t75wez1
Pyrite | Level 9

hello, 

my data include two variables with 20,000 records. One is whether or not received a product sample and the other is whether use the product or other products after received the product sample. I wanted to calculate the odds ratio to conclude that the consumer who received the product sample would be 2 times likely to use the product than the consumer who didn't receive the sample. However the product has only 3% of market share among all the products consumers use.

 

how to solve the problem in SAS?

 

I'm very appreciative of any helps?

Ethan

 

3 REPLIES 3
Reeza
Super User

Here's a good quick reference, Paul Allisons thoughts on the issue

http://statisticalhorizons.com/logistic-regression-for-rare-events

 

You can google with the following term to get more responses : Logistic regression rare events

Ksharp
Super User

Exact Logistic Regression

StatDave
SAS Super FREQ

Since you describe a 2x2 table, you could avoid fitting a model altogether and simply use PROC FREQ and request an exact estimate of the odds ratio with the EXACT OR; statement.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1465 views
  • 3 likes
  • 4 in conversation