My data has 3 independent variables, all of which are categorical:
condition: cond1, cond2, cond3
population: A,B,C
task: 1,2,3,4,5
The dependent variable is the task completion time. I run lm(time~condition+user+task,data)
in R and get the following results:
What confuses me is that cond1, groupA, and task1 are left out from the results. From the thread linear regression "NA" estimate just for last coefficient, I understand that one factor level is chosen as the "baseline" and shown in the (Intercept) row.
But what if there are multiple factor levels used as the baseline, as in the above case?
- Does the (Intercept) row now indicates cond1+groupA+task1?
- What if I want to know the coefficient and significance for cond1, groupA, and task1 individually?
- For example, groupB has an estimated coefficient +9.3349, compared to groupA? Or compared to cond1+groupA+task1?