I am trying to run an ordinal regression on a dataset that I removed the missing values from. When I try to get a summary of the model, I find the following error message:
error in svd (x): infinite or missing values in 'x'.
I am very new to rstudio, and not sure how to go about correcting this problem.
complete_model <- polr(hlthstat~ r_incomeall, train, Hess = TRUE)
summary(complete_model)
this is what appears in the console when i run the code:
complete_model <- polr(hlthstat~ r_incomeall, train, Hess = TRUE) Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred summary(complete_model) Error in svd(X) : infinite or missing values in 'x'