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? Thanks