formatting - R: Not all categorical variable levels are shown in the summary output of my GLM model -
I have experience with a variable name that was coded as numeric and contains 3 values (1,5, 10) are included. I received the
df $ experience & lt; The factor has changed by using the -factor (df $ experience) and it has changed for the factor. Next reg < Run a GLM model as -glm (cbind (win, loss) ~ experience, data = df, family = binomial) . But when I get the summary , the table shows only one level of the experience variables (i.e. experience10 ). There is another obvious variable, experience5
not even after using My sub-samples of data, other levels were being shown. I think this was just a matter of multicolority, where the other level was not being calculated in some way! Thanks!
Comments
Post a Comment