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
Calculating adjusted prevalence with poisson and testing interactionHi everybody, I would like to calculate the adjusted prevalence of smoking (0=non smoker, 1=current…
markstat - problem with citationsDear Stata users, I've been using the -markstat- command (version 2.1) written by @German Rodriguez…
invalid name r(198) when trying to drop placeholder values from datasetNew to Stata so this may be a stupid question. I am trying to drop placeholder values from a dataset…
Putdocx in a loopHi, I am trying to create several word documents containing some text, data, and pictures, I am doi…
Do file issuesDear all, It's my first time posting a question (I have been applying lots of tips you guys have sol…
Subscribe to:
Post Comments (Atom)
0 Response to panel data with three equations
Post a Comment