Announcement

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

  • How to compare and make inference for odds?

    Similar as to compare and make inference for risks by
    Code:
    prtest
    , is there any command to do the same thing for odds?

    Tom

  • #2
    Tom:
    see -help epitab-.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Thanks, Carlo. Powerful statistic tests for epidemiology. Do you know the logic behind these tests?
      • ir - tests for incidence rates
      • cs - tests for risks, same as proportional z-test (prtest)?
      • cc - tests for odd ratio
      • tabodds - tests for odds
      • mhodds - tests for odds
      Thanks.

      Comment


      • #4
        Have you tried reviewing the full documentation for epitab, and for the individual commands, found in the Stata Base Reference Manual PDF included with your Stata installation and accessible through Stata's Help menu?

        Comment


        • #5
          Oh! My mistake. How should have I forgotten such very important logics behind the distribution of odd ratio and risk ratio.

          Code:
          prtest
          use risk1 - risk2 - 0 as the basic component of the proportional z-test

          For odd ratio, the logOR is used as the basic component of the test statistics. The distribution of logOR and logRR are normal, and the standard errors of logOR and logRR also are able to estimate from the sample.

          Unfortunately, the introductory statistics textbook by Neil Weiss did not cover the topic about logOR and logRR.

          Thanks.
          Last edited by Tom Hsiung; 30 Apr 2018, 09:01.

          Comment

          Working...
          X