Hello,

I am trying to fit a logit model on the data using:

```
predict.glm <- predict(mylogit, data, type="response")
```

However there is a warning message:

```
Warning message:
In predict.lm(object, newdata, se.fit, scale = 1, type = ifelse(type == :
prediction from a rank-deficient fit may be misleading
```

Is this because in the case of logit prob are assigned instead of class labels?

Is there any way I can assign labels 1/0 for prob above a certain cutoff value?

Also,in a logit model how do i know whether the prob is of 1 or 0,or is it that if more number of obs have 1 as label then the model is on 1 and not 0??