Median number of years of schooling completed [message #18180] |
Mon, 07 October 2019 08:10 |
biswaj41_ssf
Messages: 7 Registered: May 2019
|
Member |
|
|
I want to replicate the Median number of years of schooling completed (from table 2.17, India National Report). I am using following STATA code but unable to get exact value reported in the national report.
tabstat hv108 [aweight=iwt] if hv103 == 1 & (hv105 >=10 & hv105 <=14) & (hv108 >= 0 & hv108 <=20), statistics(mean p50) by (hv104) format(%10.2fc)
Any help in this regard would be highly appreciated. Thanks!
|
|
|
|