Overall Process, Replicability and Transparency of...

25
Overall Process, Replicability and Transparency of ICP Results ICP Global Office 5 th Meeting of the ICP Technical Advisory Group February 20-21, 2019, Washington, DC

Transcript of Overall Process, Replicability and Transparency of...

Page 1: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

Overall Process Replicability and Transparency of ICP Results

ICP Global Office

5th Meeting of the ICP Technical Advisory GroupFebruary 20-21 2019 Washington DC

2

Recap Data Management Enhancements

and Transparency Improvements

Computation Task Team Updates

Computation Data Flow Updates

Content

3

Recap Data Management

Enhancements and

Transparency Improvements

4

Data Management Enhancements (1)

Continued use of data management enhancements

A collaborative online item list management tool(ILMT) building on Eurostatrsquos tool [for ICP 2020]

Data and metadata submission standardsforms[for ICP 2017]

A central data and metadata management systembuilding on the WBGrsquos long-standing data systems[for ICP 2017]

New quality assurance approaches utilizingvisualizations [for ICP 2017]

5

Data Management Enhancements [2]

Continued development of further enhancements

New collaborative online quality assurance toolbuilding on Eurostatrsquos tool [for ICP 2020]

Result dissemination platforms building on theWBGrsquos long-standing data dissemination systems[for ICP 2017]

Online researcher data access system for accessto unpublished results data and metadata [for ICP2017]

ICP Github for storing and sharing ICP processingcodes (STATA and R) [for ICP 2017]

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 2: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

2

Recap Data Management Enhancements

and Transparency Improvements

Computation Task Team Updates

Computation Data Flow Updates

Content

3

Recap Data Management

Enhancements and

Transparency Improvements

4

Data Management Enhancements (1)

Continued use of data management enhancements

A collaborative online item list management tool(ILMT) building on Eurostatrsquos tool [for ICP 2020]

Data and metadata submission standardsforms[for ICP 2017]

A central data and metadata management systembuilding on the WBGrsquos long-standing data systems[for ICP 2017]

New quality assurance approaches utilizingvisualizations [for ICP 2017]

5

Data Management Enhancements [2]

Continued development of further enhancements

New collaborative online quality assurance toolbuilding on Eurostatrsquos tool [for ICP 2020]

Result dissemination platforms building on theWBGrsquos long-standing data dissemination systems[for ICP 2017]

Online researcher data access system for accessto unpublished results data and metadata [for ICP2017]

ICP Github for storing and sharing ICP processingcodes (STATA and R) [for ICP 2017]

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 3: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

3

Recap Data Management

Enhancements and

Transparency Improvements

4

Data Management Enhancements (1)

Continued use of data management enhancements

A collaborative online item list management tool(ILMT) building on Eurostatrsquos tool [for ICP 2020]

Data and metadata submission standardsforms[for ICP 2017]

A central data and metadata management systembuilding on the WBGrsquos long-standing data systems[for ICP 2017]

New quality assurance approaches utilizingvisualizations [for ICP 2017]

5

Data Management Enhancements [2]

Continued development of further enhancements

New collaborative online quality assurance toolbuilding on Eurostatrsquos tool [for ICP 2020]

Result dissemination platforms building on theWBGrsquos long-standing data dissemination systems[for ICP 2017]

Online researcher data access system for accessto unpublished results data and metadata [for ICP2017]

ICP Github for storing and sharing ICP processingcodes (STATA and R) [for ICP 2017]

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 4: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

4

Data Management Enhancements (1)

Continued use of data management enhancements

A collaborative online item list management tool(ILMT) building on Eurostatrsquos tool [for ICP 2020]

Data and metadata submission standardsforms[for ICP 2017]

A central data and metadata management systembuilding on the WBGrsquos long-standing data systems[for ICP 2017]

New quality assurance approaches utilizingvisualizations [for ICP 2017]

5

Data Management Enhancements [2]

Continued development of further enhancements

New collaborative online quality assurance toolbuilding on Eurostatrsquos tool [for ICP 2020]

Result dissemination platforms building on theWBGrsquos long-standing data dissemination systems[for ICP 2017]

Online researcher data access system for accessto unpublished results data and metadata [for ICP2017]

ICP Github for storing and sharing ICP processingcodes (STATA and R) [for ICP 2017]

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 5: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

5

Data Management Enhancements [2]

Continued development of further enhancements

New collaborative online quality assurance toolbuilding on Eurostatrsquos tool [for ICP 2020]

Result dissemination platforms building on theWBGrsquos long-standing data dissemination systems[for ICP 2017]

Online researcher data access system for accessto unpublished results data and metadata [for ICP2017]

ICP Github for storing and sharing ICP processingcodes (STATA and R) [for ICP 2017]

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 6: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

6

Transparency Improvements [1]

Continued work of the ICP Computation Task Team(COTT) to

Undertake parallel computations of ICP results foradded quality assurance and transparency

Ensure documentation amp replicability of ICP results

Calculation of results Miriam Robert (H) Robert (I)Sergey Yuri + Intermediate inputs Alan FrancettePaul GO

COTT has held two virtual meetings (Sep 2019 Nov 2020)and frequent email communications to agree on andresolve various computational issues

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 7: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

7

Transparency Improvements [2]

A few key COTT work arrangements

Joint review of the COTT input data

All COTT members receive the same input dataand information simultaneously

Independent production + review of intermediateresults [2011amp 2017 LFs PAFs]

Independent production + review of full set ofresults [2011 amp 2017 global results]

Independent production + reviewassessment ofPPP timeseries and imputed PPPs

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 8: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

8

Transparency Improvements [3]

Key COTT outcomes to date include

Meeting minutes detailing various agreements

Calculation notes provided to the TAG

Set of [converged] results

