![]() Multiple linear regression is an extension of simple linear regression for predicting an outcome variable (y) on the basis of multiple distinct predictor variables (x).įor example, with three predictor variables (x), the prediction of y is expressed by the following equation: y = b0 + b1*x1 + b2*x2 + b3*x3 In the following example, we predict sales units for two youtube advertising budget. Predictions can be easily made using the R function predict().
0 Comments
Leave a Reply. |