While regression models are easy to run given their short, simple syntax, this accessibility also makes it easy to use regression inappropriately. These models have several key assumptions that need to be met in order for their output to be valid, but your code will typically run whether or not these assumptions have been met.
Video tutorial
For linear regression (used with a continuous outcome), these assumptions are as follows:
#data-science #r #correlation #data-analysis #regression