compare arbitrary (non-nested) linear models

When comparing two unrelated models, is it possible to determine which model better explains the data? It seems compare tests whether the altlme better explains the actual data (relative to lme) than random data generated by lme. So compare(model1, model2) and compare(model2, model1) can both be significant. Thanks

回答(1 个)

you can use AIC and BIC
also if the number of parameters is the same, then you can do Likelihood dominance test

类别

帮助中心File Exchange 中查找有关 Linearization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by