Let's say I did a GLM including one categorical factor (let's say with three levels, so two indicator variables). In such a case, I understand that the interpretation of the p-value associated with each of the two variables (that is, the null hypothesis that each variable is testing) is different depending on how the factor was coded in the model. For example whether I used sum-coding, reference coding, etc. But the overall model remains the same, irrespective of coding system.
Now let's say I had a mixed model, and I wanted to get a p-value for each of the fixed effects. To do this I use a LLR-test to compare the log likelihoods of the model with and without the effect in question. My understanding is that the likelihood of a model is the same irrespective of how the independent variables were coded. If this is true, then I would not expect the LLR to depend on how the variable was coded either. Is this intuition correct? Does this mean that p-values from a LLR-test have a different meaning compared those obtained from a GLM?