sysuse auto quietly regress price weight mpg test weight=mpg estadd scalar F_diff = r(F) estadd scalar p_diff = r(p) estout, stats(F_diff p_diff)