Hi,
I have a large unbalanced panel for 2010, 2013, 2016 and 2019. xtsum shows that the time invariant variable 'male' for person_id has variance of 0.08 and min, max values of -.23 and 1.23. This suggests errors with the data. How can I figure out which person_ids are causing the problem?
Any advise much appreciated.
I have a large unbalanced panel for 2010, 2013, 2016 and 2019. xtsum shows that the time invariant variable 'male' for person_id has variance of 0.08 and min, max values of -.23 and 1.23. This suggests errors with the data. How can I figure out which person_ids are causing the problem?
Code:
. xtset person_id year . xtsum male Variable | Mean Std. dev. Min Max | Observations -----------------+--------------------------------------------+---------------- male overall | .4853448 .4998003 0 1 | N = 16547 between | .4947272 0 1 | n = 8320 within | .082274 -.2646552 1.235345 | T-bar = 1.98882
Any advise much appreciated.
Comment