Hi everyone, I am conducting the Wooldridge test for serial autocorrelation for my mediation analysis. My data is unbalanced panel data.
I wanted to know if I should include the mediator and control variables to the xtserial command or not? Basically I have added lagged Dependent Variable (DV) as a control which is why I wanted to check for autocorrelation. But I am not sure if I need to include all control variables as well as the mediator variable in the test. Right now I am using the following equation:
1. xtserial DV IV MV CV1 CV2 CV3 CV4
Where DV= Dependent Variable, IV= Independent Variable, MV= Mediator Variable, CV1-CV4= Control Variables
Should I use this set up or should I just keep the following set up with just one control variable which is the lagged DV:
2. xtserial DV IV MV CV1(Lagged DV)
Thank you in advance!
Related Posts with Do I add mediator and control variables in Wooldridge test for autocorrelation on Stata?
Graph Bar problem with allcategories and nofill optionDear User, since I can't post a .dta file, I try to explain my problem. I can't create an example d…
New to stata need help.hi my final year project involves analyzing bicycle crashes in my state, im new to the software stat…
(Country) fixed effects for bilateral trade data in gravity modelHello everyone, I'm currently working on a Gravity Model and I'm quite confused about how to proper…
Merge IssueHello Everyone, Hope you are doing great. I am running my code, but right in the middle of my code …
Data Set required for Economic Turmoil and ConflictHello I am looking for two dataset to create dummy variables from. 1. Regarding Economic Turmoil ex.…
Subscribe to:
Post Comments (Atom)
0 Response to Do I add mediator and control variables in Wooldridge test for autocorrelation on Stata?
Post a Comment