In 12.6, you are introduced to the topic of regression. In your own words, I'd like for you to describe what regression analysis is.
Then, I have a data set below on age and time spent on social media in a day. Based on what you see in the data, what will the regression analysis tell us if we want the time spent on social media to be the response variable?
Age |
Time spent on Social Media |
19 |
120 |
26 |
180 |
24 |
30 |
18 |
60 |
21 |
240 |
19 |
240 |
56 |
45 |
25 |
30 |
51 |
4 |
32 |
75 |
Answer: Regression Analysis, in a nutshell, is a method of identifying which variables have a significant impact on a chosen variable under study. It also determines what is the predicted outcome of a particular dependent variable when one or more than one independent, explanatory variables are used.
The general form of linear regression using one explanatory variable is
y_hat = b0 + b1*x
where y_hat is the predicted value of the response variable, b0 is the y-intercept , b1 is the slope, x is the given explanatory variable.
b1 is given by b1 = and b0 =
Here the linear regression equation comes out to be:
y_hat = 200.127 -3.358x
Which gives us a notion from the slope of the equation that on an average with increase in one year there is an association of 3.358 hour's decrease for the time spent on social media.
Get Answers For Free
Most questions answered within 1 hours.