Hello,

for model
Code:
 
 (OLS model)X= Shock_dummy_variable + Firm Fixed effect + year Fixed effect (Tobit model)B= X + Firm Fixed effect + year Fixed effect (Tobit model)Y= B + X + Firm Fixed effect + year Fixed effect
I am running the code(for equation (3))
Code:
cmp ($x = shock_dummy_variable i.company_ID i.year) ($B = $x i.company_ID i.year) ($y = $B $x i.company_ID i.year), nonrtolerance ///
indicators($cmp_cont "cond($B>0, $cmp_cont, $cmp_left)" "cond($y>0, $cmp_cont, $cmp_left)")  
eststo:estpost margins, dydx ($B $x )
However, when I can obtain the coefficient results of them,
Coefficients of determinants of $X to $Y
(1) (2) (3)
$X $B $Y
Shock_dummy_variable -0.004
[0.004]
$B 18.933***
[3.781]
$X 0.881** -0.136
[0.429] [0.000]
Firm Fixed Effects Yes Yes Yes
Year Fixed Effects Yes Yes Yes
No. of observations 4254 4254 4254

I cannot obtain the marginal effect of them (especially equations (2) and (3)). All value in equations (2) and (3) is zero
marginal effects of determinants of $X to $Y
(1) (2) (3)
$X $B $Y
Shock_dummy_variable -0.004
[0.004]
$B 0.000
[0.000]
$X 0.000 0.000
[0.000] [0.000]
Firm Fixed Effects Yes Yes Yes
Year Fixed Effects Yes Yes Yes
No. of observations 4254 4254 4254
Do you know why? Could you please give me some advice about it?
Many thanks in advance.