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
Cox regression assumptionI am doing a research to examine the association between sleep and all-cause mortality. The average …
How to filter dates within an interval from a set of observationHello, i have a dataset of around 900,000 observations from about 130,000 ids. The variables i am w…
how to get x-standardized coefficient in logistic regression, i.e., reproduce results from "listcoef" commandI was trying to get the standardized coefficient from ologit model. "listcoef" can produce the table…
reshape - wide connectionsI have variables in wide that belong together i groups (eg. var1a and var2a). I would like to reshap…
SEM, error coefficients output.Hi, How can I receive the outputs for the "path coefficient" of error terms to each items of a laten…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction in Pandeldata/Panelregression
Post a Comment