Hello everyone,
I'm running an ordinal logistic and I keep getting this error:
Error in model.frame.default(formula = eduattain ~ dadedu, data =
workdataset, :
variable lengths differ (found for '(weights)')
I looked at several similar questions on the internet and ended up deleting
all the
In your
> ordinalmodel <- polr(eduattain ~ dadedu, data = workdataset, weights =
> "SPFWT0", Hess = TRUE)
take the quotation marks off of SPFWT0. Like the subset argument, weights
is a literal expression, evaluated in the context of the data argument, not a
character string naming a column in
2 matches
Mail list logo