SELECT * FROM LRTEST ( ON (SELECT * FROM damage_glm1 WHERE attribute = -1) AS "model1" PARTITION BY 1 ON (SELECT * FROM damage_glm2 WHERE attribute = -1) AS "model2" PARTITION BY 1 Statistic ('predictor') Loglik ('estimate') ObsNum ('std_err') ParamNum ('z_score') );