Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Odds ratio or hazard risk

    hi all,
    how can i calculate odds ratio or hazard risk with a contingency table. for example: tabulate var1 var2, chi2 but I wanted it to also display the value of raw odds ratio

  • #2
    You can get the odds ratio from the -cc- command. -help cc-.

    I don't understand in what sense you would compute a hazard ratio from a contingency table. Hazard ratios are calculated in association with time-to-event ("survival") data that cannot be reduced to a simple contingency table.

    Comment


    • #3
      Originally posted by Clyde Schechter View Post
      You can get the odds ratio from the -cc- command. -help cc-.

      I don't understand in what sense you would compute a hazard ratio from a contingency table. Hazard ratios are calculated in association with time-to-event ("survival") data that cannot be reduced to a simple contingency table.
      Thank you🙏🙏🙏🙏

      Comment

      Working...
      X