Problem#1 Linear Regression The values of 2 variables X and Y are given below. Here X is the predictor variable and Y is the response variable. X Y 25 5 30 260 35 40 480 745 45 1100 Build your regression model using the following 3 methods. a) Closed form solution - using only the mean of 'x', 'y', 'x*y', 'x²¹ variables. b) Closed form solution - using the correlation coefficient between 'x' and 'y' variables and the standard deviation of both variables. c) R-'Im' function Make sure that your answers are the same using all the 3 methods.
Problem#1 Linear Regression The values of 2 variables X and Y are given below. Here X is the predictor variable and Y is the response variable. X Y 25 5 30 260 35 40 480 745 45 1100 Build your regression model using the following 3 methods. a) Closed form solution - using only the mean of 'x', 'y', 'x*y', 'x²¹ variables. b) Closed form solution - using the correlation coefficient between 'x' and 'y' variables and the standard deviation of both variables. c) R-'Im' function Make sure that your answers are the same using all the 3 methods.
Related questions
Question
Please help step by step with explanation with Program R (CS) with a final code for understanding thank you.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images