Dear Statalist,

I want to put -nlcom- results in esttab table and these -nlcom- results are treated the same way as other regression variables in the esttab table.

For example, this is the regression i run
Code:
 sysuse auto

 reg price mpg weight
Then i run post-estimation command -nlcom-
Code:
nlcom _b[mpg]/_b[weight]
What I want is having _b[mpg]/_b[weight] estimates and standard error in esttab table and they are tabulated together with _b[mpg] and _b[weight]. The below table is what I want to get from -esttab-.
Array

My strategy is to copy the elements in r(b) and r(V) stored after -nlcom- and paste them into e(b) and e(V) which I thought are what -esttab- uses in making the table. But when I tried to add columns in e(b) or in e(V), stata reports conformability error. I wonder whether there are some ways to get around this error.

Kind regards,
Yugen