For your first model, here's an example:
https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_logistic_examples02.htm&docsetVersion=15.1&locale=en
The second case is either Ordinal or Nominal Regression, not Logistic.
Here's an example of nominal regression:
https://documentation.sas.com/?docsetId=statug&docsetVersion=15.1&docsetTarget=statug_logistic_examples04.htm&locale=en
@natasha_nf wrote:
Hi,
I'm trying to perform 2 logistic regressions controlled for some variables.
exposure: quartiles of processed food consumption
outcome model 1: binary depression (yes or no)
outcome model 2: mental disorders (4 disorders)
confoundings: (categorical and numerical) sex, age, education, etc.
Could anyone help me with the code?
Thank you in advance.
... View more