The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: logit
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 12/9/12
Posted: Dec 9, 2012 12:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am trying to run a logit regression, using the command

results = logit(Y,X)

where Y is a vector of binary outcomes, and X is a matrix of coefficients, with the proper dimensions. However, when I run the command and check my results, all that is reported is "NaN", or not a number. I am not sure if this is a problem with the command I am trying to use or my data. I ran the command ols(Y,X) to make sure that the data could be read correctly, and it was.

Is there another command I can use to get my logit results?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.