Hello,
I am trying to run a mediation model with Stata with observed variables. I have panel data based on firm and year.
These are the variables I am trying to run the mediation analysis with: X: InvestorPressureScore; M: EnvironmentalPillarScore; Y: ROA1
First, I run the sem command and get results. To be able to interpret them, I tried running
This is where the issues start. Stata says (no path) or (constrained) and does not give me z-value, p-value or a confidence interval.
It would be great if someone could help me figure out the error!
Thank you,
Robin
I am trying to run a mediation model with Stata with observed variables. I have panel data based on firm and year.
These are the variables I am trying to run the mediation analysis with: X: InvestorPressureScore; M: EnvironmentalPillarScore; Y: ROA1
First, I run the sem command and get results. To be able to interpret them, I tried running
estat | teffects |
It would be great if someone could help me figure out the error!
Thank you,
Robin
. sem (EnvironmentalPillarScore | EnvironmentalPillarScore | InvestorP | |
> ressureScore), nocapslatent | |||
(1371 observations with missing values excluded) | |||
Endogenous variables | |||
Observed: EnvironmentalPillarScore ROA1 | |||
Exogenous variables | |||
Observed: InvestorPressureScore | |||
Fitting target model: | |||
Iteration 0: log likelihood = -94727.46 | |||
Iteration 1: log likelihood = -94727.46 | |||
Structural equation model Number | of | obs = 3,795 | |
Estimation method: ml | |||
Log likelihood = -94727.46 | |||
OIM | ||||
Coefficient std. err. | z | P>z | [95% conf. | interval] |
Structural | ||||
EnvironmentalPillarScore | ||||
InvestorPressureScore 7.61e-09 8.18e-10 | 9.30 | 0.000 | 6.01e-09 | 9.21e-09 |
_cons 48.99126 .4525535 | 108.26 | 0.000 | 48.10427 | 49.87824 |
ROA1 | ||||
EnvironmentalPillarScore -.0000661 .0000438 | -1.51 | 0.131 | .0001519 | .0000197 |
InvestorPressureScore 8.61e-13 2.23e-12 | 0.39 | 0.699 | 3.51e-12 | 5.23e-12 |
_cons .0717931 .0024672 | 29.10 | 0.000 | .0669574 | .0766287 |
var(e.EnvironmentalPillarScore) 695.4355 15.96489 | 664.8384 | 727.4407 | ||
var(e.ROA1) .005056 .0001161 | .0048336 | .0052887 | ||
Note: The LR test of model vs. saturated is not reported | because | the fitted | ||
model is not full rank. | ||||
. | ||||
end of do-file |
. estat teffects | ||||||
Direct effects | ||||||
OIM | ||||||
Coefficient | std. err. | z | P>z | [95% conf. | interval] | |
Structural | ||||||
EnvironmentalPillarScore | ||||||
InvestorPressureScore | 7.61e-09 | 8.18e-10 | 9.30 | 0.000 | 6.01e-09 | 9.21e-09 |
ROA1 | ||||||
EnvironmentalPillarScore | -.0000661 | .0000438 | 1.51 | 0.131 | -.0001519 | .0000197 |
InvestorPressureScore | 8.61e-13 | 2.23e-12 | 0.39 | 0.699 | -3.51e-12 | 5.23e-12 |
Indirect effects | ||||||
OIM | ||||||
Coefficient | std. err. | z | P>z | [95% conf. | interval] | |
Structural | ||||||
EnvironmentalPillarScore | ||||||
InvestorPressureScore | 0 | (no path) | ||||
ROA1 | ||||||
EnvironmentalPillarScore | 0 | (no path) | ||||
InvestorPressureScore | -5.03e-13 | (constrained) | ||||
Total effects | ||||||
OIM | ||||||
Coefficient | std. err. | z | P>z | [95% conf. | interval] | |
Structural | ||||||
EnvironmentalPillarScore | ||||||
InvestorPressureScore | 7.61e-09 | (constrained) | ||||
ROA1 | ||||||
EnvironmentalPillarScore | -.0000661 | .0000438 | 1.51 | 0.131 | -.0001519 | .0000197 |
InvestorPressureScore | 3.58e-13 | (constrained) | ||||
Comment