I am using Stata 17.0 and run the following IV model
By default the instrumented variable is printed first in the second stage output on Stata browser. I would like to export the table with another ordering of the variable, I use:
and get the table below, but I want to have variable length on top, then the instrumented variable second and trunk last. What do I get wrong?
Thank you
Code:
sysuse auto, clear xtivreg2 headroom (rep78 = gear turn) trunk length, fe
By default the instrumented variable is printed first in the second stage output on Stata browser. I would like to export the table with another ordering of the variable, I use:
Code:
outreg2 using "myfile.txt", sortvar(length rep78 trunk) replace
Thank you
