Hi all. The question I am asking below, I have also posted it here but it is not answered yet.
I am using Stata to make my analysis. I know that to examine p-trend I can rerun the model by treating the categorical variable as continuous. But my model has also interaction term which made it difficult to for me interpret the p value. In short My original model is
logistic y i.quintile i.x i.quintile#i.x
So inorder to get the p-trend should I change the model to
logistic y quintile x i.quintile#x
Or
logistic y quintile x c.quintile#x ?
I have tested the model with continuous scores instead of quintiles and there was no important difference. So I have done the regression with the quintiles to understand the non linear relationship. Thnx
I am using Stata to make my analysis. I know that to examine p-trend I can rerun the model by treating the categorical variable as continuous. But my model has also interaction term which made it difficult to for me interpret the p value. In short My original model is
logistic y i.quintile i.x i.quintile#i.x
So inorder to get the p-trend should I change the model to
logistic y quintile x i.quintile#x
Or
logistic y quintile x c.quintile#x ?
I have tested the model with continuous scores instead of quintiles and there was no important difference. So I have done the regression with the quintiles to understand the non linear relationship. Thnx
Comment