BookmarkSubscribeRSS Feed
Meghana3
Calcite | Level 5

 Need an example of SAS code that will build a model for estimating the probability of a person answering a mail solicitation.  Assume the potential predictors are x1, x2 and x3 and we have a historical data set with x1, x2, x3 and an indicator named replied that is 1 if the person replied to a solicitation and 0 otherwise

 

Thanks

2 REPLIES 2
Reeza
Super User

Sounds like a logistic regression type problem. 

PROC LOGISTIC documentation has some examples in detail:

 

Here's a write up on it:

https://stats.idre.ucla.edu/sas/output/proc-logistic/

 


@Meghana3 wrote:

 Need an example of SAS code that will build a model for estimating the probability of a person answering a mail solicitation.  Assume the potential predictors are x1, x2 and x3 and we have a historical data set with x1, x2, x3 and an indicator named replied that is 1 if the person replied to a solicitation and 0 otherwise

 

Thanks


 

Reeza
Super User
Note that I've edited your subject line to make it more descriptive and I'll move it to the Stats forum.

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
  • 2 replies
  • 1781 views
  • 0 likes
  • 2 in conversation