Announcement

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

  • comparing the odds

    Dear statalist community,

    Code:
     
    Variables odds ratio odds ratio odds ratio odds ratio
    1.CA 1.230** 1.351*** 1.790*** 1.459***
    (0.129) (0.119) (0.188) (0.140)
    2.CA 1.143 1.360*** 1.436*** 1.407***
    (0.0940) (0.107) (0.160) (0.112)
    I know there is a way to compare the odds related to 1.CA and 2.CA by using postestimation command 'test'. However, I am not able to use it. May anyone please suggest how to compare the odds related to CA (when it takes value 1) and CA (when it takes value 2)?


    regards
    ajay

  • #2
    Code:
    test 2.CA = 1.CA
    Why are you not able to use that?

    Or, for more informative results
    Code:
    lincom 2.CA - 1.CA, or

    Comment


    • #3
      thank you, sir.

      Comment


      • #4
        I was not using it correctly,

        Code:
        test [var_name]1.CA =  [var_name]2.CA
        is incorrect.

        Comment

        Working...
        X