Hi everyone,

I have a panel data set and i run logistic regressions with it via xtlogit. I have of course a time variable, time. As I already said, i run xtlogit with the dependent variable and the independent variables.
Now i want to graphically show the effect of one independent variable on the dependent variable over time. For this, i would use margins. But unfortunately, I don't know how to compute it.
My question therefore is: Is there a way to graphically show the effect of one independent variable on the dependent variable over time in stata? Because of course an interaction in the regression between time and an independent variable doesn't make sense.
So is there a way to show graphically the effect of independent variables on the dependent variable over time?

I hope you understand what i mean.

Many thanks