cmpChi function

Compare model with Chi-square test

Compare model with Chi-square test

It performs chi-square test for two models comparison.

cmpChi(r1, r2)

Arguments

  • r1: A result from nlr
  • r2: Another result from nlr

Details

One model should include the other model.

Returns

Returns a p-value from pchisq

Author(s)

Kyun-Seop Bae k@acr.kr