For an indepdent numerical variable X the B1 coefficient is COV(X,Y)/Var(X).
Since Categorical Variables don't have things like Means(from which things like COV and VAR are derived) how would it work to derive a simple linear regression for an independent binary categorical variable? What does its formula look like? How would it look like going to multiple linear regression? Thank you.