My dataset resembles the following:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double(y x) 1 2 2 3 3 2 4 1 end
I wish to run a regression of y on x, and then run some t-tests for the coefficient of interest, _b[x]. I run:
Code:
reg y x test _b[x]=1
As such, I make use of eststo, following which I use estout (before I used esttab):
Code:
reg y x eststo t1: test _b[x]=1 eststo t2: test _b[x]=2 estout
Best,
CS
0 Response to Exporting results after t-test , esttab
Post a Comment