Phase II results [TAG04]

Phase II results [post-TAG04]

Phase III results [post-TAG05]

Transparent calculation code(s) [in progress]

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 9: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

9

Improving Data Management Processes

Bettina Aten amp Eric Figueroa continue to review andprovide advice and suggestions for improving theglobal data management processes

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 10: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

10

Process FlowPhase II Post-TAG

Phase III

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 11: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II resultsOct 2019

November

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 12: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

PHASE II Post-TAG

COTT reviews (no comments)

December

Dec 2019 ndash Jan 2020

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 13: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

Dec 2019 ndash Jan 2020

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 14: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

Final Post Phase II Results

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 15: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 16: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

February

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 17: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

PHASE IIIPHASE II Post-TAG

4th TAG meeting to review Phase II results

Virtual COTT meeting COTT amp GO review

estimation methods

Oct 2019

November

GO distributes Phase II COTT file

COTT members estimate- PAFs and LFs

- PPPs and Real Exprsquos- Interpolated PPPs

PHASE II Post-TAG

COTT reviews (no comments)

GO reviews

December

RIAs submitfinal regional data

GO amp RIAsvalidate

Dec 2019 ndash Jan 2020

GO distributes 1st Phase III COTT file

(Core)

COTT reviews GO distributes2nd file

Final Post Phase II Results

COTT members estimate PAFs amp LFs

GO reviews

GO distributes 3rd Phase III COTT file

(All Data + LFs)

COTT members estimate- PPPs and Real Exprsquos- Interpolated PPPs

GO reviews

GO estimates 2017 PPPs for non-benchmark economies

February

Final Phase III Results

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 18: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

18

Stata Program Flows2011 Revised PPPs

2017 PPPs

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 19: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

Stata Program Sequence

Program Subprogram1 Subprogram2

100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo112_icp2011_paf_applicationdo113_icp2011_ReferencePPPsdo

120_icp2017_calculationsdo 121_process_input_filedo122_load_listsdo123_load_basic_datado124_icp2017_linking_factorsdo125_icp2017_linking_constructiondo126_icp2017_paf_calculationdo127_icp2017_paf_applicationdo128_ReferencePPPsdo129_icp2017_link_eduhhcdo

progseq

steps_v1

steps_v2

ampCalibriRegularampK000000ampDampCalibriRegularampK000000ampF

ampCalibriRegularampK000000ampP of ampN

