Page 1 of 1

Extract t-stats from a panel

Posted: Tue Jan 10, 2017 5:10 am
by Kavorka
Any advice on how to estimate the following model? I guess that I can calculate ybar(t-1) and d(ybar(t)) by using @bymeans.

series y_timemeans = @meansby(y_, @date)
cadf_.jpg
cadf_.jpg (89.03 KiB) Viewed 3389 times
Something like:
d(y_) c y_(-1) y_timemeans(-1) d(y_timemeans) d(y_(-1))

However, how can I save the series/vector of the t-stats for b(i)? Can I extract the t-stats for b(i) with some command (without starting looping or something, I do not want to estimate every i individually)?

Re: Extract t-stats from a panel

Posted: Wed Jan 11, 2017 7:09 am
by KrilleJ
I have used

Code: Select all

vector mytstats=nameofpanelobj.@tstats
Then you can partition the output vector as you want.

Would that work?

/K