Name Daksh Pathak PRN 23021141032 Business Analytics Topics-Assignment 1, Optimization, Predictive Analysis
Name Daksh Pathak PRN 23021141032 Business Analytics Topics-Assignment 1, Optimization, Predictive Analysis
PRN – 23021141032
BUSINESS ANALYTICS
Assignment 1
Ques 1) What is the mean, median, and standard deviation of the selling prices?
Ques 2) Create a histogram of the km_driven variable. What insights can you draw from it?
Plot the distribution of the selling_price across different transmission types. What patterns do you
observe?
1
Ques 3) Calculate the correlation matrix for the numerical variables in the dataset. Which pairs of
variables have the highest correlation?
How does the year of the car correlate with the selling_price?
2
Ques 5) Perform a simple linear regression to predict the selling_price based on km_driven. What
is the R-squared value of the model?
Interpret the coefficients of the model. How does km_driven affect the selling_price?
Ques 6) Build a multiple linear regression model using year, km_driven, fuel, mileage, engine CC,
max_power, and seats as predictors for selling_price.
Evaluate the performance of the model using appropriate metrics (e.g., R-squared, RMSE).
3
Predictive analysis
4
5
OPTIMIZATION
Ques 1)
Ques 2)
6
Ques 3)
Ques 4)
7
Ques 5)
Ques 6)
8
Ques 7)