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
Related Posts with Interaction in Pandeldata/Panelregression
Problem with xtunitroot llc: throws error r(2000) with strongy balanced panelI am using the Levin Lin Chiu test in Stata 17 to test for stationarity in a panel of 115 countries,…
IBES Analyst Mean Forecast (EPS) for Year 1-3Dear all, I have downloaded the analyst forecast data from IBES and now want to create panel data (U…
Error in post command: unknown function () post: above message corresponds to expression 1, variable I´m getting an error in my code when using post command but I don´t know why. The code is reproduc…
using coefplot with xtregI am using HTML Code: xtreg to run an event study model and would like to use coefplot with it. I h…
Twoway line graph with non-integer intervalsHi, I want to create a two-way line graph with the line restricted between two years value. The prob…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction in Pandeldata/Panelregression
Post a Comment