I am currently using Stata 14 and attempting to use putexcel to write svy: tab results to Excel in table format.
I have no problem returning stored results from matrices using estpost, as follows:
I am however keen to write the confidence intervals for this estimation to putexcel, formatted correctly for a publication table as (lb-ub). I have not been able to work out how to do this using matrix functions. I can return the confidence interval in separate columns, using the follow:
However, I am keen to format this as described above.
This is my first time posting on here, I hope that I have correctly followed the conventions and provided sufficient information. This solution to this has eluded me for quite some time.
Thanks,
I have no problem returning stored results from matrices using estpost, as follows:
Code:
estpost svy: tab var mat B = e(b) mat C = B' mat D = C*100 putexcel (B3) = matrix(D), nformat(0.0)
Code:
estpost svy: tab estudio_cat mat E = e(lb) mat F = E' mat G = F*100 mat H = e(ub) mat I = H' mat J = I*100 mat K = G,J putexcel (D3) = matrix(K), nformat(0.0)
This is my first time posting on here, I hope that I have correctly followed the conventions and provided sufficient information. This solution to this has eluded me for quite some time.
Thanks,
Comment