I'm working on descriptive analysis and wish to compare 3 categorical variables:
  • Sex (man / woman)
  • Self-rated health (good / bad)
  • Legal status (undocumented / documented)
I did the 3-way table and would like to run a independence and if possible an association test. Read online that Stata doesn't have a command to run log linear analysis and that I should try to use contract in combination with poisson or glm commands. But I don't really know how to run that... So basically I'm asking:
  • How to use contract with poisson or glm?
  • Which other test can I use, that works on Stata?
Thank you for your answers