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
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
Exact Logistic Regression
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.