Skip to content

Interpreting the results

5 messages · Ali Zanaty, Jeff Laux, Paul Johnson +1 more

#
There appears to be a little mistake in your code
On Wed, Oct 3, 2012 at 3:57 PM, Ali Zanaty <zanaty2005 at yahoo.com> wrote:
if X is nominal with 9 categories, the fitted regression should
include an intercept and 8 categories.  If it is only fitting one
predictor, that means  your X is not properly understood as a factor
variable.

If y is ordinal, then fitting the model requires use of some addon
package, not something provided with R. You'd need polr, ordinal, or
lrm from the rms package.

So I think you don't have what you think you have, and you'd better
double check and then post the full code for the model along with the
output of str() on your data frame.

pj