Hi all,

I have been working through the examples in one of the vignettes associated with the 'mlogit' package, 'Kenneth Train's exercises using the mlogit package for R.'  In spite of using the code unchanged, as well as the data used in the examples, I have been unable to run a Wald test to test two models.

Specifically, I have run the following command, where mc and mi2 are fitted models:
waldtest(mc,mi2)

I think that the test is taken from the 'lmtest' package.  I get the following error message:
Error in terms.default(x) : no terms component

The two fitted models are:
mc <- mlogit(depvar ~ ic + oc, H, reflevel="hp")
mi2 <- mlogit(depvar ~ oc + ic | income, H, reflevel="hp")

I would be grateful for tips on how to proceed.  Thanks in advance.

Best regards,
Gaurav S. Ghosh, Ph.D.,
E.ON Energy Research Centre, Room 01.32,
RWTH Aachen,
Mathieustraße 6,
D-52074 Aachen, Germany



	[[alternative HTML version deleted]]

