Hello. I have panel data. How could we calculate the share of inter and intra variabilities in total variabilities? A reviewer of an econometrics journal recommends reporting such share. Stata’s “xtsum” reports the standard deviations for overall, between, and within. However, the sum of the between (inter) and within (intra) variances is not equal to the overall variance, and the standard deviation for between can be larger than the standard deviation for overall, as follows.
https://www.stata.com/manuals13/xtxtsum.pdf
. use http://www.stata-press.com/data/r13/nlswork
(National Longitudinal Survey. Young Women 14-26 years of age in 1968)
. xtsum hours
Variable | Mean Std. Dev. Min Max | Observations
-----------------+--------------------------------------------+----------------
hours overall | 36.55956 9.869623 1 168 | N = 28467
between | 7.846585 1 83.5 | n = 4710
within | 7.520712 -2.154726 130.0596 | T-bar = 6.04395
. xtsum birth_yr
Variable | Mean Std. Dev. Min Max | Observations
-----------------+--------------------------------------------+----------------
birth_yr overall | 48.08509 3.012837 41 54 | N = 28534
between | 3.051795 41 54 | n = 4711
within | 0 48.08509 48.08509 | T-bar = 6.05689
Then, we cannot calculate a meaningful share of the between or within variabilities in overall variabilities using the xtsum statistics? Is there any way to obtain such share? I am using Stata/SE 16.1. I would appreciate your help.
Related Posts with Panel data: the share of inter and intra variabilities in total variabilities for each variable
Kleibergen Paap F statistic test in xtdpdgmmHi everyone, I'm currently working with xtdpdgmm for my thesis but I'm confused how to get Kleiberge…
quarterly returnsHi To calculate quarterly index returns from monthly index returns starting from the first month o…
The "replace" option to the table command in Stata 16 is on longer available in Stata17; is there an alternative in Stata 17?In Stata 16 you could code: table ..., replace to replace the data in memory with the results produc…
how to do instrument strength test for non-i.i.d error (more than one endogenous variables)Dear all, I wish to test instrument strength for the non-i.i.d error, and I have 3 endogenous varia…
Combining Two Similar Variables To be in one rowHi All, I have the following 2 variables that serve the same purpose and I'm trying to generate one…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data: the share of inter and intra variabilities in total variabilities for each variable
Post a Comment