?=================================================================== ? Davidson and Mackinnon J test for nonnested regressions = ? = ? User must define the data matrix with the following line: = ? = ? NAMELIST ; X = ... $ = ? = ? User must define the data matrix with the following line: = ? = ? NAMELIST ; Z = ... $ = ? = ? User's dependent variable is Y. Change the following line = ? = ? CREATE ; Y = the dependent variable $ = ?=================================================================== ? REGRESS ; Lhs = y ; Rhs = X ; Keep = yfx $ ? ? In this regression, we examine the coefficient on yfx ? REGRESS ; Lhs = y ; Rhs = Z, yfx $ REGRESS ; Lhs = y ; Rhs = Z ; Keep = yfz$ ? ? In this regression, we examine the coefficient on yfz ? REGRESS ; Lhs = y ; Rhs = X, yfz $