Announcement

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

  • What is the logit cdf function in stata?

    I have two variables x and z, both containing 100 observations. I want to compute Ey=exp(0.5+x-2*z)/(1+exp(0.5+x-2*z)), which has 100 rows with each row corresponding to an observation. How could I do this?

    I know that for the standard normal cdf, I could do Ey=normal(0.5+x-2*z), where normal() is the standard normal cdf. What is the counterpart command for logit? Thanks!

  • #2
    help invlogit

    Comment


    • #3
      help invlogit()

      Comment


      • #4
        Originally posted by Stephen Jenkins View Post
        help invlogit()
        Thanks, Stephen! This is very helpful!

        Comment

        Working...
        X