Finally, we should not leave the analytic solution unmentioned:
xtreg y var1 var2 var3 var4, fe
qui sum y if e(sample)
scalar sy = r(sd)
foreach var of varlist var1 var2 var3 var4 {
qui sum `var' if e(sample)
di "standardised coefficient for `var': " _b[`var']*r(sd)/sy
}
Eva
2009/3/3 Mandy fu <[email protected]>:
> Hi Martin,
>
> Thanks for the stata tip of --ds--! I just ordered that article from
> our library(since my university need to borrow Stata Journal from
> other library) and will receive it in a few days. I haven't heared
> about the command --ds-- before. Thank you for introducing me this
> useful command!
>
> Best regards,
> Mandy
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/