Re: [R] Error in Switch in KhmaladzeTest

2008-10-15 Thread roger koenker
Hey back, If you had RTFM you would know that the first argument of the function KhmaladzeTest was supposed to be a formula, so try: T <- KhmaladzeTest(Logloss~AS+AM+CB+CF+RB+RBR, data=CPBP, nullH="location") url:www.econ.uiuc.edu/~rogerRoger Koenker email[EMAIL PROTECT

[R] Error in Switch in KhmaladzeTest

2008-10-15 Thread xiaolu . x . ren
Hey, My dataset has 1 dependent variable(Logloss) and 7 independent dummy variables(AS,AM,CB,CF,RB,RBR,TS) , it's attached in this email. The problem is I cant finish Khmaladze test because there's an error "Error in switch(mode(x), "NULL" = structure(NULL, class = "formula"), : invalid formula"