Question: Linear Regression and K - means Clustering Instructions: For each question, students should: Use R scripts to perform the analysis. Generate necessary plots and include
Linear Regression and Kmeans Clustering
Instructions:
For each question, students should:
Use R scripts to perform the analysis.
Generate necessary plots and include them in the final document.
Provide detailed explanations for their observations and interpretations.
Compile all scripts, plots, results, and explanations in a Word or PDF document and
submit it
Question : Multiple Regression Analysis points
Using the dailyactivitymerged dataset, perform a multiple regression analysis where the
response variable is calories burned Calories and the predictor variables are:
Sedentary minutes sedentaryMinutes
Very active minutes veryActiveMinutes
Lightly active minutes lightlyActiveMinutes
Tasks:
Load the dataset and perform a multiple regression analysis.
Create diagnostic plots to check assumptions.
Interpret the summary statistics of your regression model.
Deliverables:
R scripts used for analysis. points
Plots generated during the analysis. points
Written interpretation of the results, including any assumptions checked and their
implications. points
Question : Kmeans Clustering points
Using the hourlyintensitiesmerged dataset, perform kmeans clustering using the following
two features:
Total intensity totalintensity
Average intensity averageintensity
Tasks:
Load the dataset and perform kmeans clustering. Determine the optimal number of
clusters, and explain why you chose your optimal number.
Visualize the clusters using a scatter plot.
Interpret the clusters formed and discuss any patterns or insights you observe regarding
activity intensity.
Deliverables:
R scripts used for analysis. points
Plots generated during the analysis. points
Written interpretation of the clustering results, including any patterns identified.
points
Linear Regression and Kmeans Clustering
Instructions:
For each question, students should:
Use R scripts to perform the analysis.
Generate necessary plots and include them in the final document.
Provide detailed explanations for their observations and interpretations.
Compile all scripts, plots, results, and explanations in a Word or PDF document and
submit it
Question : Multiple Regression Analysis points
Using the dailyactivitymerged dataset, perform a multiple regression analysis where the
response variable is calories burned Calories and the predictor variables are:
Sedentary minutes sedentaryMinutes
Very active minutes veryActiveMinutes
Lightly active minutes lightlyActiveMinutes
Tasks:
Load the dataset and perform a multiple regression analysis.
Create diagnostic plots to check assumptions.
Interpret the summary statistics of your regression model.
Deliverables:
R scripts used for analysis. points
Plots generated during the analysis. points
Written interpretation of the results, including any assumptions checked and their
implications. points
Question : Kmeans Clustering points
Using the hourlyintensitiesmerged dataset, perform kmeans clustering using the following
two features:
Total intensity totalintensity
Average intensity averageintensity
Tasks:
Load the dataset and perform kmeans clustering. Determine the optimal number of
clusters, and explain why you chose your optimal number.
Visualize the clusters using a scatter plot.
Interpret the clusters formed and discuss any patterns or insights you observe regarding
activity intensity.
Deliverables:
R scripts used for analysis. points
Plots generated during the analysis. points
Written interpretation of the clustering results, including any patterns identified.
points please write the code in R program R script. No python
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
