Hi Tol, I used this note 23003 - Estimating a relative risk (also called risk ratio, prevalence ratio) (sas.com) as mentioned by StatDave, to guide me. In the note, I used the 'Nonmodeling estimate using a logistic model' that calls the NLMeans (62362 - Estimate and test differences, ratios, or contrasts of means in generalized linear models (sas.com)) macro and NLEst (58775 - Estimating nonlinear combinations of model parameters (sas.com) ) macro. However, you have to ensure that the macros are the latest for it to work. Because I use SAS on a server, I had to copy and paste the code from the macros into the program editor of my SAS interface and submit from there before I could proceed further. Once I could do that, the code as provided in the note I mentioned above worked perfectly. Thank you to @FreelanceReinh for helping me figure it out! Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved - SAS Support Communities Good luck!
... View more