Display exact p-value after a linear regression

Display exact p-value after a linear regression

by Kristen -
Number of replies: 0

OPTION 1

di 2*ttail(df,abs(t))
example: 

regress weight bpsystol

di 2*ttail(10349,abs(30.371693))


OPTION 2

use "est tab" command after regression. 

Example: 

regress weight bpsystol

est tab, p(%-5.1e)