Displaying 1 result from an estimated 1 matches for "prvote3".
Did you mean:
prevote3
2005 Jul 13
1
problems with MNP
...;.
The total number of alternatives is 3.
Error in xmatrix.mnp(formula, data = eval.parent(data), choiceX =
call$choiceX, :
Error: Invalid input for `choiceX.'
Some variables do not exist.
>
> # another try using a string type dependent variable
>
> res1 <- mnp(PRVOTE3 ~ 1, choiceX = list(Clinton=UCLC, Dole=UDLC,
Perot=UPLC),
+ cXnames = "ut", data = small, n.draws = 500, burnin =
100,
+ verbose = TRUE)
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
invalid variable type
>...