본문 바로가기
Stata

stata - 변수값들의 패턴 또는 빈도 출력 - groups 패키지 이용

2017. 9. 4.




. ssc inst groups
checking groups consistency and verifying not already installed...
installing into c:\ado\plus\...
installation complete.


. groups rent01 rent_land01 rent_house01 rent_office01 rent_etc01

  +----------------------------------------------------------------------+
  | rent01   rent_l~1   rent_h~1   rent_o~1   rent_e~1   Freq.   Percent |
  |----------------------------------------------------------------------|
  |      0          0          0          0          0    4387     90.79 |
  |      1          0          0          0          1       2      0.04 |
  |      1          0          0          1          0     119      2.46 |
  |      1          0          0          1          1       3      0.06 |
  |      1          0          1          0          0     274      5.67 |
  |----------------------------------------------------------------------|
  |      1          0          1          1          0      18      0.37 |
  |      1          1          0          0          0      25      0.52 |
  |      1          1          0          1          0       1      0.02 |
  |      1          1          1          0          0       3      0.06 |
  +----------------------------------------------------------------------+



댓글