I am fitting an lm()
model to a data set that includes indicators for the financial quarter (Q1, Q2, Q3, making Q4 a default). Using lm(Y~., data = data
) I get a NA
as the coefficient for Q3, and a warning that one variable was exclude because of singularities.
Do I need to add a Q4 column?