I have a dependent variable that is continuous. Another independent variable that is categorical (presence or absence). Thus based on the presence represented as1 and absence as 0, the dependent variable has certain value.
Before one builds a linear regression model, if we wish to find out one of the most imp. assumptions that whether the two variables are linear....it is advised to generate a scatter plot.
I assume that if both the variables (dependent & independent) are continuous, then its fine.
But if the independent has only 2 values (0 & 1) as in my case, the scatter plot would be just 2 straight lines, one for each value based on the values for the dependent variables.
How does one check for linearity between such cases?