Hello,

I am trying to replicate the below table, but I'm not sure which command to use.
The "final analytical sample" and "excluded" sample are variables that I created.
The outcome, profession, var2, and var3 are variable already in the data.

How should I write my command?

Array