Hello,

I am using the following command "bysort var: reg y x". In doing so, I get many results.

However, I am only interested to know whether the regression coefficient of x is statistically significant or not (less than equal to 10% level of significance). Is there any command in STATA that would tell me the number of times the regression coefficient is statistically significant for all the output that I get after using the "by sort var" command?

Many thanks in advance!

Sagnik