مهم
شكرا لك على اهتمامك في هذا المشروع. ومع ذلك ، يرجى العلم أن هذا المستودع لم يعد يتم الحفاظ عليه .
للحصول على أي احتياجات حرجة ، يرجى النظر في تخزين المستودع وإجراء التحديثات الخاصة بك.
تحذير
لدي مخاوف جسيمة بشأن صحة وسلامة البيانات التي تصل إليها هذه الحزمة. أحث المستخدمين على توخي الحذر الشديد والشك عند استخدام هذه الأداة ، والبحث عن مصادر بديلة لعملهم.
هذا هو رسمي [ملحوظة: لم أعد منتميًا إلى مختبر عدم المساواة في العالم ولا يمكنني تقديم أي ضمان بأن الأمر سيبقى وظيفيًا في قاعدة بيانات عدم المساواة في العالم (wid.world). يتيح للمستخدمين تنزيل البيانات مباشرة من wid.world إلى Stata.
يجب على المستخدمين تثبيت الأمر مباشرة من SSC:
ssc install wid
تتوفر توثيق الأمر بعد التثبيت باستخدام:
help wid
ارسم عدم المساواة في الثروة على المدى الطويل في فرنسا:
wid, indicators(shweal) areas(FR) perc(p90p100 p99p100) ages(992) pop(j) clear
// Reshape and plot
reshape wide value, i(year) j(percentile) string
label variable valuep90p100 " Top 10% share "
label variable valuep99p100 " Top 1% share "
graph twoway line value * year, title( " Wealth inequality in France " ) ///
ylabel(0.2 " 20% " 0.4 " 40% " 0.6 " 60% " 0.8 " 80% " ) ///
subtitle( " equal-split adults " ) ///
note( " Source: WID.world " )
ارسم تطور الدخل القومي قبل الضرائب للأسفل 50 ٪ من السكان في الصين وفرنسا والولايات المتحدة منذ عام 1978 (في مقياس السجل):
// Download and store the 2017 USD PPP exchange rate
wid, indicators(xlcusp) areas(FR US CN) year(2017) clear
rename value ppp
tempfile ppp
save " `ppp' "
wid, indicators(aptinc) areas(FR US CN) perc(p0p50) year(1978 / 2017) ages(992) pop(j) clear
merge n:1 country using " `ppp' " , nogenerate
// Convert to 2017 USD PPP (thousands)
replace value = value/ppp/1000
// Reshape and plot
keep country year value
reshape wide value, i(year) j(country) string
label variable valueFR " France "
label variable valueUS " United States "
label variable valueCN " China "
graph twoway line value * year, yscale(log) ylabel(1 2 5 10 20) ///
ytitle( " 2017 PPP USD (000's) " ) ///
title( " Average pre-tax national income of the bottom 50% " ) subtitle( " equal-split adults " ) ///
note( " Source: WID.world " ) legend(rows(1))
ارسم التطور على المدى الطويل لصافي الدخل القومي لكل شخص بالغ في فرنسا وألمانيا والمملكة المتحدة والولايات المتحدة (في مقياس السجل):
// Download and store the 2017 USD PPP exchange rate
wid, indicators(xlcusp) areas(FR US DE GB) year(2017) clear
rename value ppp
tempfile ppp
save " `ppp' "
// Download net national income in constant 2017 local currency
wid, indicators(anninc) areas(FR US DE GB) age(992) clear
merge n:1 country using " `ppp' " , nogenerate
// Convert to 2017 USD PPP (thousands)
replace value = value/ppp/1000
// Reshape and plot
keep country year value
reshape wide value, i(year) j(country) string
label variable valueFR " France "
label variable valueUS " United States "
label variable valueDE " Germany "
label variable valueGB " United Kingdom "
graph twoway line value * year, yscale(log) ///
ytitle( " 2017 PPP USD (000's) " ) ylabel(2 5 10 20 50 100) ///
title( " Average net national income " ) subtitle( " per adult " ) ///
note( " Source: WID.world " )