This application is built to evaluate diamond based on some characteristics selected by the user. The predicted value and a graphical plot of a linear regression is presented in this demonstrative app.
Dataset details
Data from 308 diamond sales have been analysed. The app uses a multivariate linear regression model of the data set to predict diamond prices. The multivariate linear regression model has a R-Squared of 0.95 suggesting 95% of price variability can be explained by the model.
modelFit <- train(price ~ ., data=Diamond, method="glm")
modelFit$results
## parameter RMSE Rsquared RMSESD RsquaredSD
## 1 none 773.8633 0.9501985 88.43621 0.009795948