Hi,
The 'fitlm' function in MATLAB does not directly provide standardized coefficients, but you can calculate them manually. Here's how you can do it:
- Standardize your input variables (X_m) and target variable (Y_m) by subtracting the mean and dividing by the standard deviation.
- Fit the linear model using the standardized variables.
- The coefficients from this model will be the standardized coefficients.
To visualize the standardized effects similar to a Pareto chart, you can create a bar chart with the absolute values of the standardized coefficients.
For more information on interpreting linear models in MATLAB, you can refer to the following MathWorks documentation:
I hope this resolves your issue.