prog pkg

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Filename Size Packed Type 121719 12420 12719 2920 save date
DS_store 6148 178 DS_STORE File
compile_aggregate_resultsdo 4844 1079 DO File new update update update 2720
fischer_func_createdo update 12910
geks_func_createdo update 111311
icp2011_aggregationdo 4360 1351 DO File new nc nc update 2320
icp2011_calculationsdo 6967 1828 DO File new update update update 2720
icp2011_paf_applicationdo 1352 575 DO File new nc nc update 12520
icp2011_paf_calculationdo 4747 1608 DO File new nc upate update 12720
icp2011_ReferencePPPsdo 4056 1434 DO File new update nc update 12420
icp2017_aggregationdo 4618 1395 DO File new nc nc update 2320
icp2017_calculationsdo 4852 1358 DO File new update update update 2320
icp2017_Consistencydo 2438 831 DO File new nc nc update 2320
icp2017_link_eduhhcdo 3480 1049 DO File new nc nc update 121319
icp2017_linking_constructiondo 5097 1650 DO File new nc nc update 121619
icp2017_linking_factorsdo 1587 702 DO File new nc nc update 121119
icp2017_paf_applicationdo 2716 1080 DO File new nc nc update 12220
icp2017_paf_calculationdo 5015 1673 DO File new update nc update 12620
laspeyres_func_createdo update 12910
load_basic_data_timeseriesdo 2780 774 DO File new nc nc update 2420
load_basic_datado 2829 802 DO File new update nc update 12420
load_listsdo 1331 487 DO File new nc nc update 12420
passche_func_createdo update 12910
process_input_filedo 226 165 DO File new nc nc update 82819
PWT_KL_classificationdta update 112719
pwt_kl_datadta update 12619
ReferencePPPsdo 7690 1708 DO File new nc nc update 12420
Ver Prog Step Filename import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted) Notes Prog Comments () Anomalies
v2 100 001 compile_aggregate_resultsdo
v2 100 002 cd userspath
v2 100 003 global data_file=ICP_Working-OUT-2020-02-06xlsx
v2 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
v2 100 005 run icp2011_calculationsdo Generateexport ICP 2011 BH PPPs
v2 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
v2 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 008 export excel using $out_file sheet(LF2011)
v2 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
v2 100 COM run icp 2011_paf_calculation export excel using $out_file sheet(PAF2011) Export ICP 2011 PAFs
v2 100 010 run icp2017_calculationsdo Generateexport 2017 LF and BH PPPs
v2 100 011 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
v2 100 012 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors Assume ICP2017_RegionalBase is external
v2 100 013 export excel using $out_file sheet(LF2017)
v2 100 014 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
v2 100 COM run ICP2017_paf_calculationdo export excel using $out_file sheet(PAF2017) Export ICP 2017 PAFs
v2 100 015 results_2011 Generate amp export 2011 aggregate results
v2 100 016 use ICP2017_Aggregation Why use 2017 in this 2011 section
v2 100 017 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
v2 100 018 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
v2 100 019 results_2017 Generate amp export 2017 aggregate results
v2 100 020 use ICP2017_Aggregation
v2 100 021 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
v2 100 022 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
v2 100 023 run ICP2017_Consistencydo export excel using $out_file sheet(Consistency `sheet) Generate consistency check
v2 100 024 Consistency`x
v2 100 025 run GenChartsdo
v2 110 001 icp2011_calculationsdo import excel using $data_file sheet (EXP) c5hr2819 ICP2011_EXP
v2 110 002 import excel using $data_file sheet (PPPReg) c5hr2819 countrycode using ICP2017_countrylist uses 2017 not 2011 for merge
v2 110 003 RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP Assume ICP2017_RegionalBase is external
v2 110 004 import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial Assume ICP2017_RegionalBase is external
v2 110 005 import excel using $data_file sheet (EXR) f5hr12 temp_xr
v2 110 006 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 007 RegionaCode using ICP2017_regionalbase Assume ICP2017_RegionalBase is external
v2 110 008 countrycode using temp_xr
v2 110 009 cou using temp_xr ICP2011_XR
v2 110 010 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
v2 110 011 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 012 RegionCode code using ICP2011_linkingfactors_initial `pg_edu
v2 110 013 use ICP2017_Aggregation code using ICP2011_RegBHPPP
v2 110 014 countrycode agg_code using `pg_edu
v2 110 015 RegionCode using ICP2017_RegionalBase `lf_edu Assume ICP2017_RegionalBase is external
v2 110 016 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
v2 110 017 RegionCode code using ICP2011_linkingfactors_initial
v2 110 018 RegionCode code using ICP2011_housing_linking_factors Assume ICP2011_housing_linking_factors is external
v2 110 019 RegionCode using `lf_edu
v2 110 020 countrycode code using ICP2011_Exp
v2 110 021 code using ICP2017_classification
v2 110 022 countrycode using ICP2017_countrylist
v2 110 023 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
v2 110 024 run ICP2011_paf_calculationdo
v2 110 025 run ICP2011_paf_applicationdo
v2 110 026 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
v2 110 027 run ICP2011_ReferencePPPsdo
v2 110 028 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
v2 110 029 countrycode suing ICP2011_XR
v2 110 030 countrycode code using ICP2011_Exp
v2 110 031 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
v2 111 001 icp2011_paf_calculationdo paf 148 use ICP2011_LinkedBHPPP Agg BH PPPs to PWT asseet level
v2 111 002 paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combined code using PWT_KL_classification temp
v2 111 003 countrycode asset using temp erase temp
v2 111 004 save pi_temp
v2 111 005 use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
v2 111 006 temp
v2 111 007 countrycode using temp erase tempdta
v2 111 008 countrycode using ICP2011_POP
v2 111 009 countrycode using ICP2017_CountryList
v2 111 010 RegionCode using ICP2017_regionalbase ICP2011_PAF Assume ICP2017_RegionalBase is external
v2 112 001 icp2011_paf_applicationdo use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP Find amp apply PAF adj to reg BHs w PA
v2 112 002 countrycode using ICP2017_countrylist
v2 112 003 countrycode using ICP2011_PAF
v2 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
v2 113 001 icp2011_ReferencePPPsdo use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA Find ref PPPs combine w obsd PPPs
v2 113 002 countrycode using ICP2017_CountryList
v2 113 003 countrycode code using ICP2011_RegBHPPP
v2 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i Assume ICP2017_RegionalBase is external
v2 113 005 use rp_basic `i temp_agg
v2 113 006 countrycode using temp_agg erase temp_aggdta
v2 113 007 temp_agg (2nd time)
v2 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 113 009 rp `i
v2 113 010 use rp1 refp_icp2011
v2 113 011 use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref Title diff wrt 2017 no RefPPP
v2 120 001 icp2017_calculationsdo ssc install parmest program for quickly saving parameters
v2 120 002 run process_input_filedo insert country names on excel line 5
v2 120 003 run load_listsdo ctryclassaggitemxrcoderefcode
v2 120 004 run load_basic_datado itemregbhpppexpxrpaf
v2 120 005 run icp2017_linking_factorsdo ICP2017_linkingfactors_rpd
v2 120 006 run icp2017_linking_constructiondo ICP2017_linkedconstruction
v2 120 007 use ICP2017_RegBHPPP code countrycode using ICP2017_Exp BH PPPs w exp data
v2 120 008 countrycode using ICP2017_countrylist
v2 120 009 code using ICP2017_classification
v2 120 010 code RegionCode using ICP2017_linkingfactors_rpd
v2 120 011 code RegionCode using ICP2017_housing_linking_factors Assume ICP2017_housing_linking_factors is external
v2 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
v2 120 013 run lCP2017_paf_calculationdo ICP2017_PAF (prod adj factors)
v2 120 014 run lCP2017_paf_applicationdo ICP2017_PABH (apply to govt BH)
v2 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
v2 120 016 run ReferencePPPsdo ICP2017_LinkedBHPPP_PA_RefPPP
v2 120 017 use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes add exchange rates
v2 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
v2 120 019 run icp2017_link_eduhhcdo ICP2017_lf_eduhhc
v2 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
v2 120 021 RegionCode code using ICP2017_lf_eduhhc
v2 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
v2 120 023 use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC inc noncore regs amp spec participant ctrys
v2 120 024 countrycode using ICP2017_XR
v2 120 025 countrycode code using ICP2017_Exp
v2 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
v2 121 001 process_input_filedo import excel using $data_file -- -- Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
v2 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
v2 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
v2 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159 ICP2017_aggregation
v2 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163 ICP2017_ref_codes
v2 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
v2 123 001 load_basic_datado import excel using $data_file sheet (APG) c5hr3545 p_temp
v2 123 002 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
v2 123 003 ItemCode using ICP2017_itemlist
v2 123 004 countrycode using ICP2017_countrylist
v2 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata Assume ICP2017_RegionalBase is external
v2 123 006 import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist Same source as timeseries diff cells
v2 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP Assume ICP2017_RegionalBase is external
v2 123 008 import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp (same)
v2 123 009 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR Same source as timeseries same cells
v2 123 010 import excel using $data_file sheet (POP) f5hr12 ICP2017_POP (same)
v2 124 001 icp2017_linking_factorsdo use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist Compute regional linking factors
v2 124 002 tempfile reg_nobs
v2 124 003 region using regionlist
v2 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
v2 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
v2 125 002 c using clist
v2 125 003 code uisng elec_item tempfile elec_ppp Where does elec_item come from
v2 125 004 `elec_ppp
v2 125 005 use ICP2017_itemdata clist
v2 125 006 countrycode using `elec_ppp `elec_ppp (2nd time)
v2 125 007 ItemCode using elec_item
v2 125 008 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
v2 125 009 saving c1 c2 c3 (3 saving statements)
v2 125 010 use c1 parm using c2
v2 125 011 parm using c3
v2 125 012 c using clist `cpd`x
v2 125 013 erase c1dta c2dta c3dta (3 erase statements)
v2 125 014 use `cpd1501211 append using `cpd1501221
v2 125 015 append using `cpd1501231
v2 125 016 countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231 3 separate construction tempfiles
v2 125 017 `construction_`x
v2 125 018 use construction_1501211 countrycode using `construction_1501221
v2 125 019 countrycode using `construction_1501231
v2 125 020 countrycode code using ICP2017_RegBHPPP
v2 125 021 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
v2 126 001 icp2017_paf_calculationdo use ICP2017_LinkedBHPPP code using PWT_KL_classification Agg BH PPPs to PWT asseet level
v2 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
v2 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
v2 126 004 `pi_agg
v2 126 005 countrycode asset using `pi_agg `pi_temp Curious pi_temp used for 2017
v2 126 006 use PWT_KL_data countrycode pwt_asset using `pi_temp (same)
v2 126 007 `pn_agg
v2 126 008 countrycode using `pn_agg
v2 126 009 countrycode using ICP2017_Pop
v2 126 010 countrycode using ICP2017_Countrylist
v2 126 011 RegionCode using ICP2017_regionalbase ICP2017_PAF Why is save PAF commented out (126200
v2 127 001 icp2017_paf_applicationdo use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp Find amp apply PAF adj to reg BHs w PA
v2 127 002 use ICP2017_itemdata clist
v2 127 003 code countrycode using bh_nopa_temp regionlist
v2 127 004 region using regionlist ICP2017_LF_NoPa
v2 127 005 use bh_nopa_temp erase bh_nopa_tempdta
v2 127 006 countrycode using ICP2017_countrylist
v2 127 007 countrycode using ICP2017_PAF
v2 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
v2 128 001 ReferencePPPsdo use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA Compute stage-1 amp 2 reference PPPs
v2 128 002 countrycode using ICP2017_Countrylist
v2 128 003 countrycode code using ICP2017_RegBHPPP
v2 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 005 temp_agg
v2 128 006 countrycode using temp_agg erase temp_aggdta
v2 128 007 temp_agg (2nd time)
v2 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
v2 128 009 rp `i
v2 128 010 use rp1 append using rp`i erase rp`idta
v2 128 011 erase rp_basic`idta
v2 128 012 refp_stage3
v2 128 013 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
v2 128 014 use ICP2017_ref_codes code using temp_ppp
v2 128 015 countrycode using ICP2017_Countrylist
v2 128 016 countrycode code using ICP2017_RegBHPPP
v2 128 017 RegionCode using ICP2017_RegionalBase rp_basic`i
v2 128 018 use rp_basic`i temp_agg (3rd time)
v2 128 019 countrycode using temp_agg erase temp_aggdta (3rd time)
v2 128 020 temp agg (4th time)
v2 128 021 countrycode using temp_agg erase temp_aggdta (4th time)
v2 128 022 rp `i
v2 128 023 use rp1 append using rp`i erase rp`idta
v2 128 024 erase rp_basic`idta
v2 128 025 refp_stage2
v2 128 026 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
v2 128 027 ICP2017_LinkedBHPPP_PA_RefPPP Title diff wrt 2011 uses RefPPP
v2 129 001 icp2017_link_eduhhcdo tempfile ppp_temp ppp_temp2 ppp_temp3 Calculate EDU amp GOV Linking Factors
v2 129 002 `ppp_temp Is file used before replaced below
v2 129 003 use ICP2017_RegBHPPP `ppp_temp2
v2 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 005 countrycode code using ICP2017_Exp
v2 129 006 countrycode using ICP2017_countrylist
v2 129 007 RegionCode using ICP2017_Regionalbase `ppp_temp was replaced file above ever used
v2 129 008 use `ppp_temp append using `ppp_temp2
v2 129 009 countrycode using ICP2017_countrylist `ppp_temp3
v2 129 010 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
v2 129 011 countrycode using `ppp_temp3
v2 129 012 RegionCode using ICP2017_regionalbase
v2 129 013 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
v2 130 001 icp2011_aggregationdo use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined Compute Global GEKS using linked BH PPPs
v2 130 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 130 003 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
v2 130 004 countrycode using ICP2017_countrylist
v2 130 005 countrycode using calcglobal_geks No final file saved
v2 140 001 icp2017_aggregationdo use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined Global GEKS using linked BH PPPs CAR method for core regions link other regions
v2 140 002 countrycode using ICP2017_countrylist calcglobal_geks
v2 140 003 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
v2 140 004 countrycode using ICP2017_countrylist
v2 140 005 countrycode using calcglobal_geks No final file saved
v2 150 001 load_basic_data_timeseries import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
v2 150 002 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
v2 150 003 import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall Same source as 2017 diff cells
v2 150 004 import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall Same source as 2017 same cells
v2 150 005 import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall (same)
v2 150 006 import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist Same source as 2017 diff cells
v2 150 007 RegionCode using ICP2017_regionalbase
v2 150 008 RegionCode using ICP2017_regionalbase
v2 150 009 countrycode using results_2011 ICPTS_RegBHPPP
v2 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
v2 160 002 use results_2017 countrycode using ICP2017_XR
v2 160 003 countrycode using ICP2017_POP
v2 160 004 countrycode using ICP2017_countrylist
v2 160 005 use ICP2017_CPI cpi_temp
v2 160 006 use ICP2017_DEF def_temp
v2 160 007 countrycode code using cpi_temp
v2 160 008 countrycode code using def_temp
v2 160 009 countrycode using results2011_temp
v2 160 010 countrycode year using ICP2017_Xrall
v2 160 011 countrycode year using ICP2017_POPall No final file saved
alpha-step index Program Step Filename Notes Prog Comments () Anomalies import use ssc install run cd global Merge (Append using as noted) Save (EraseExportSavingTableTempfile as noted)
1 000 000 DS_store
2 100 001 compile_aggregate_resultsdo
3 100 002 cd userspath
4 100 003 global data_file=ICP_Working-OUT-2019-11-26xlsx
5 100 004 global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
6 100 005 Generateexport ICP 2011 BH PPPs run icp2011_calculationsdo
7 100 006 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist
8 100 007 RegionCode using ICP2017_RegionalBase ICP2011_linkingfactors
9 100 008 export excel using $out_file sheet(LF2011)
10 100 009 use ICP2011_LinkedBHPPP_PA_Ref_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2011)
11 100 010 Export ICP 2011 PAFs use ICP2011_PAF export excel using $out_file sheet(PAF2011)
12 100 011 Generateexport 2017 LF and BH PPPs run icp2017_calculationsdo
13 100 012 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist
14 100 013 RegionCode using ICP2017_RegionalBase ICP2017_linkingfactors
15 100 014 export excel using $out_file sheet(LF2017)
16 100 015 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined countrycode using ICP2017_countrylist export excel using $out_file sheet(PPPGlob2017)
17 100 016 Export ICP 2017 PAFs use ICP2017_PAF export excel using $out_file sheet(PAF2017)
18 100 017 Generate amp export 2011 aggregate results results_2011
19 100 018 Why use 2017 in this 2011 section use ICP2017_Aggregation
20 100 019 run icp2011_aggregationdo append using results_2011 results_2011 (2nd time)
21 100 020 use results_2011 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2011)
22 100 021 Generate amp export 2017 aggregate results results_2017
23 100 022 use ICP2017_Aggregation
24 100 023 run icp2017_aggregationdo append using results_2017 results_2017 (2nd time)
25 100 024 use results_2017 countrycode using ICP2017_countrylist export excel using $out_file sheet(AggPPPGlob2017)
26 100 025 Generate consistency check run ICP2017_Consistencydo export excel using $out_file sheet(Consistency`sheet)
27 100 026 Consistency`x
40 110 001 icp2011_calculationsdo From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
41 110 002 import excel using $data_file sheet (EXP) c5hr2798 ICP2011_EXP
42 110 003 uses 2017 not 2011 for merge import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
43 110 004 uses 2017 not 2011 for merge RegionCode using ICP2017_regionalbase ICP2011_RegBHPPP
44 110 005 uses 2017 not 2011 for merge import excel using $data_file sheet (LIF) c5m315 RegionBase using ICP2017_regionalbase ICP2011_linkingfactors_initial
45 110 006 import excel using $data_file sheet (EXR) f5hr12 temp_xr
46 110 007 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
47 110 008 RegionaCode using ICP2017_regionalbase
48 110 009 countrycode using temp_xr
49 110 010 cou using temp_xr ICP2011_XR
50 110 011 erase temp_xrdta
51 110 012 import excel using $data_file sheet (POP) f5hr12 ICP2011_POP
52 110 013 use ICP2011_RegBHPPP countrycode using ICP2017_countrylist
53 110 014 RegionCode code using ICP2011_linkingfactors_initial
54 110 015 RegionCode code using ICP2011_housing_linking_factors
55 110 016 countrycode code using ICP2011_Exp
56 110 017 code using ICP2017_classification
57 110 018 countrycode using ICP2017_countrylist
58 110 019 countrycode using ICP2011_XR ICP2011_LinkedBHPPP
59 110 020 ICP2011_PAF run ICP2011_paf_calculationdo
60 110 021 apply PAF to govt comp BH (PABH) run ICP2011_paf_applicationdo
61 110 022 use ICP2011_LinkedBHPPP countrycode code using ICP2011_PABH ICP2011_LinkedBHPPP_PA
62 110 023 ICP2011_LinkedBHPPP_PA_Ref run ICP2011_ReferencePPPsdo
63 110 024 use ICP2011_RegBHPPP countrycode code using ICP2011_LinkedBHPPP_PA_Ref
64 110 025 countrycode suing ICP2011_XR
65 110 026 countrycode code using ICP2011_Exp
66 110 027 countrycode using ICP2017_countrylist ICP2011_LinkedBHPPP_PA_Ref_Combined
71 111 001 icp2011_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2011_LinkedBHPPP_PA_Ref_Combined temp
72 111 002 Did RI use ICP2011_Linked BHPPP or ICP2011_LinkedBHPPP (commented out)
73 111 003 Curious `pi_temp used for 2017 countrycode asset using temp pi_temp
74 111 004 (same) use PWT_KL_data countrycode pwt_asset using pi_temp erase pi_tempdta
75 111 005 temp
76 111 006 countrycode using temp erase tempdta
77 111 007 countrycode using ICP2011_POP
78 111 008 countrycode using ICP2017_CountryList
79 111 009 RegionCode using ICP2017_regionalbase
80 111 010 countrycode using ICP2011_XR
81 111 011 Where is this file countrycode year using UsersRobertDocumentsPWTPWT91dta (where from) ICP2011_PAF
67 112 001 icp2011_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2011_RegBHPP countrycode code using ICP2011_RegBHPP
68 112 002 countrycode using ICP2017_countrylist
69 112 003 countrycode using ICP2011_PAF
70 112 004 RegionCode using ICP2011_Comp_LF_noPA ICP2011_PABH
82 113 001 icp2011_ReferencePPPsdo Find ref PPPs combine w obsd PPPs use ICP2017_ref_codes code using ICP2011_LinkedBHPPP_PA
83 113 002 countrycode using ICP2017_CountryList
84 113 003 countrycode code using ICP2011_RegBHPPP
85 113 004 RegionCode using ICP2017_RegionalBase rp_basic `i
86 113 005 use rp_basic `i temp_agg
87 113 006 countrycode using temp_agg erase temp_aggdta
88 113 007 temp_agg (2nd time)
89 113 008 countrycode using temp_agg erase temp_aggdta (2nd time)
90 113 009 rp `i
91 113 010 use rp1 refp_icp2011
92 113 011 Title diff wrt 2017 no RefPPP use ICP2011_LinkedBHPPP_PA code countrycode using refp_icp2011 ICP2011_LinkedBHPPP_PA_Ref
106 120 001 icp2017_calculationsdo program for quickly saving parameters ssc install parmest
107 120 002 insert country names on excel line 5 run process_input_filedo
108 120 003 ctryclassaggitemxrcoderefcode run load_listsdo
109 120 004 itemregbhpppexpxrpaf run load_basic_datado
110 120 005 ICP2017_linkingfactors_rpd run icp2017_linking_factorsdo
111 120 006 ICP2017_linkedconstruction run icp2017_linking_constructiondo
112 120 007 BH PPPs w exp data use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
113 120 008 code countrycode using ICP2017_Exp
114 120 009 code using ICP2017_classification
115 120 010 code RegionCode using ICP2017_linkingfactors_rpd
116 120 011 code RegionCode using ICP2017_housing_linking_factors
117 120 012 countrycode code using ICP2017_linkedconstruction ICP2017_LinkedBHPPP
118 120 013 ICP2017_PAF (prod adj factors) run lCP2017_paf_calculationdo
119 120 014 ICP2017_PABH (apply to govt BH) run lCP2017_paf_applicationdo
120 120 015 use ICP2017_LinkedBHPPP countrycode code using ICP2017_PABH ICP2017_LinkedBHPPP_PA
121 120 016 ICP2017_LinkedBHPPP_PA_RefPPP run ReferencePPPsdo
122 120 017 add exchange rates use ICP2017_LinkedBHPPP_PA_RefPPP code using ICP2017_xr_codes
123 120 018 countrycode using ICP2017_XR ICP2017_LinkedBHPPP_PA_Ref_PPP_XR
124 120 019 ICP2017_lf_eduhhc run icp2017_link_eduhhcdo
125 120 020 use ICP2017_RegBHPPP countrycode using ICP2017_countrylist
126 120 021 RegionCode code using ICP2017_lf_eduhhc
127 120 022 countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
128 120 023 inc noncore regs amp spec participant ctrys use ICP2017_RegBHPPP countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
129 120 024 countrycode using ICP2017_XR
130 120 025 countrycode code using ICP2017_Exp
131 120 026 countrycode using ICP2017_countrylist ICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
224 121 001 process_input_filedo Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo) import excel using $data_file -- --
219 122 001 load_listsdo import excel using $data_file sheet (ICP 2017 Country List) a1f219 ICP2017_countrylist
220 122 002 import excel using $data_file sheet (ICP 2017 Classification) a2d401 ICP2017_classification
221 122 003 import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159 ICP2017_aggregation
222 122 004 import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163 ICP2017_ref_codes
223 122 005 import excel using $data_file sheet (ICP 2017 Item List) a2f3668 ICP2017_itemlist
200 123 001 load_basic_datado From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
201 123 002 import excel using $data_file sheet (APG) c5hr3545 p_temp
202 123 003 import excel using $data_file sheet (IMP) c5hr3545 ItemCode countrycode using p_temp
203 123 004 ItemCode using ICP2017_itemlist
204 123 005 RegionCode using ICP2017_regionalbase ICP2017_itemdata
205 123 006 Same source as timeseries diff cells import excel using $data_file sheet (PPPReg) c5hr2798 countrycode using ICP2017_countrylist
206 123 007 RegionCode using ICP2017_regionalbase ICP2017_RegBHPPP
207 123 008 (same) import excel using $data_file sheet (EXP) c5hr2798 ICP2017_Exp
208 123 009 Same source as timeseries same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XR
209 123 010 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POP
175 124 001 icp2017_linking_factorsdo Compute regional linking factors use ICP2017_itemdata code countrycode using ICP2017_RegBHPPP regionlist
176 124 002 tempfile reg_nobs
177 124 003 region using regionlist
178 124 004 code RegionCode using `reg_nobs ICP2017_linkingfactors_rpd
155 125 001 icp2017_linking_constructiondo use ICP2017_itemdata countrycode using ICP2017_Countrylist clist
156 125 002 c using clist tempfile elec_ppp
157 125 003 `elec_ppp
158 125 004 use ICP2017_itemdata clist
159 125 005 countrycode using `elec_ppp `elec_ppp (2nd time)
160 125 006 ItemCode using elec_item
161 125 007 append using `elec_ppp tempfile cpd1501211 cpd1501221 cpd1501231
162 125 008 saving c1 c2 c3 (3 saving statements)
163 125 009 use c1 parm using c2
164 125 010 parm using c3
165 125 011 c using clist `cpd`x
166 125 012 erase c1dta c2dta c3dta (3 erase statements)
167 125 013 use `cpd1501211 append using `cpd1501221
168 125 014 append using `cpd1501231
169 125 015 3 separate construction tempfiles countrycode code using ICP2017_Exp tempfile construction_1501211 -221 -231
170 125 016 `construction_`x
171 125 017 use construction_1501211 countrycode using `construction_1501221
172 125 018 countrycode using `construction_1501231
173 125 019 countrycode code using ICP2017_RegBHPPP
174 125 020 countrycode using ICP2017_countrylist ICP2017_linkedconstruction
187 126 001 icp2017_paf_calculationdo Agg BH PPPs to PWT asseet level use ICP2017_LinkedBHPPP code using PWT_KL_classification
188 126 002 country code using ICP2017_LinkedBHPPP_PA_RefPPP
189 126 003 use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined code using PWT_KL_classification tempfile pi_agg pi_temp pn_agg
190 126 004 `pi_agg
191 126 005 Curious pi_temp used for 2017 countrycode asset using `pi_agg `pi_temp
192 126 006 (same) use PWT_KL_data countrycode pwt_asset using `pi_temp
193 126 007 `pn_agg
194 126 008 countrycode using `pn_agg
195 126 009 countrycode using ICP2017_Pop
196 126 010 countrycode using ICP2017_Countrylist
197 126 011 RegionCode using ICP2017_regionalbase
198 126 012 countrycode using ICP2017_XR
199 126 013 Where is this file ICP2017_PAF
179 127 001 icp2017_paf_applicationdo Find amp apply PAF adj to reg BHs w PA use ICP2017_RegBHPP countrycode code using ICP2017_RegBHPPP bh_nopa_temp
180 127 002 use ICP2017_itemdata clist
181 127 003 code countrycode using bh_nopa_temp regionlist
182 127 004 region using regionlist ICP2017_LF_NoPa
183 127 005 use bh_nopa_temp erase bh_nopa_tempdta
184 127 006 countrycode using ICP2017_countrylist
185 127 007 countrycode using ICP2017_PAF
186 127 008 RegionaCode code using ICP2017_LF_NoPa ICP2017_PABH
225 128 001 ReferencePPPsdo Compute stage-1 amp 2 reference PPPs use ICP2017_ref_codes code using ICP2017_LinkedBHPPP_PA
226 128 002 countrycode using ICP2017_Countrylist
227 128 003 countrycode code using ICP2017_RegBHPPP
228 128 004 RegionCode using ICP2017_RegionalBase rp_basic`i
229 128 005 temp_agg
230 128 006 countrycode using temp_agg erase temp_aggdta
231 128 007 temp_agg (2nd time)
232 128 008 countrycode using temp_agg erase temp_aggdta (2nd time)
233 128 009 rp `i
234 128 010 use rp1 refp_stage1
235 128 011 use ICP2017_LinkedBHPPP_PA code countrycode using refp_stage1 temp_ppp
236 128 012 use ICP2017_ref_codes code using temp_ppp
237 128 013 countrycode using ICP2017_CountryList
238 128 014 countrycode code using ICP2017_RegBHPPP
239 128 015 RegionCode using ICP2017_RegionalBase rp_basic`i
240 128 016 use rp_basic`i temp_agg (3rd time)
241 128 017 countrycode using temp_agg erase temp_aggdta (3rd time)
242 128 018 temp agg (4th time)
243 128 019 countrycode using temp_agg erase temp_aggdta (4th time)
244 128 020 rp `i
245 128 021 use rp1 refp_stage2
246 128 022 use temp_ppp code countrycode using refp_stage2 erase temp_pppdta
247 128 023 Title diff wrt 2011 uses RefPPP ICP2017_LinkedBHPPP_PA_RefPPP
143 129 001 icp2017_link_eduhhcdo Calculate EDU amp GOV Linking Factors tempfile ppp_temp ppp_temp2 ppp_temp3
144 129 002 Is file used before replaced below `ppp_temp
145 129 003 use ICP2017_RegBHPPP `ppp_temp2
146 129 004 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
147 129 005 countrycode code using ICP2017_Exp
148 129 006 countrycode using ICP2017_countrylist
149 129 007 was replaced file above ever used RegionCode using ICP2017_Regionalbase `ppp_temp
150 129 008 use `ppp_temp countrycode using ICP2017_countrylist `ppp_temp3
151 129 009 use ICP2017_aggregation code using ICP2017_LinkedBHPPP_PA_RefPPP_XR
152 129 010 countrycode using `ppp_temp3
153 129 011 RegionCode using ICP2017_regionalbase
154 129 012 RegionCode using ICP2017_linkingfactors_rpd ICP2017_lf_eduhhc
28 130 001 icp2011_aggregationdo Compute Global GEKS using linked BH PPPs use ICP2017_aggregation code using ICP2011_LinkedBHPPP_PA_Ref_Combined
29 130 002 countrycode using ICP2017_countrylist calcglobal_geks
30 130 003 ppp_temp
31 130 004 use ICP2017_aggregation code using ICP2011_RegBHPPP
32 130 005 countrycode code using ICP2011_Exp
33 130 006 countrycode using ICP2017_countrylist
34 130 007 RegionCode using ICP2017_Regionalbase Table countrycode c(m tv)
35 130 008 append using ppp_temp ppp_temp (2nd time)
36 130 009 use ppp_temp
37 130 010 use ICP2011_RegBHPPP countrycode code using ICP2011_Exp
38 130 011 countrycode using ICP2017_countrylist
39 130 012 No final file saved countrycode using calcglobal_geks
93 140 001 icp2017_aggregationdo Global GEKS using linked BH PPPs CAR method for core regions link other regions use ICP2017_aggregation m code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
94 140 002 countrycode using ICP2017_countrylist calcglobal_geks
95 140 003 tempfile ppp_temp
96 140 004 `ppp_temp
97 140 005 use ICP2017_aggregation code using ICP2017_RegBHPPPP
98 140 006 countrycode code using ICP2017_Exp
99 140 007 countrycode using ICP2017_countrylist
100 140 008 RegionCode using ICP2017_Regionalbase
101 140 009 append using `ppp_temp save `ppp_temp
102 140 010 use `ppp_temp countrycode using ICP2017_countrylist
103 140 011 use ICP2017_RegBHPPP countrycode code using ICP2017_Exp
104 140 012 countrycode using ICP2017_countrylist
105 140 013 No final file saved countrycode using calcglobal_geks
210 150 001 load_basic_data_timeseries Load data provided by GO From compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
211 150 002 import excel using $data_file sheet (CPI) c5hr1825 ICP2017_CPI
212 150 003 import excel using $data_file sheet (DEF) c5hr2658 ICP2017_DEF
213 150 004 Same source as 2017 diff cells import excel using $data_file sheet (EXP) c5hr2812 ICP2017_EXPall
214 150 005 Same source as 2017 same cells import excel using $data_file sheet (EXR) f5hr12 ICP2017_XRall
215 150 006 (same) import excel using $data_file sheet (POP) f5hr12 ICP2017_POPall
216 150 007 Same source as 2017 diff cells import excel using $data_file sheet (PPPReg) c5hr2812 countrycode using ICP2017_countrylist
217 150 008 RegionCode using ICP2017_regionalbase
218 150 009 RegionCode using ICP2017_regionalbase ICPTS_RegBHPPP
132 160 001 icp2017_Consistencydo use results_2011 countyrcode using ICP2011_XR results2011_temp
133 160 002 use results_2017 countrycode using ICP2017_XR
134 160 003 countrycode using ICP2017_POP
135 160 004 countrycode using ICP2017_countrylist
136 160 005 use ICP2017_CPI cpi_temp
137 160 006 use ICP2017_DEF def_temp
138 160 007 countrycode code using cpi_temp erase cpi_tempdta
139 160 008 countrycode code using def_temp erase def_tempdta
140 160 009 countrycode using results2011_temp erase results2011_tempdta
141 160 010 countrycode year using ICP2017_Xrall
142 160 011 No final file saved countrycode year using ICP2017_POPall
Program Subprogram1 Subprogram2
100_compile_aggregate_resultsdo 110_icp2011_calculationsdo 111_icp2011_paf_calculationsdo
112_icp2011_paf_applicationdo
113_icp2011_ReferencePPPsdo
120_icp2017_calculationsdo 121_process_input_filedo
122_load_listsdo
123_load_basic_datado
124_icp2017_linking_factorsdo
125_icp2017_linking_constructiondo
126_icp2017_paf_calculationdo
127_icp2017_paf_applicationdo
128_ReferencePPPsdo
129_icp2017_link_eduhhcdo
130_icp2011_aggregationdo
140_icp2017_aggregationdo
150_load_basic_data_timeseries
160_icp2017_consistencydo
Page 20: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Stata Programs 2011

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Page 21: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

Stata Programs 2011 amp 2017

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Page 22: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

11_PAF11_linked_BHPPP

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_PABH

AggPPPGlob2011

ICP Lists amp Data

input file

External Inputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Page 23: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Program Inputs amp Outputs

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Page 24: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

ICP_Working_Out

compile_aggregate_results

fischer_func_create gek_func_create

11_aggregation

11_calculations

11_paf_application11_paf_calculation

11_ReferencePPPs

17_aggregation

17_calculations

17_consistency

17_link_eduhhc

17_linking_construction17_linking_factors

17_paf_application

17_paf_calculation

laspeyres_fun_create

load_basic_data

load_basic_data_timeseries

load_lists

paasche_func_create

process_input_file

ReferencePPPs

11_PAF11_linked_BHPPP

PWT_KL_data

PWT_KL_class

PAF2011

11_PABH

11_linkedBHPPP_PA

11_linkedBHPPP_PA_Ref_Combined

PPPGlob2011LF2011

ICP Lists amp Data

17_linkingfactors_rpd 17_linkedconstruction

17_linked_BHPPP

17_PAF

17_LF_NoPA

17_linked_BHPPP_PA

17_lf_eduhhc

17_linkedBHPPP_PA_RefPPP_EduHHC_Combined

PPPGlob2017LF2017

17_PABH

PAF2017

17_linked_BHPPP_PA_RefPPP_XR

AggPPPGlob2011

ICP Lists amp Data

ICP_Working_Out

AggPPPGlob2017

input file

11_housing_linking_factors

17_housing_linking_factors

PWT_KL_data

PWT_KL_class

Excel Outputs

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25
Page 25: Overall Process, Replicability and Transparency of …pubdocs.worldbank.org/en/754281583249862381/ICP-TAG05-S2...Overall Process, Replicability and Transparency of ICP Results ICP

THANK YOU

25

  • Slide Number 1
  • Slide Number 2
  • Slide Number 3
  • Slide Number 4
  • Slide Number 5
  • Slide Number 6
  • Slide Number 7
  • Slide Number 8
  • Slide Number 9
  • Slide Number 10
  • Slide Number 11
  • Slide Number 12
  • Slide Number 13
  • Slide Number 14
  • Slide Number 15
  • Slide Number 16
  • Slide Number 17
  • Slide Number 18
  • Slide Number 19
  • Slide Number 20
  • Slide Number 21
  • Slide Number 22
  • Slide Number 23
  • Slide Number 24
  • Slide Number 25