How to extract specific information from a table, an output when fitlm() function in sued
10 ビュー (過去 30 日間)
古いコメントを表示
Hello, am curretly trying to compare several models to determine which one best explains the physical phenomenon. To do this, am using regression analysis to compare each model against the actual experimental data. In each comparsison, I get a table similar to the one below. I would like to pick each R-squared value for each model and store it in a matrix to allow me perform further analaysis.How do I go about this?
0 件のコメント
採用された回答
Walter Roberson
2024 年 10 月 5 日
Store the result of fitlm() in a variable, such as mdl
Access the Rsquared property of the variable such as
mdl.Rsquared
This will be a structure with fields
Ordinary
Adjusted
Extract the value you want and store it in a matrix.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!