help mkest
-------------------------------------------------------------------------------

Title

mkest -- Convert variables to estimates matrix

Syntax

mkest [if] [in], replace b( ) v( ) [depvar( ) cmd( ) obs( )]

Description

mkest provides a fast and easy way to convert variables into estimates matrices e(b) and e(V).

mkest thus facilitates exporting of variables into non-Stata format through programs such as est_table, xml_tab, or outreg2.

Options

replace is required since the estimates may be lost

b( ) one variable to be placed in e(b)

v( ) one variable to be placed in e(V)

depvar( ) specifies depvar name

cmd( ) specifies cmd name

obs(#) specifies # of observations, N

Remarks

mkest is based on mkmat.

Examples

. sysuse auto, clear . mkest, b(price) v(mpg) replace

. eret list . mat list e(b)

. xml_tab ., replace . outreg2 using myfile, replace nonote noaster excel

Also see

Manual: [P] matrix mkest

Online: matrix