Dear All,
I am using the function vuong of the package pscl to compare 2 non nested glm models with a numeric response.
I did the following

m1<-glm(y ~x ,data=xxx) 
m2<-glm(y ~z , data=xxx)

When calling the vuong function I get the following message:

> vuong(m1,m2)
Error in predprob.glm(m1) : your object of class glm is unsupported by predprob.glmyour object of class lm is unsupported by predprob.glm


My guess is that this function does not support numeric response!!!!! How can I solve the problem?

Any help will be really appreciated.

mirko





 
	[[alternative HTML version deleted]]

