Hi Everybody
I'm running the ORIV correlation command for different specifications in my data set. The command results in a correlation and boostrapped standard errors as output, for which I can use return list to obtain the r(se) and r(corr). I have put an example in the quotes below. I would now like to create a Tex table that resembles an eststab output, in which I am shown the values for r(corr) as "regressions results" and the values for r(se) as the standard errors.
I'm not very good at using scalar and matrix commands in Stata and I'm therefore a bit overwhelmed. Can anyone help me create this table? Thanks a lot!
I'm running the ORIV correlation command for different specifications in my data set. The command results in a correlation and boostrapped standard errors as output, for which I can use return list to obtain the r(se) and r(corr). I have put an example in the quotes below. I would now like to create a Tex table that resembles an eststab output, in which I am shown the values for r(corr) as "regressions results" and the values for r(se) as the standard errors.
I'm not very good at using scalar and matrix commands in Stata and I'm therefore a bit overwhelmed. Can anyone help me create this table? Thanks a lot!
ORIVCorrelation, group1(treartment) group2(x1 x2) bsreps(5000)
Estimated correlation is: -0.30641444
with boostrap s.e. : 0.14364627
return list
scalars:
r(pval) = .9832515328782135
r(tstat) = -2.133117879385
r(se) = .1436462740817346
r(corr) = -.3064144355507862
Estimated correlation is: -0.30641444
with boostrap s.e. : 0.14364627
return list
scalars:
r(pval) = .9832515328782135
r(tstat) = -2.133117879385
r(se) = .1436462740817346
r(corr) = -.3064144355507862
