Linear regression with data having various units and/or categorical data.
If your data has different units and/or categorical variables then, standardize the data matrix and response with zscore().
Solve with standardized data then map back the solution to non-standardized with this function: convert(.)
引用格式
Daniel Vasilaky (2024). convert (https://www.mathworks.com/matlabcentral/fileexchange/104955-convert), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |