Hi
I want to report t or z stats for one-sided instead of two-sided test after markov switching model. I did the following.
however, I get an error messge;
H_0: coef<=0 p-value = unknown function *sqr()
Can someone help to fix this please? Thanks
I want to report t or z stats for one-sided instead of two-sided test after markov switching model. I did the following.
Code:
mswitch dr gdp, switch(inf) states(2) varswitch vce(oim) local sign_inf1 = sign(_b[State1:inf]) display "H_0: coef<=0 p-value = " 1-normal(`sign_inf1'*sqrt(r(chi2))) display "H_0: coef>=0 p-value = " normal(`sign_agg_inf1'*sqrt(r(chi2)))
H_0: coef<=0 p-value = unknown function *sqr()
Can someone help to fix this please? Thanks
Comment