Linear Regression

Single Linear Regression

EXAMPLE:

Company wants to predict results (amounts of clicks) of future posts on a social media platform. Based on the time of the day when the post was uploaded to the platform.

Sample data from multiple days were collected and average values were calculated.

Looking at the data it is noticable that the highest activity is at 16 this may be as well due to temporary situation( kids are on holidy break which will finish soon), therefore further analysis is recomended.


TESTING:

Adjusted R Square = 0.6948
Coefficients:
Intercept = -27.24
TIME = 9.1829 with p-value < .05


RESULTS:

y = a + bx
where y = amount of clicks
a = intercept
bx = TIME

y = -27.24 + (9.1829 * 14) = 101.32


EXPLANATION:

Based on estimated results, at 2pm (14) post should receive 101 clicks.