compare_models function

Compare different models fitted by est_multi_poly

Compare different models fitted by est_multi_poly

Given different outputs provided by est_multi_poly, the function compare the different models providing a unified table.

compare_models(out1, out2, out3=NULL, out4=NULL, out5=NULL, nested=FALSE)

Arguments

  • out1: output from the 1st fitting
  • out2: output from the 2nd fitting
  • out3: output from the 3rd fitting
  • out4: output from the 4th fitting
  • out5: output from the 5th fitting
  • nested: to compare each model with the first in terms of LR test

Returns

  • table: table summarizing the comparison between the models

Author(s)

Francesco Bartolucci - University of Perugia (IT)

  • Maintainer: Francesco Bartolucci
  • License: GPL (>= 2)
  • Last published: 2017-06-06

Useful links