InseadDataAnalytics / INSEADAnalytics

Other
122 stars 1.31k forks source link

Issue with glm model #125

Open AndreaSiri opened 6 years ago

AndreaSiri commented 6 years ago

Dear all,

When I run the model the system says the following warning message: In predict.lm(object, newdata, se.fit, scale = 1, type = ifelse(type == : prediction from a rank-deficient fit may be misleading

Do you know at what it can refer? Best, Andrea

AmirSa commented 6 years ago

Hi Andrea, can you add the prediction line code you used? as I don't get the error.

AndreaSiri commented 6 years ago

Sure,

Here: logistic_probabilities<-predict(model_logistic,newdata=testing,type="response") #Predict probabilities

Thank you. Best, Andrea