method for GIM test statisticfor ls model