Hi,
In lesson 10, we fitted the relationship between child mortality and children per woman and income group, and get the following results.
In my understanding, for example, for the Lower-middle income group, the intercept should be -22.8577 + 15.7559 = -7.1018, however, the graph created using sns.lmplot shows an intercept of around 6 for that income group as shown below.
I don't understand why this is the case. This problem also exists for other income groups and categorical variables, such as species in the iris dataset.
Thank you very much!