Reeza, I only typed in the estimates because I did not know how to get them directly. The problem I have is that I am unable to figure out the formula to calculate the probability given the estimates. I need to hand off a formula to be applied to data outside of SAS, on a mainframe. In the output, the 'myformula' in your code is still not matching the predicted probability ip_1. Did I miss something? Thank you so much for all of your good time and help.
Greg
Really? Did you run the code I provided above, the differences in mine was 0.
The formula is then 1/exp( ) part that you hand off to the developers, or the my formula part.
DOH! a thousand times. Yes, Reeza, you are correct. I got an error when I ran your code, telling me WORK.SAMPLE.DATA does not exist. So, what I was really looking at was the results from the last time I ran my faulty code. I just re-wrote the formula as you have it, and VOILA!. Thank you so, so much. I'm confused though, in why the intercept needs to be included in the formula when it does not matter. Again, thank you for the help, and I realize now I could have made it easier on you in the first place if I had just left Excel out of it, and done the entire thing in SAS.
Greg
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.