You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks progress and decisions related to contrast treatment for categorical variables.
As per discussion on the slack workspace:
Basically it seems that there are two different approaches here:
Set the contrast so the group mean is assigned to the intercept
Set the contrast so the group reference level is assigned to the intercept.
These two approaches will lead to the following results:
In this case any new "unseen" levels will have the group mean of the variable.
In this case, assuming the reference level is the one with the highest level of exposure, any 'unseen' variable will have the group mode of the variable.
The question is then if it is better to pick the mean or the mode.
The text was updated successfully, but these errors were encountered:
This issue tracks progress and decisions related to contrast treatment for categorical variables.
As per discussion on the slack workspace:
Basically it seems that there are two different approaches here:
These two approaches will lead to the following results:
The question is then if it is better to pick the mean or the mode.
The text was updated successfully, but these errors were encountered: