Output The Equation of a Regression
Description
equation gives the equation after a regression.
Examples
. sysuse auto
. reg price weight length i.foreign
. equation
. reg price weight length i.foreign i.rep78 mpg trunk turn displacement gear_ratio
. equation
. webuse nlswork
. xtreg ln_w grade age c.age#c.age ttl_exp c.ttl_exp#c.ttl_exp tenure c.tenure#c.tenure 2.race not_smsa south, be
. equation
For problems and suggestions
Author: Liu wei, The School of Sociology and Population Studies, Renmin University of China. Address: Zhongguancun Street No. 59, Haidian District, ZIP Code: 100872. E-mail: rucwz-stata@yahoo.cn
Also see
Other Commands I have written:
curvefit (if installed) ssc install curvefit (to install) deci (if installed) ssc install deci (to install) elife (if installed) ssc install elife (to install) ftrans (if installed) ssc install ftrans (to install) freplace (if installed) ssc install freplace (to install) ftree (if installed) ssc install ftree (to install) fren (if installed) ssc install fren (to install) fdta (if installed) ssc install fdta (to install)