Question: Simulate a multiple regression with two predictors problem by yourself, with sufficient sample size, e . g . , 5 0 0 0 0 samples.

Simulate a "multiple" regression with two predictors problem by yourself, with sufficient sample size, e.g.,50000 samples.
y=0+1x1+2x2+lon,lonN(0,2).
a.(5%) Use the regression package in your preferable environment (R or Python) to analyze the problem and review the results.
b.(15%) From the perspective of "machine learning," code the gradient descent method to optimize (minimize) the error function and get the coefficients. Do you get the same results as those in (a)? Demonstrate the evolution of the iterative errors and the searching path in the domain of the error function.
?** Make any necessary assumptions by yourself if not mentioned above.
 Simulate a "multiple" regression with two predictors problem by yourself, with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!