You work for a construction firm who need to be able to accurately predict the compressive strength of concrete given variables including the concrete composition and its age. You are aware that the relationship between these different components and the concrete strength is complex, however you have been asked to investigate how well a simple linear regression model works for prediction. Using the provided data (Concrete_Data.xls), develop models to predict:
With the second model, determine if any variables are not contributing significantly to the model, and what impact removing these has on prediction performance. Comment on the final model and its accuracy.
You should draw on the unit content concerning correlation and regression to answer this question. Note that you are not expected to use training/validation/testing data splits, although you are welcome to do so. (Provide a MATLAB code and visualisations to justify your response.)
PLEASE solve using fitlm for regression
LINK TO XLS FILES:
https://www.dropbox.com/s/1k7wb7yk2o6h2ib/Concrete_Data.xls?dl=0
Get Answers For Free
Most questions answered within 1 hours.