Model selection function that compare all possible models with given predictor variables

3 ビュー (過去 30 日間)
Yuexun Tian
Yuexun Tian 2020 年 10 月 30 日
回答済み: Juhi Singh 2020 年 11 月 3 日
I am trying to do model selection with two predictors (x1,x2) and their interactions, which results 4 potential models: 1) x1, 2) x2, 3) x1 and x2, 4) x1 and x2 and their interaction. Is there a function that I can use that do the model selection from those 4 models and give me the evaluation parameters, such as R2, AIC, and CI.

回答 (1 件)

Juhi Singh
Juhi Singh 2020 年 11 月 3 日
Refer to the following links for more information regarding model selection:
For automatic model selection, refer to the following links:

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by