auto-mpg.data
and auto-mpg.names
. The auto-mpg.data
file contains the data and it is in space-separated format. The auto-mpg.names
file has several details about the dataset, including variable names for each column. Build a regression model for the fuel efficiency, as a function displacement (disp), horse power (hp), weight (wt), and acceleration (accel), using both OLS and Bayesian GLM. Predict the values for mpg in the test dataset using both the OLS model and Bayesian GLM model (using the bayesglm
function). Find the Root Mean Square Error (RMSE) values for OLS and Bayesian GLM and compare the accuracy and prediction intervals for both the methods.3.145.91.254