Hi all,
I am trying to solve the following equation system. The data is panel and I will include fixed effects (id, time)
depvarA = z x1 x2 i.id i.time (eq.1)
depvarB = depvarA x1 x2 i.id i.time (eq.2)
depvarC = depvarB x3 i.id i.time (eq.3)
If there are only first two equations, I would try the following
xi:xtivreg depvarB x1 x2 i.time (depvarA = z), fe cluster(id)
However, I have no idea when it comes to solving three equations with panel data.
The only thing I know is reg3, which does not allow robust standard errors.
One thing I can think of is combining eq1 and eq2 like
depvarB = z x1 x2 i.id i.time
However, I do want to see how variable z impacts depvarA, which again impacts depvarB, which impacts depvarC.
Related Posts with panel data with three equations
Difference in difference testing pre-treatment trendDear Statalist community, I'm using the difference-in-difference technique to investigate the impac…
Data transformation: creating new variables out of independent survey answersHi! I am researching the effect of cosmetic combinations on the perception of leadership characteris…
Converting to a date from YMDHello everyone, I have a data set with the variable date in it and it looks like this Code: …
The indenpendent variable has two catagories. Which model can I use to analyse the effect of denpendent variables on it?Dear statalist users: My indenpendent variable has two catagories. One is theft case and the other i…
error obtaining scores for robust variance Code: mixed y cl.x##c.w age edu i.ind || id:cl.x, vce(robust) cov(exc) here is the data: https://…
Subscribe to:
Post Comments (Atom)
0 Response to panel data with three equations
Post a Comment