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

Post on 25-Jul-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

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
    FilenameSizePackedType12171912420127192920save date
    DS_store6148178DS_STORE File
    compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
    fischer_func_createdoupdate12910
    geks_func_createdoupdate111311
    icp2011_aggregationdo43601351DO Filenewncncupdate2320
    icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
    icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
    icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
    icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
    icp2017_aggregationdo46181395DO Filenewncncupdate2320
    icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
    icp2017_Consistencydo2438831DO Filenewncncupdate2320
    icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
    icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
    icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
    icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
    icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
    laspeyres_func_createdoupdate12910
    load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
    load_basic_datado2829802DO Filenewupdatencupdate12420
    load_listsdo1331487DO Filenewncncupdate12420
    passche_func_createdoupdate12910
    process_input_filedo226165DO Filenewncncupdate82819
    PWT_KL_classificationdtaupdate112719
    pwt_kl_datadtaupdate12619
    ReferencePPPsdo76901708DO Filenewncncupdate12420
    VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
    v2100001compile_aggregate_resultsdo
    v2100002cd userspath
    v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
    v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
    v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
    v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
    v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
    v2100008export excel using $out_file sheet(LF2011)
    v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
    v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
    v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
    v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
    v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
    v2100013export excel using $out_file sheet(LF2017)
    v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
    v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
    v2100015results_2011Generate amp export 2011 aggregate results
    v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
    v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
    v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
    v2100019results_2017Generate amp export 2017 aggregate results
    v2100020use ICP2017_Aggregation
    v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
    v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
    v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
    v2100024Consistency`x
    v2100025run GenChartsdo
    v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
    v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
    v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
    v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
    v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
    v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
    v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
    v2110008countrycode using temp_xr
    v2110009cou using temp_xrICP2011_XR
    v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
    v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
    v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
    v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
    v2110014countrycode agg_code using `pg_edu
    v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
    v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
    v2110017RegionCode code using ICP2011_linkingfactors_initial
    v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
    v2110019RegionCode using `lf_edu
    v2110020countrycode code using ICP2011_Exp
    v2110021code using ICP2017_classification
    v2110022countrycode using ICP2017_countrylist
    v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
    v2110024run ICP2011_paf_calculationdo
    v2110025run ICP2011_paf_applicationdo
    v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
    v2110027run ICP2011_ReferencePPPsdo
    v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
    v2110029countrycode suing ICP2011_XR
    v2110030countrycode code using ICP2011_Exp
    v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
    v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
    v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
    v2111003countrycode asset using temperase temp
    v2111004save pi_temp
    v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
    v2111006temp
    v2111007countrycode using temperase tempdta
    v2111008countrycode using ICP2011_POP
    v2111009countrycode using ICP2017_CountryList
    v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
    v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
    v2112002countrycode using ICP2017_countrylist
    v2112003countrycode using ICP2011_PAF
    v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
    v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
    v2113002countrycode using ICP2017_CountryList
    v2113003countrycode code using ICP2011_RegBHPPP
    v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
    v2113005use rp_basic `itemp_agg
    v2113006countrycode using temp_aggerase temp_aggdta
    v2113007temp_agg (2nd time)
    v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
    v2113009rp `i
    v2113010use rp1refp_icp2011
    v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
    v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
    v2120002run process_input_filedoinsert country names on excel line 5
    v2120003run load_listsdoctryclassaggitemxrcoderefcode
    v2120004run load_basic_datadoitemregbhpppexpxrpaf
    v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
    v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
    v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
    v2120008countrycode using ICP2017_countrylist
    v2120009code using ICP2017_classification
    v2120010code RegionCode using ICP2017_linkingfactors_rpd
    v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
    v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
    v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
    v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
    v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
    v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
    v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
    v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
    v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
    v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
    v2120021RegionCode code using ICP2017_lf_eduhhc
    v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
    v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
    v2120024countrycode using ICP2017_XR
    v2120025countrycode code using ICP2017_Exp
    v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
    v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
    v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
    v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
    v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
    v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
    v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
    v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
    v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
    v2123003ItemCode using ICP2017_itemlist
    v2123004countrycode using ICP2017_countrylist
    v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
    v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
    v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
    v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
    v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
    v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
    v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
    v2124002tempfile reg_nobs
    v2124003region using regionlist
    v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
    v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
    v2125002c using clist
    v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
    v2125004`elec_ppp
    v2125005use ICP2017_itemdataclist
    v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
    v2125007ItemCode using elec_item
    v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
    v2125009saving c1 c2 c3 (3 saving statements)
    v2125010use c1parm using c2
    v2125011parm using c3
    v2125012c using clist`cpd`x
    v2125013erase c1dta c2dta c3dta (3 erase statements)
    v2125014use `cpd1501211append using `cpd1501221
    v2125015append using `cpd1501231
    v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
    v2125017`construction_`x
    v2125018use construction_1501211countrycode using `construction_1501221
    v2125019countrycode using `construction_1501231
    v2125020countrycode code using ICP2017_RegBHPPP
    v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
    v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
    v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
    v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
    v2126004`pi_agg
    v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
    v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
    v2126007`pn_agg
    v2126008countrycode using `pn_agg
    v2126009countrycode using ICP2017_Pop
    v2126010countrycode using ICP2017_Countrylist
    v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
    v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
    v2127002use ICP2017_itemdataclist
    v2127003code countrycode using bh_nopa_tempregionlist
    v2127004region using regionlistICP2017_LF_NoPa
    v2127005use bh_nopa_temperase bh_nopa_tempdta
    v2127006countrycode using ICP2017_countrylist
    v2127007countrycode using ICP2017_PAF
    v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
    v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
    v2128002countrycode using ICP2017_Countrylist
    v2128003countrycode code using ICP2017_RegBHPPP
    v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
    v2128005temp_agg
    v2128006countrycode using temp_aggerase temp_aggdta
    v2128007temp_agg (2nd time)
    v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
    v2128009rp `i
    v2128010use rp1append using rp`ierase rp`idta
    v2128011erase rp_basic`idta
    v2128012refp_stage3
    v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
    v2128014use ICP2017_ref_codescode using temp_ppp
    v2128015countrycode using ICP2017_Countrylist
    v2128016countrycode code using ICP2017_RegBHPPP
    v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
    v2128018use rp_basic`itemp_agg (3rd time)
    v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
    v2128020temp agg (4th time)
    v2128021countrycode using temp_aggerase temp_aggdta (4th time)
    v2128022rp `i
    v2128023use rp1append using rp`ierase rp`idta
    v2128024erase rp_basic`idta
    v2128025refp_stage2
    v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
    v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
    v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
    v2129002`ppp_tempIs file used before replaced below
    v2129003use ICP2017_RegBHPPP`ppp_temp2
    v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
    v2129005countrycode code using ICP2017_Exp
    v2129006countrycode using ICP2017_countrylist
    v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
    v2129008use `ppp_tempappend using `ppp_temp2
    v2129009countrycode using ICP2017_countrylist`ppp_temp3
    v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
    v2129011countrycode using `ppp_temp3
    v2129012RegionCode using ICP2017_regionalbase
    v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
    v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
    v2130002countrycode using ICP2017_countrylistcalcglobal_geks
    v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
    v2130004countrycode using ICP2017_countrylist
    v2130005countrycode using calcglobal_geksNo final file saved
    v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
    v2140002countrycode using ICP2017_countrylistcalcglobal_geks
    v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
    v2140004countrycode using ICP2017_countrylist
    v2140005countrycode using calcglobal_geksNo final file saved
    v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
    v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
    v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
    v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
    v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
    v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
    v2150007RegionCode using ICP2017_regionalbase
    v2150008RegionCode using ICP2017_regionalbase
    v2150009countrycode using results_2011ICPTS_RegBHPPP
    v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
    v2160002use results_2017countrycode using ICP2017_XR
    v2160003countrycode using ICP2017_POP
    v2160004countrycode using ICP2017_countrylist
    v2160005use ICP2017_CPIcpi_temp
    v2160006use ICP2017_DEFdef_temp
    v2160007countrycode code using cpi_temp
    v2160008countrycode code using def_temp
    v2160009countrycode using results2011_temp
    v2160010countrycode year using ICP2017_Xrall
    v2160011countrycode year using ICP2017_POPallNo final file saved
    alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
    1000000DS_store
    2100001compile_aggregate_resultsdo
    3100002cd userspath
    4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
    5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
    6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
    7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
    8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
    9100008export excel using $out_file sheet(LF2011)
    10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
    11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
    12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
    13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
    14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
    15100014export excel using $out_file sheet(LF2017)
    16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
    17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
    18100017Generate amp export 2011 aggregate resultsresults_2011
    19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
    20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
    21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
    22100021Generate amp export 2017 aggregate resultsresults_2017
    23100022use ICP2017_Aggregation
    24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
    25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
    26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
    27100026Consistency`x
    40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
    41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
    42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
    43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
    44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
    45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
    46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
    47110008RegionaCode using ICP2017_regionalbase
    48110009countrycode using temp_xr
    49110010cou using temp_xrICP2011_XR
    50110011erase temp_xrdta
    51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
    52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
    53110014RegionCode code using ICP2011_linkingfactors_initial
    54110015RegionCode code using ICP2011_housing_linking_factors
    55110016countrycode code using ICP2011_Exp
    56110017code using ICP2017_classification
    57110018countrycode using ICP2017_countrylist
    58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
    59110020ICP2011_PAFrun ICP2011_paf_calculationdo
    60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
    61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
    62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
    63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
    64110025countrycode suing ICP2011_XR
    65110026countrycode code using ICP2011_Exp
    66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
    71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
    72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
    73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
    74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
    75111005temp
    76111006countrycode using temperase tempdta
    77111007countrycode using ICP2011_POP
    78111008countrycode using ICP2017_CountryList
    79111009RegionCode using ICP2017_regionalbase
    80111010countrycode using ICP2011_XR
    81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
    67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
    68112002countrycode using ICP2017_countrylist
    69112003countrycode using ICP2011_PAF
    70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
    82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
    83113002countrycode using ICP2017_CountryList
    84113003countrycode code using ICP2011_RegBHPPP
    85113004RegionCode using ICP2017_RegionalBaserp_basic `i
    86113005use rp_basic `itemp_agg
    87113006countrycode using temp_aggerase temp_aggdta
    88113007temp_agg (2nd time)
    89113008countrycode using temp_aggerase temp_aggdta (2nd time)
    90113009rp `i
    91113010use rp1refp_icp2011
    92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
    106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
    107120002insert country names on excel line 5run process_input_filedo
    108120003ctryclassaggitemxrcoderefcoderun load_listsdo
    109120004itemregbhpppexpxrpafrun load_basic_datado
    110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
    111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
    112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
    113120008code countrycode using ICP2017_Exp
    114120009code using ICP2017_classification
    115120010code RegionCode using ICP2017_linkingfactors_rpd
    116120011code RegionCode using ICP2017_housing_linking_factors
    117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
    118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
    119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
    120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
    121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
    122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
    123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
    124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
    125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
    126120021RegionCode code using ICP2017_lf_eduhhc
    127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
    128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
    129120024countrycode using ICP2017_XR
    130120025countrycode code using ICP2017_Exp
    131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
    224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
    219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
    220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
    221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
    222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
    223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
    200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
    201123002import excel using $data_file sheet (APG) c5hr3545p_temp
    202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
    203123004ItemCode using ICP2017_itemlist
    204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
    205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
    206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
    207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
    208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
    209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
    175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
    176124002tempfile reg_nobs
    177124003region using regionlist
    178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
    155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
    156125002c using clisttempfile elec_ppp
    157125003`elec_ppp
    158125004use ICP2017_itemdataclist
    159125005countrycode using `elec_ppp`elec_ppp (2nd time)
    160125006ItemCode using elec_item
    161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
    162125008saving c1 c2 c3 (3 saving statements)
    163125009use c1parm using c2
    164125010parm using c3
    165125011c using clist`cpd`x
    166125012erase c1dta c2dta c3dta (3 erase statements)
    167125013use `cpd1501211append using `cpd1501221
    168125014append using `cpd1501231
    1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
    170125016`construction_`x
    171125017use construction_1501211countrycode using `construction_1501221
    172125018countrycode using `construction_1501231
    173125019countrycode code using ICP2017_RegBHPPP
    174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
    187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
    188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
    189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
    190126004`pi_agg
    191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
    192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
    193126007`pn_agg
    194126008countrycode using `pn_agg
    195126009countrycode using ICP2017_Pop
    196126010countrycode using ICP2017_Countrylist
    197126011RegionCode using ICP2017_regionalbase
    198126012countrycode using ICP2017_XR
    199126013Where is this fileICP2017_PAF
    179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
    180127002use ICP2017_itemdataclist
    181127003code countrycode using bh_nopa_tempregionlist
    182127004region using regionlistICP2017_LF_NoPa
    183127005use bh_nopa_temperase bh_nopa_tempdta
    184127006countrycode using ICP2017_countrylist
    185127007countrycode using ICP2017_PAF
    186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
    225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
    226128002countrycode using ICP2017_Countrylist
    227128003countrycode code using ICP2017_RegBHPPP
    228128004RegionCode using ICP2017_RegionalBaserp_basic`i
    229128005temp_agg
    230128006countrycode using temp_aggerase temp_aggdta
    231128007temp_agg (2nd time)
    232128008countrycode using temp_aggerase temp_aggdta (2nd time)
    233128009rp `i
    234128010use rp1refp_stage1
    235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
    236128012use ICP2017_ref_codescode using temp_ppp
    237128013countrycode using ICP2017_CountryList
    238128014countrycode code using ICP2017_RegBHPPP
    239128015RegionCode using ICP2017_RegionalBaserp_basic`i
    240128016use rp_basic`itemp_agg (3rd time)
    241128017countrycode using temp_aggerase temp_aggdta (3rd time)
    242128018temp agg (4th time)
    243128019countrycode using temp_aggerase temp_aggdta (4th time)
    244128020rp `i
    245128021use rp1refp_stage2
    246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
    247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
    143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
    144129002Is file used before replaced below`ppp_temp
    145129003use ICP2017_RegBHPPP`ppp_temp2
    146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
    147129005countrycode code using ICP2017_Exp
    148129006countrycode using ICP2017_countrylist
    149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
    150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
    151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
    152129010countrycode using `ppp_temp3
    153129011RegionCode using ICP2017_regionalbase
    154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
    28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
    29130002countrycode using ICP2017_countrylistcalcglobal_geks
    30130003ppp_temp
    31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
    32130005countrycode code using ICP2011_Exp
    33130006countrycode using ICP2017_countrylist
    34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
    35130008append using ppp_tempppp_temp (2nd time)
    36130009use ppp_temp
    37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
    38130011countrycode using ICP2017_countrylist
    39130012No final file savedcountrycode using calcglobal_geks
    93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
    94140002countrycode using ICP2017_countrylistcalcglobal_geks
    95140003tempfile ppp_temp
    96140004`ppp_temp
    97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
    98140006countrycode code using ICP2017_Exp
    99140007countrycode using ICP2017_countrylist
    100140008RegionCode using ICP2017_Regionalbase
    101140009append using `ppp_tempsave `ppp_temp
    102140010use `ppp_tempcountrycode using ICP2017_countrylist
    103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
    104140012countrycode using ICP2017_countrylist
    105140013No final file savedcountrycode using calcglobal_geks
    210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
    211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
    212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
    213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
    214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
    215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
    216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
    217150008RegionCode using ICP2017_regionalbase
    218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
    132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
    133160002use results_2017countrycode using ICP2017_XR
    134160003countrycode using ICP2017_POP
    135160004countrycode using ICP2017_countrylist
    136160005use ICP2017_CPIcpi_temp
    137160006use ICP2017_DEFdef_temp
    138160007countrycode code using cpi_temperase cpi_tempdta
    139160008countrycode code using def_temperase def_tempdta
    140160009countrycode using results2011_temperase results2011_tempdta
    141160010countrycode year using ICP2017_Xrall
    142160011No final file savedcountrycode year using ICP2017_POPall
    ProgramSubprogram1Subprogram2
    100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
    112_icp2011_paf_applicationdo
    113_icp2011_ReferencePPPsdo
    120_icp2017_calculationsdo121_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

    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
      FilenameSizePackedType12171912420127192920save date
      DS_store6148178DS_STORE File
      compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
      fischer_func_createdoupdate12910
      geks_func_createdoupdate111311
      icp2011_aggregationdo43601351DO Filenewncncupdate2320
      icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
      icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
      icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
      icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
      icp2017_aggregationdo46181395DO Filenewncncupdate2320
      icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
      icp2017_Consistencydo2438831DO Filenewncncupdate2320
      icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
      icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
      icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
      icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
      icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
      laspeyres_func_createdoupdate12910
      load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
      load_basic_datado2829802DO Filenewupdatencupdate12420
      load_listsdo1331487DO Filenewncncupdate12420
      passche_func_createdoupdate12910
      process_input_filedo226165DO Filenewncncupdate82819
      PWT_KL_classificationdtaupdate112719
      pwt_kl_datadtaupdate12619
      ReferencePPPsdo76901708DO Filenewncncupdate12420
      VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
      v2100001compile_aggregate_resultsdo
      v2100002cd userspath
      v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
      v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
      v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
      v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
      v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
      v2100008export excel using $out_file sheet(LF2011)
      v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
      v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
      v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
      v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
      v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
      v2100013export excel using $out_file sheet(LF2017)
      v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
      v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
      v2100015results_2011Generate amp export 2011 aggregate results
      v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
      v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
      v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
      v2100019results_2017Generate amp export 2017 aggregate results
      v2100020use ICP2017_Aggregation
      v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
      v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
      v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
      v2100024Consistency`x
      v2100025run GenChartsdo
      v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
      v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
      v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
      v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
      v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
      v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
      v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
      v2110008countrycode using temp_xr
      v2110009cou using temp_xrICP2011_XR
      v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
      v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
      v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
      v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
      v2110014countrycode agg_code using `pg_edu
      v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
      v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
      v2110017RegionCode code using ICP2011_linkingfactors_initial
      v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
      v2110019RegionCode using `lf_edu
      v2110020countrycode code using ICP2011_Exp
      v2110021code using ICP2017_classification
      v2110022countrycode using ICP2017_countrylist
      v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
      v2110024run ICP2011_paf_calculationdo
      v2110025run ICP2011_paf_applicationdo
      v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
      v2110027run ICP2011_ReferencePPPsdo
      v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
      v2110029countrycode suing ICP2011_XR
      v2110030countrycode code using ICP2011_Exp
      v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
      v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
      v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
      v2111003countrycode asset using temperase temp
      v2111004save pi_temp
      v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
      v2111006temp
      v2111007countrycode using temperase tempdta
      v2111008countrycode using ICP2011_POP
      v2111009countrycode using ICP2017_CountryList
      v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
      v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
      v2112002countrycode using ICP2017_countrylist
      v2112003countrycode using ICP2011_PAF
      v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
      v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
      v2113002countrycode using ICP2017_CountryList
      v2113003countrycode code using ICP2011_RegBHPPP
      v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
      v2113005use rp_basic `itemp_agg
      v2113006countrycode using temp_aggerase temp_aggdta
      v2113007temp_agg (2nd time)
      v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
      v2113009rp `i
      v2113010use rp1refp_icp2011
      v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
      v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
      v2120002run process_input_filedoinsert country names on excel line 5
      v2120003run load_listsdoctryclassaggitemxrcoderefcode
      v2120004run load_basic_datadoitemregbhpppexpxrpaf
      v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
      v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
      v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
      v2120008countrycode using ICP2017_countrylist
      v2120009code using ICP2017_classification
      v2120010code RegionCode using ICP2017_linkingfactors_rpd
      v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
      v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
      v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
      v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
      v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
      v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
      v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
      v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
      v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
      v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
      v2120021RegionCode code using ICP2017_lf_eduhhc
      v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
      v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
      v2120024countrycode using ICP2017_XR
      v2120025countrycode code using ICP2017_Exp
      v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
      v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
      v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
      v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
      v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
      v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
      v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
      v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
      v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
      v2123003ItemCode using ICP2017_itemlist
      v2123004countrycode using ICP2017_countrylist
      v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
      v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
      v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
      v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
      v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
      v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
      v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
      v2124002tempfile reg_nobs
      v2124003region using regionlist
      v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
      v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
      v2125002c using clist
      v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
      v2125004`elec_ppp
      v2125005use ICP2017_itemdataclist
      v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
      v2125007ItemCode using elec_item
      v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
      v2125009saving c1 c2 c3 (3 saving statements)
      v2125010use c1parm using c2
      v2125011parm using c3
      v2125012c using clist`cpd`x
      v2125013erase c1dta c2dta c3dta (3 erase statements)
      v2125014use `cpd1501211append using `cpd1501221
      v2125015append using `cpd1501231
      v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
      v2125017`construction_`x
      v2125018use construction_1501211countrycode using `construction_1501221
      v2125019countrycode using `construction_1501231
      v2125020countrycode code using ICP2017_RegBHPPP
      v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
      v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
      v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
      v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
      v2126004`pi_agg
      v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
      v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
      v2126007`pn_agg
      v2126008countrycode using `pn_agg
      v2126009countrycode using ICP2017_Pop
      v2126010countrycode using ICP2017_Countrylist
      v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
      v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
      v2127002use ICP2017_itemdataclist
      v2127003code countrycode using bh_nopa_tempregionlist
      v2127004region using regionlistICP2017_LF_NoPa
      v2127005use bh_nopa_temperase bh_nopa_tempdta
      v2127006countrycode using ICP2017_countrylist
      v2127007countrycode using ICP2017_PAF
      v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
      v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
      v2128002countrycode using ICP2017_Countrylist
      v2128003countrycode code using ICP2017_RegBHPPP
      v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
      v2128005temp_agg
      v2128006countrycode using temp_aggerase temp_aggdta
      v2128007temp_agg (2nd time)
      v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
      v2128009rp `i
      v2128010use rp1append using rp`ierase rp`idta
      v2128011erase rp_basic`idta
      v2128012refp_stage3
      v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
      v2128014use ICP2017_ref_codescode using temp_ppp
      v2128015countrycode using ICP2017_Countrylist
      v2128016countrycode code using ICP2017_RegBHPPP
      v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
      v2128018use rp_basic`itemp_agg (3rd time)
      v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
      v2128020temp agg (4th time)
      v2128021countrycode using temp_aggerase temp_aggdta (4th time)
      v2128022rp `i
      v2128023use rp1append using rp`ierase rp`idta
      v2128024erase rp_basic`idta
      v2128025refp_stage2
      v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
      v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
      v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
      v2129002`ppp_tempIs file used before replaced below
      v2129003use ICP2017_RegBHPPP`ppp_temp2
      v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
      v2129005countrycode code using ICP2017_Exp
      v2129006countrycode using ICP2017_countrylist
      v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
      v2129008use `ppp_tempappend using `ppp_temp2
      v2129009countrycode using ICP2017_countrylist`ppp_temp3
      v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
      v2129011countrycode using `ppp_temp3
      v2129012RegionCode using ICP2017_regionalbase
      v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
      v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
      v2130002countrycode using ICP2017_countrylistcalcglobal_geks
      v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
      v2130004countrycode using ICP2017_countrylist
      v2130005countrycode using calcglobal_geksNo final file saved
      v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
      v2140002countrycode using ICP2017_countrylistcalcglobal_geks
      v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
      v2140004countrycode using ICP2017_countrylist
      v2140005countrycode using calcglobal_geksNo final file saved
      v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
      v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
      v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
      v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
      v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
      v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
      v2150007RegionCode using ICP2017_regionalbase
      v2150008RegionCode using ICP2017_regionalbase
      v2150009countrycode using results_2011ICPTS_RegBHPPP
      v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
      v2160002use results_2017countrycode using ICP2017_XR
      v2160003countrycode using ICP2017_POP
      v2160004countrycode using ICP2017_countrylist
      v2160005use ICP2017_CPIcpi_temp
      v2160006use ICP2017_DEFdef_temp
      v2160007countrycode code using cpi_temp
      v2160008countrycode code using def_temp
      v2160009countrycode using results2011_temp
      v2160010countrycode year using ICP2017_Xrall
      v2160011countrycode year using ICP2017_POPallNo final file saved
      alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
      1000000DS_store
      2100001compile_aggregate_resultsdo
      3100002cd userspath
      4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
      5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
      6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
      7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
      8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
      9100008export excel using $out_file sheet(LF2011)
      10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
      11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
      12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
      13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
      14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
      15100014export excel using $out_file sheet(LF2017)
      16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
      17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
      18100017Generate amp export 2011 aggregate resultsresults_2011
      19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
      20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
      21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
      22100021Generate amp export 2017 aggregate resultsresults_2017
      23100022use ICP2017_Aggregation
      24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
      25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
      26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
      27100026Consistency`x
      40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
      41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
      42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
      43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
      44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
      45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
      46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
      47110008RegionaCode using ICP2017_regionalbase
      48110009countrycode using temp_xr
      49110010cou using temp_xrICP2011_XR
      50110011erase temp_xrdta
      51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
      52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
      53110014RegionCode code using ICP2011_linkingfactors_initial
      54110015RegionCode code using ICP2011_housing_linking_factors
      55110016countrycode code using ICP2011_Exp
      56110017code using ICP2017_classification
      57110018countrycode using ICP2017_countrylist
      58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
      59110020ICP2011_PAFrun ICP2011_paf_calculationdo
      60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
      61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
      62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
      63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
      64110025countrycode suing ICP2011_XR
      65110026countrycode code using ICP2011_Exp
      66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
      71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
      72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
      73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
      74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
      75111005temp
      76111006countrycode using temperase tempdta
      77111007countrycode using ICP2011_POP
      78111008countrycode using ICP2017_CountryList
      79111009RegionCode using ICP2017_regionalbase
      80111010countrycode using ICP2011_XR
      81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
      67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
      68112002countrycode using ICP2017_countrylist
      69112003countrycode using ICP2011_PAF
      70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
      82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
      83113002countrycode using ICP2017_CountryList
      84113003countrycode code using ICP2011_RegBHPPP
      85113004RegionCode using ICP2017_RegionalBaserp_basic `i
      86113005use rp_basic `itemp_agg
      87113006countrycode using temp_aggerase temp_aggdta
      88113007temp_agg (2nd time)
      89113008countrycode using temp_aggerase temp_aggdta (2nd time)
      90113009rp `i
      91113010use rp1refp_icp2011
      92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
      106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
      107120002insert country names on excel line 5run process_input_filedo
      108120003ctryclassaggitemxrcoderefcoderun load_listsdo
      109120004itemregbhpppexpxrpafrun load_basic_datado
      110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
      111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
      112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
      113120008code countrycode using ICP2017_Exp
      114120009code using ICP2017_classification
      115120010code RegionCode using ICP2017_linkingfactors_rpd
      116120011code RegionCode using ICP2017_housing_linking_factors
      117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
      118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
      119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
      120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
      121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
      122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
      123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
      124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
      125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
      126120021RegionCode code using ICP2017_lf_eduhhc
      127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
      128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
      129120024countrycode using ICP2017_XR
      130120025countrycode code using ICP2017_Exp
      131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
      224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
      219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
      220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
      221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
      222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
      223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
      200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
      201123002import excel using $data_file sheet (APG) c5hr3545p_temp
      202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
      203123004ItemCode using ICP2017_itemlist
      204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
      205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
      206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
      207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
      208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
      209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
      175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
      176124002tempfile reg_nobs
      177124003region using regionlist
      178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
      155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
      156125002c using clisttempfile elec_ppp
      157125003`elec_ppp
      158125004use ICP2017_itemdataclist
      159125005countrycode using `elec_ppp`elec_ppp (2nd time)
      160125006ItemCode using elec_item
      161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
      162125008saving c1 c2 c3 (3 saving statements)
      163125009use c1parm using c2
      164125010parm using c3
      165125011c using clist`cpd`x
      166125012erase c1dta c2dta c3dta (3 erase statements)
      167125013use `cpd1501211append using `cpd1501221
      168125014append using `cpd1501231
      1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
      170125016`construction_`x
      171125017use construction_1501211countrycode using `construction_1501221
      172125018countrycode using `construction_1501231
      173125019countrycode code using ICP2017_RegBHPPP
      174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
      187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
      188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
      189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
      190126004`pi_agg
      191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
      192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
      193126007`pn_agg
      194126008countrycode using `pn_agg
      195126009countrycode using ICP2017_Pop
      196126010countrycode using ICP2017_Countrylist
      197126011RegionCode using ICP2017_regionalbase
      198126012countrycode using ICP2017_XR
      199126013Where is this fileICP2017_PAF
      179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
      180127002use ICP2017_itemdataclist
      181127003code countrycode using bh_nopa_tempregionlist
      182127004region using regionlistICP2017_LF_NoPa
      183127005use bh_nopa_temperase bh_nopa_tempdta
      184127006countrycode using ICP2017_countrylist
      185127007countrycode using ICP2017_PAF
      186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
      225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
      226128002countrycode using ICP2017_Countrylist
      227128003countrycode code using ICP2017_RegBHPPP
      228128004RegionCode using ICP2017_RegionalBaserp_basic`i
      229128005temp_agg
      230128006countrycode using temp_aggerase temp_aggdta
      231128007temp_agg (2nd time)
      232128008countrycode using temp_aggerase temp_aggdta (2nd time)
      233128009rp `i
      234128010use rp1refp_stage1
      235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
      236128012use ICP2017_ref_codescode using temp_ppp
      237128013countrycode using ICP2017_CountryList
      238128014countrycode code using ICP2017_RegBHPPP
      239128015RegionCode using ICP2017_RegionalBaserp_basic`i
      240128016use rp_basic`itemp_agg (3rd time)
      241128017countrycode using temp_aggerase temp_aggdta (3rd time)
      242128018temp agg (4th time)
      243128019countrycode using temp_aggerase temp_aggdta (4th time)
      244128020rp `i
      245128021use rp1refp_stage2
      246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
      247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
      143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
      144129002Is file used before replaced below`ppp_temp
      145129003use ICP2017_RegBHPPP`ppp_temp2
      146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
      147129005countrycode code using ICP2017_Exp
      148129006countrycode using ICP2017_countrylist
      149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
      150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
      151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
      152129010countrycode using `ppp_temp3
      153129011RegionCode using ICP2017_regionalbase
      154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
      28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
      29130002countrycode using ICP2017_countrylistcalcglobal_geks
      30130003ppp_temp
      31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
      32130005countrycode code using ICP2011_Exp
      33130006countrycode using ICP2017_countrylist
      34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
      35130008append using ppp_tempppp_temp (2nd time)
      36130009use ppp_temp
      37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
      38130011countrycode using ICP2017_countrylist
      39130012No final file savedcountrycode using calcglobal_geks
      93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
      94140002countrycode using ICP2017_countrylistcalcglobal_geks
      95140003tempfile ppp_temp
      96140004`ppp_temp
      97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
      98140006countrycode code using ICP2017_Exp
      99140007countrycode using ICP2017_countrylist
      100140008RegionCode using ICP2017_Regionalbase
      101140009append using `ppp_tempsave `ppp_temp
      102140010use `ppp_tempcountrycode using ICP2017_countrylist
      103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
      104140012countrycode using ICP2017_countrylist
      105140013No final file savedcountrycode using calcglobal_geks
      210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
      211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
      212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
      213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
      214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
      215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
      216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
      217150008RegionCode using ICP2017_regionalbase
      218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
      132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
      133160002use results_2017countrycode using ICP2017_XR
      134160003countrycode using ICP2017_POP
      135160004countrycode using ICP2017_countrylist
      136160005use ICP2017_CPIcpi_temp
      137160006use ICP2017_DEFdef_temp
      138160007countrycode code using cpi_temperase cpi_tempdta
      139160008countrycode code using def_temperase def_tempdta
      140160009countrycode using results2011_temperase results2011_tempdta
      141160010countrycode year using ICP2017_Xrall
      142160011No final file savedcountrycode year using ICP2017_POPall
      ProgramSubprogram1Subprogram2
      100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
      112_icp2011_paf_applicationdo
      113_icp2011_ReferencePPPsdo
      120_icp2017_calculationsdo121_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

      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
        FilenameSizePackedType12171912420127192920save date
        DS_store6148178DS_STORE File
        compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
        fischer_func_createdoupdate12910
        geks_func_createdoupdate111311
        icp2011_aggregationdo43601351DO Filenewncncupdate2320
        icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
        icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
        icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
        icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
        icp2017_aggregationdo46181395DO Filenewncncupdate2320
        icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
        icp2017_Consistencydo2438831DO Filenewncncupdate2320
        icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
        icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
        icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
        icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
        icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
        laspeyres_func_createdoupdate12910
        load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
        load_basic_datado2829802DO Filenewupdatencupdate12420
        load_listsdo1331487DO Filenewncncupdate12420
        passche_func_createdoupdate12910
        process_input_filedo226165DO Filenewncncupdate82819
        PWT_KL_classificationdtaupdate112719
        pwt_kl_datadtaupdate12619
        ReferencePPPsdo76901708DO Filenewncncupdate12420
        VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
        v2100001compile_aggregate_resultsdo
        v2100002cd userspath
        v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
        v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
        v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
        v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
        v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
        v2100008export excel using $out_file sheet(LF2011)
        v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
        v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
        v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
        v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
        v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
        v2100013export excel using $out_file sheet(LF2017)
        v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
        v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
        v2100015results_2011Generate amp export 2011 aggregate results
        v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
        v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
        v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
        v2100019results_2017Generate amp export 2017 aggregate results
        v2100020use ICP2017_Aggregation
        v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
        v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
        v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
        v2100024Consistency`x
        v2100025run GenChartsdo
        v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
        v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
        v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
        v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
        v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
        v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
        v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
        v2110008countrycode using temp_xr
        v2110009cou using temp_xrICP2011_XR
        v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
        v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
        v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
        v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
        v2110014countrycode agg_code using `pg_edu
        v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
        v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
        v2110017RegionCode code using ICP2011_linkingfactors_initial
        v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
        v2110019RegionCode using `lf_edu
        v2110020countrycode code using ICP2011_Exp
        v2110021code using ICP2017_classification
        v2110022countrycode using ICP2017_countrylist
        v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
        v2110024run ICP2011_paf_calculationdo
        v2110025run ICP2011_paf_applicationdo
        v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
        v2110027run ICP2011_ReferencePPPsdo
        v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
        v2110029countrycode suing ICP2011_XR
        v2110030countrycode code using ICP2011_Exp
        v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
        v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
        v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
        v2111003countrycode asset using temperase temp
        v2111004save pi_temp
        v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
        v2111006temp
        v2111007countrycode using temperase tempdta
        v2111008countrycode using ICP2011_POP
        v2111009countrycode using ICP2017_CountryList
        v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
        v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
        v2112002countrycode using ICP2017_countrylist
        v2112003countrycode using ICP2011_PAF
        v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
        v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
        v2113002countrycode using ICP2017_CountryList
        v2113003countrycode code using ICP2011_RegBHPPP
        v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
        v2113005use rp_basic `itemp_agg
        v2113006countrycode using temp_aggerase temp_aggdta
        v2113007temp_agg (2nd time)
        v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
        v2113009rp `i
        v2113010use rp1refp_icp2011
        v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
        v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
        v2120002run process_input_filedoinsert country names on excel line 5
        v2120003run load_listsdoctryclassaggitemxrcoderefcode
        v2120004run load_basic_datadoitemregbhpppexpxrpaf
        v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
        v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
        v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
        v2120008countrycode using ICP2017_countrylist
        v2120009code using ICP2017_classification
        v2120010code RegionCode using ICP2017_linkingfactors_rpd
        v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
        v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
        v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
        v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
        v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
        v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
        v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
        v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
        v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
        v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
        v2120021RegionCode code using ICP2017_lf_eduhhc
        v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
        v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
        v2120024countrycode using ICP2017_XR
        v2120025countrycode code using ICP2017_Exp
        v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
        v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
        v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
        v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
        v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
        v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
        v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
        v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
        v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
        v2123003ItemCode using ICP2017_itemlist
        v2123004countrycode using ICP2017_countrylist
        v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
        v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
        v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
        v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
        v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
        v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
        v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
        v2124002tempfile reg_nobs
        v2124003region using regionlist
        v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
        v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
        v2125002c using clist
        v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
        v2125004`elec_ppp
        v2125005use ICP2017_itemdataclist
        v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
        v2125007ItemCode using elec_item
        v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
        v2125009saving c1 c2 c3 (3 saving statements)
        v2125010use c1parm using c2
        v2125011parm using c3
        v2125012c using clist`cpd`x
        v2125013erase c1dta c2dta c3dta (3 erase statements)
        v2125014use `cpd1501211append using `cpd1501221
        v2125015append using `cpd1501231
        v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
        v2125017`construction_`x
        v2125018use construction_1501211countrycode using `construction_1501221
        v2125019countrycode using `construction_1501231
        v2125020countrycode code using ICP2017_RegBHPPP
        v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
        v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
        v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
        v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
        v2126004`pi_agg
        v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
        v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
        v2126007`pn_agg
        v2126008countrycode using `pn_agg
        v2126009countrycode using ICP2017_Pop
        v2126010countrycode using ICP2017_Countrylist
        v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
        v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
        v2127002use ICP2017_itemdataclist
        v2127003code countrycode using bh_nopa_tempregionlist
        v2127004region using regionlistICP2017_LF_NoPa
        v2127005use bh_nopa_temperase bh_nopa_tempdta
        v2127006countrycode using ICP2017_countrylist
        v2127007countrycode using ICP2017_PAF
        v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
        v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
        v2128002countrycode using ICP2017_Countrylist
        v2128003countrycode code using ICP2017_RegBHPPP
        v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
        v2128005temp_agg
        v2128006countrycode using temp_aggerase temp_aggdta
        v2128007temp_agg (2nd time)
        v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
        v2128009rp `i
        v2128010use rp1append using rp`ierase rp`idta
        v2128011erase rp_basic`idta
        v2128012refp_stage3
        v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
        v2128014use ICP2017_ref_codescode using temp_ppp
        v2128015countrycode using ICP2017_Countrylist
        v2128016countrycode code using ICP2017_RegBHPPP
        v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
        v2128018use rp_basic`itemp_agg (3rd time)
        v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
        v2128020temp agg (4th time)
        v2128021countrycode using temp_aggerase temp_aggdta (4th time)
        v2128022rp `i
        v2128023use rp1append using rp`ierase rp`idta
        v2128024erase rp_basic`idta
        v2128025refp_stage2
        v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
        v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
        v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
        v2129002`ppp_tempIs file used before replaced below
        v2129003use ICP2017_RegBHPPP`ppp_temp2
        v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
        v2129005countrycode code using ICP2017_Exp
        v2129006countrycode using ICP2017_countrylist
        v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
        v2129008use `ppp_tempappend using `ppp_temp2
        v2129009countrycode using ICP2017_countrylist`ppp_temp3
        v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
        v2129011countrycode using `ppp_temp3
        v2129012RegionCode using ICP2017_regionalbase
        v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
        v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
        v2130002countrycode using ICP2017_countrylistcalcglobal_geks
        v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
        v2130004countrycode using ICP2017_countrylist
        v2130005countrycode using calcglobal_geksNo final file saved
        v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
        v2140002countrycode using ICP2017_countrylistcalcglobal_geks
        v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
        v2140004countrycode using ICP2017_countrylist
        v2140005countrycode using calcglobal_geksNo final file saved
        v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
        v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
        v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
        v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
        v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
        v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
        v2150007RegionCode using ICP2017_regionalbase
        v2150008RegionCode using ICP2017_regionalbase
        v2150009countrycode using results_2011ICPTS_RegBHPPP
        v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
        v2160002use results_2017countrycode using ICP2017_XR
        v2160003countrycode using ICP2017_POP
        v2160004countrycode using ICP2017_countrylist
        v2160005use ICP2017_CPIcpi_temp
        v2160006use ICP2017_DEFdef_temp
        v2160007countrycode code using cpi_temp
        v2160008countrycode code using def_temp
        v2160009countrycode using results2011_temp
        v2160010countrycode year using ICP2017_Xrall
        v2160011countrycode year using ICP2017_POPallNo final file saved
        alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
        1000000DS_store
        2100001compile_aggregate_resultsdo
        3100002cd userspath
        4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
        5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
        6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
        7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
        8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
        9100008export excel using $out_file sheet(LF2011)
        10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
        11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
        12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
        13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
        14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
        15100014export excel using $out_file sheet(LF2017)
        16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
        17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
        18100017Generate amp export 2011 aggregate resultsresults_2011
        19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
        20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
        21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
        22100021Generate amp export 2017 aggregate resultsresults_2017
        23100022use ICP2017_Aggregation
        24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
        25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
        26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
        27100026Consistency`x
        40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
        41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
        42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
        43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
        44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
        45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
        46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
        47110008RegionaCode using ICP2017_regionalbase
        48110009countrycode using temp_xr
        49110010cou using temp_xrICP2011_XR
        50110011erase temp_xrdta
        51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
        52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
        53110014RegionCode code using ICP2011_linkingfactors_initial
        54110015RegionCode code using ICP2011_housing_linking_factors
        55110016countrycode code using ICP2011_Exp
        56110017code using ICP2017_classification
        57110018countrycode using ICP2017_countrylist
        58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
        59110020ICP2011_PAFrun ICP2011_paf_calculationdo
        60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
        61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
        62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
        63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
        64110025countrycode suing ICP2011_XR
        65110026countrycode code using ICP2011_Exp
        66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
        71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
        72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
        73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
        74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
        75111005temp
        76111006countrycode using temperase tempdta
        77111007countrycode using ICP2011_POP
        78111008countrycode using ICP2017_CountryList
        79111009RegionCode using ICP2017_regionalbase
        80111010countrycode using ICP2011_XR
        81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
        67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
        68112002countrycode using ICP2017_countrylist
        69112003countrycode using ICP2011_PAF
        70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
        82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
        83113002countrycode using ICP2017_CountryList
        84113003countrycode code using ICP2011_RegBHPPP
        85113004RegionCode using ICP2017_RegionalBaserp_basic `i
        86113005use rp_basic `itemp_agg
        87113006countrycode using temp_aggerase temp_aggdta
        88113007temp_agg (2nd time)
        89113008countrycode using temp_aggerase temp_aggdta (2nd time)
        90113009rp `i
        91113010use rp1refp_icp2011
        92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
        106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
        107120002insert country names on excel line 5run process_input_filedo
        108120003ctryclassaggitemxrcoderefcoderun load_listsdo
        109120004itemregbhpppexpxrpafrun load_basic_datado
        110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
        111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
        112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
        113120008code countrycode using ICP2017_Exp
        114120009code using ICP2017_classification
        115120010code RegionCode using ICP2017_linkingfactors_rpd
        116120011code RegionCode using ICP2017_housing_linking_factors
        117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
        118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
        119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
        120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
        121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
        122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
        123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
        124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
        125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
        126120021RegionCode code using ICP2017_lf_eduhhc
        127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
        128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
        129120024countrycode using ICP2017_XR
        130120025countrycode code using ICP2017_Exp
        131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
        224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
        219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
        220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
        221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
        222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
        223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
        200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
        201123002import excel using $data_file sheet (APG) c5hr3545p_temp
        202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
        203123004ItemCode using ICP2017_itemlist
        204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
        205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
        206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
        207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
        208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
        209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
        175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
        176124002tempfile reg_nobs
        177124003region using regionlist
        178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
        155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
        156125002c using clisttempfile elec_ppp
        157125003`elec_ppp
        158125004use ICP2017_itemdataclist
        159125005countrycode using `elec_ppp`elec_ppp (2nd time)
        160125006ItemCode using elec_item
        161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
        162125008saving c1 c2 c3 (3 saving statements)
        163125009use c1parm using c2
        164125010parm using c3
        165125011c using clist`cpd`x
        166125012erase c1dta c2dta c3dta (3 erase statements)
        167125013use `cpd1501211append using `cpd1501221
        168125014append using `cpd1501231
        1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
        170125016`construction_`x
        171125017use construction_1501211countrycode using `construction_1501221
        172125018countrycode using `construction_1501231
        173125019countrycode code using ICP2017_RegBHPPP
        174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
        187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
        188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
        189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
        190126004`pi_agg
        191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
        192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
        193126007`pn_agg
        194126008countrycode using `pn_agg
        195126009countrycode using ICP2017_Pop
        196126010countrycode using ICP2017_Countrylist
        197126011RegionCode using ICP2017_regionalbase
        198126012countrycode using ICP2017_XR
        199126013Where is this fileICP2017_PAF
        179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
        180127002use ICP2017_itemdataclist
        181127003code countrycode using bh_nopa_tempregionlist
        182127004region using regionlistICP2017_LF_NoPa
        183127005use bh_nopa_temperase bh_nopa_tempdta
        184127006countrycode using ICP2017_countrylist
        185127007countrycode using ICP2017_PAF
        186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
        225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
        226128002countrycode using ICP2017_Countrylist
        227128003countrycode code using ICP2017_RegBHPPP
        228128004RegionCode using ICP2017_RegionalBaserp_basic`i
        229128005temp_agg
        230128006countrycode using temp_aggerase temp_aggdta
        231128007temp_agg (2nd time)
        232128008countrycode using temp_aggerase temp_aggdta (2nd time)
        233128009rp `i
        234128010use rp1refp_stage1
        235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
        236128012use ICP2017_ref_codescode using temp_ppp
        237128013countrycode using ICP2017_CountryList
        238128014countrycode code using ICP2017_RegBHPPP
        239128015RegionCode using ICP2017_RegionalBaserp_basic`i
        240128016use rp_basic`itemp_agg (3rd time)
        241128017countrycode using temp_aggerase temp_aggdta (3rd time)
        242128018temp agg (4th time)
        243128019countrycode using temp_aggerase temp_aggdta (4th time)
        244128020rp `i
        245128021use rp1refp_stage2
        246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
        247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
        143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
        144129002Is file used before replaced below`ppp_temp
        145129003use ICP2017_RegBHPPP`ppp_temp2
        146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
        147129005countrycode code using ICP2017_Exp
        148129006countrycode using ICP2017_countrylist
        149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
        150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
        151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
        152129010countrycode using `ppp_temp3
        153129011RegionCode using ICP2017_regionalbase
        154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
        28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
        29130002countrycode using ICP2017_countrylistcalcglobal_geks
        30130003ppp_temp
        31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
        32130005countrycode code using ICP2011_Exp
        33130006countrycode using ICP2017_countrylist
        34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
        35130008append using ppp_tempppp_temp (2nd time)
        36130009use ppp_temp
        37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
        38130011countrycode using ICP2017_countrylist
        39130012No final file savedcountrycode using calcglobal_geks
        93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
        94140002countrycode using ICP2017_countrylistcalcglobal_geks
        95140003tempfile ppp_temp
        96140004`ppp_temp
        97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
        98140006countrycode code using ICP2017_Exp
        99140007countrycode using ICP2017_countrylist
        100140008RegionCode using ICP2017_Regionalbase
        101140009append using `ppp_tempsave `ppp_temp
        102140010use `ppp_tempcountrycode using ICP2017_countrylist
        103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
        104140012countrycode using ICP2017_countrylist
        105140013No final file savedcountrycode using calcglobal_geks
        210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
        211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
        212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
        213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
        214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
        215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
        216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
        217150008RegionCode using ICP2017_regionalbase
        218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
        132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
        133160002use results_2017countrycode using ICP2017_XR
        134160003countrycode using ICP2017_POP
        135160004countrycode using ICP2017_countrylist
        136160005use ICP2017_CPIcpi_temp
        137160006use ICP2017_DEFdef_temp
        138160007countrycode code using cpi_temperase cpi_tempdta
        139160008countrycode code using def_temperase def_tempdta
        140160009countrycode using results2011_temperase results2011_tempdta
        141160010countrycode year using ICP2017_Xrall
        142160011No final file savedcountrycode year using ICP2017_POPall
        ProgramSubprogram1Subprogram2
        100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
        112_icp2011_paf_applicationdo
        113_icp2011_ReferencePPPsdo
        120_icp2017_calculationsdo121_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

        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
          FilenameSizePackedType12171912420127192920save date
          DS_store6148178DS_STORE File
          compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
          fischer_func_createdoupdate12910
          geks_func_createdoupdate111311
          icp2011_aggregationdo43601351DO Filenewncncupdate2320
          icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
          icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
          icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
          icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
          icp2017_aggregationdo46181395DO Filenewncncupdate2320
          icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
          icp2017_Consistencydo2438831DO Filenewncncupdate2320
          icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
          icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
          icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
          icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
          icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
          laspeyres_func_createdoupdate12910
          load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
          load_basic_datado2829802DO Filenewupdatencupdate12420
          load_listsdo1331487DO Filenewncncupdate12420
          passche_func_createdoupdate12910
          process_input_filedo226165DO Filenewncncupdate82819
          PWT_KL_classificationdtaupdate112719
          pwt_kl_datadtaupdate12619
          ReferencePPPsdo76901708DO Filenewncncupdate12420
          VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
          v2100001compile_aggregate_resultsdo
          v2100002cd userspath
          v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
          v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
          v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
          v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
          v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
          v2100008export excel using $out_file sheet(LF2011)
          v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
          v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
          v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
          v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
          v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
          v2100013export excel using $out_file sheet(LF2017)
          v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
          v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
          v2100015results_2011Generate amp export 2011 aggregate results
          v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
          v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
          v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
          v2100019results_2017Generate amp export 2017 aggregate results
          v2100020use ICP2017_Aggregation
          v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
          v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
          v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
          v2100024Consistency`x
          v2100025run GenChartsdo
          v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
          v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
          v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
          v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
          v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
          v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
          v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
          v2110008countrycode using temp_xr
          v2110009cou using temp_xrICP2011_XR
          v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
          v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
          v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
          v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
          v2110014countrycode agg_code using `pg_edu
          v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
          v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
          v2110017RegionCode code using ICP2011_linkingfactors_initial
          v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
          v2110019RegionCode using `lf_edu
          v2110020countrycode code using ICP2011_Exp
          v2110021code using ICP2017_classification
          v2110022countrycode using ICP2017_countrylist
          v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
          v2110024run ICP2011_paf_calculationdo
          v2110025run ICP2011_paf_applicationdo
          v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
          v2110027run ICP2011_ReferencePPPsdo
          v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
          v2110029countrycode suing ICP2011_XR
          v2110030countrycode code using ICP2011_Exp
          v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
          v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
          v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
          v2111003countrycode asset using temperase temp
          v2111004save pi_temp
          v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
          v2111006temp
          v2111007countrycode using temperase tempdta
          v2111008countrycode using ICP2011_POP
          v2111009countrycode using ICP2017_CountryList
          v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
          v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
          v2112002countrycode using ICP2017_countrylist
          v2112003countrycode using ICP2011_PAF
          v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
          v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
          v2113002countrycode using ICP2017_CountryList
          v2113003countrycode code using ICP2011_RegBHPPP
          v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
          v2113005use rp_basic `itemp_agg
          v2113006countrycode using temp_aggerase temp_aggdta
          v2113007temp_agg (2nd time)
          v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
          v2113009rp `i
          v2113010use rp1refp_icp2011
          v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
          v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
          v2120002run process_input_filedoinsert country names on excel line 5
          v2120003run load_listsdoctryclassaggitemxrcoderefcode
          v2120004run load_basic_datadoitemregbhpppexpxrpaf
          v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
          v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
          v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
          v2120008countrycode using ICP2017_countrylist
          v2120009code using ICP2017_classification
          v2120010code RegionCode using ICP2017_linkingfactors_rpd
          v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
          v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
          v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
          v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
          v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
          v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
          v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
          v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
          v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
          v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
          v2120021RegionCode code using ICP2017_lf_eduhhc
          v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
          v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
          v2120024countrycode using ICP2017_XR
          v2120025countrycode code using ICP2017_Exp
          v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
          v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
          v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
          v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
          v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
          v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
          v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
          v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
          v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
          v2123003ItemCode using ICP2017_itemlist
          v2123004countrycode using ICP2017_countrylist
          v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
          v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
          v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
          v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
          v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
          v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
          v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
          v2124002tempfile reg_nobs
          v2124003region using regionlist
          v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
          v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
          v2125002c using clist
          v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
          v2125004`elec_ppp
          v2125005use ICP2017_itemdataclist
          v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
          v2125007ItemCode using elec_item
          v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
          v2125009saving c1 c2 c3 (3 saving statements)
          v2125010use c1parm using c2
          v2125011parm using c3
          v2125012c using clist`cpd`x
          v2125013erase c1dta c2dta c3dta (3 erase statements)
          v2125014use `cpd1501211append using `cpd1501221
          v2125015append using `cpd1501231
          v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
          v2125017`construction_`x
          v2125018use construction_1501211countrycode using `construction_1501221
          v2125019countrycode using `construction_1501231
          v2125020countrycode code using ICP2017_RegBHPPP
          v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
          v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
          v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
          v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
          v2126004`pi_agg
          v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
          v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
          v2126007`pn_agg
          v2126008countrycode using `pn_agg
          v2126009countrycode using ICP2017_Pop
          v2126010countrycode using ICP2017_Countrylist
          v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
          v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
          v2127002use ICP2017_itemdataclist
          v2127003code countrycode using bh_nopa_tempregionlist
          v2127004region using regionlistICP2017_LF_NoPa
          v2127005use bh_nopa_temperase bh_nopa_tempdta
          v2127006countrycode using ICP2017_countrylist
          v2127007countrycode using ICP2017_PAF
          v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
          v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
          v2128002countrycode using ICP2017_Countrylist
          v2128003countrycode code using ICP2017_RegBHPPP
          v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
          v2128005temp_agg
          v2128006countrycode using temp_aggerase temp_aggdta
          v2128007temp_agg (2nd time)
          v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
          v2128009rp `i
          v2128010use rp1append using rp`ierase rp`idta
          v2128011erase rp_basic`idta
          v2128012refp_stage3
          v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
          v2128014use ICP2017_ref_codescode using temp_ppp
          v2128015countrycode using ICP2017_Countrylist
          v2128016countrycode code using ICP2017_RegBHPPP
          v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
          v2128018use rp_basic`itemp_agg (3rd time)
          v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
          v2128020temp agg (4th time)
          v2128021countrycode using temp_aggerase temp_aggdta (4th time)
          v2128022rp `i
          v2128023use rp1append using rp`ierase rp`idta
          v2128024erase rp_basic`idta
          v2128025refp_stage2
          v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
          v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
          v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
          v2129002`ppp_tempIs file used before replaced below
          v2129003use ICP2017_RegBHPPP`ppp_temp2
          v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
          v2129005countrycode code using ICP2017_Exp
          v2129006countrycode using ICP2017_countrylist
          v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
          v2129008use `ppp_tempappend using `ppp_temp2
          v2129009countrycode using ICP2017_countrylist`ppp_temp3
          v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
          v2129011countrycode using `ppp_temp3
          v2129012RegionCode using ICP2017_regionalbase
          v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
          v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
          v2130002countrycode using ICP2017_countrylistcalcglobal_geks
          v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
          v2130004countrycode using ICP2017_countrylist
          v2130005countrycode using calcglobal_geksNo final file saved
          v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
          v2140002countrycode using ICP2017_countrylistcalcglobal_geks
          v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
          v2140004countrycode using ICP2017_countrylist
          v2140005countrycode using calcglobal_geksNo final file saved
          v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
          v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
          v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
          v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
          v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
          v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
          v2150007RegionCode using ICP2017_regionalbase
          v2150008RegionCode using ICP2017_regionalbase
          v2150009countrycode using results_2011ICPTS_RegBHPPP
          v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
          v2160002use results_2017countrycode using ICP2017_XR
          v2160003countrycode using ICP2017_POP
          v2160004countrycode using ICP2017_countrylist
          v2160005use ICP2017_CPIcpi_temp
          v2160006use ICP2017_DEFdef_temp
          v2160007countrycode code using cpi_temp
          v2160008countrycode code using def_temp
          v2160009countrycode using results2011_temp
          v2160010countrycode year using ICP2017_Xrall
          v2160011countrycode year using ICP2017_POPallNo final file saved
          alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
          1000000DS_store
          2100001compile_aggregate_resultsdo
          3100002cd userspath
          4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
          5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
          6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
          7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
          8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
          9100008export excel using $out_file sheet(LF2011)
          10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
          11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
          12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
          13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
          14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
          15100014export excel using $out_file sheet(LF2017)
          16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
          17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
          18100017Generate amp export 2011 aggregate resultsresults_2011
          19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
          20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
          21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
          22100021Generate amp export 2017 aggregate resultsresults_2017
          23100022use ICP2017_Aggregation
          24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
          25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
          26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
          27100026Consistency`x
          40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
          41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
          42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
          43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
          44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
          45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
          46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
          47110008RegionaCode using ICP2017_regionalbase
          48110009countrycode using temp_xr
          49110010cou using temp_xrICP2011_XR
          50110011erase temp_xrdta
          51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
          52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
          53110014RegionCode code using ICP2011_linkingfactors_initial
          54110015RegionCode code using ICP2011_housing_linking_factors
          55110016countrycode code using ICP2011_Exp
          56110017code using ICP2017_classification
          57110018countrycode using ICP2017_countrylist
          58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
          59110020ICP2011_PAFrun ICP2011_paf_calculationdo
          60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
          61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
          62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
          63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
          64110025countrycode suing ICP2011_XR
          65110026countrycode code using ICP2011_Exp
          66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
          71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
          72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
          73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
          74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
          75111005temp
          76111006countrycode using temperase tempdta
          77111007countrycode using ICP2011_POP
          78111008countrycode using ICP2017_CountryList
          79111009RegionCode using ICP2017_regionalbase
          80111010countrycode using ICP2011_XR
          81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
          67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
          68112002countrycode using ICP2017_countrylist
          69112003countrycode using ICP2011_PAF
          70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
          82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
          83113002countrycode using ICP2017_CountryList
          84113003countrycode code using ICP2011_RegBHPPP
          85113004RegionCode using ICP2017_RegionalBaserp_basic `i
          86113005use rp_basic `itemp_agg
          87113006countrycode using temp_aggerase temp_aggdta
          88113007temp_agg (2nd time)
          89113008countrycode using temp_aggerase temp_aggdta (2nd time)
          90113009rp `i
          91113010use rp1refp_icp2011
          92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
          106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
          107120002insert country names on excel line 5run process_input_filedo
          108120003ctryclassaggitemxrcoderefcoderun load_listsdo
          109120004itemregbhpppexpxrpafrun load_basic_datado
          110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
          111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
          112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
          113120008code countrycode using ICP2017_Exp
          114120009code using ICP2017_classification
          115120010code RegionCode using ICP2017_linkingfactors_rpd
          116120011code RegionCode using ICP2017_housing_linking_factors
          117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
          118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
          119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
          120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
          121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
          122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
          123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
          124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
          125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
          126120021RegionCode code using ICP2017_lf_eduhhc
          127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
          128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
          129120024countrycode using ICP2017_XR
          130120025countrycode code using ICP2017_Exp
          131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
          224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
          219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
          220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
          221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
          222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
          223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
          200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
          201123002import excel using $data_file sheet (APG) c5hr3545p_temp
          202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
          203123004ItemCode using ICP2017_itemlist
          204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
          205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
          206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
          207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
          208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
          209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
          175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
          176124002tempfile reg_nobs
          177124003region using regionlist
          178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
          155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
          156125002c using clisttempfile elec_ppp
          157125003`elec_ppp
          158125004use ICP2017_itemdataclist
          159125005countrycode using `elec_ppp`elec_ppp (2nd time)
          160125006ItemCode using elec_item
          161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
          162125008saving c1 c2 c3 (3 saving statements)
          163125009use c1parm using c2
          164125010parm using c3
          165125011c using clist`cpd`x
          166125012erase c1dta c2dta c3dta (3 erase statements)
          167125013use `cpd1501211append using `cpd1501221
          168125014append using `cpd1501231
          1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
          170125016`construction_`x
          171125017use construction_1501211countrycode using `construction_1501221
          172125018countrycode using `construction_1501231
          173125019countrycode code using ICP2017_RegBHPPP
          174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
          187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
          188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
          189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
          190126004`pi_agg
          191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
          192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
          193126007`pn_agg
          194126008countrycode using `pn_agg
          195126009countrycode using ICP2017_Pop
          196126010countrycode using ICP2017_Countrylist
          197126011RegionCode using ICP2017_regionalbase
          198126012countrycode using ICP2017_XR
          199126013Where is this fileICP2017_PAF
          179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
          180127002use ICP2017_itemdataclist
          181127003code countrycode using bh_nopa_tempregionlist
          182127004region using regionlistICP2017_LF_NoPa
          183127005use bh_nopa_temperase bh_nopa_tempdta
          184127006countrycode using ICP2017_countrylist
          185127007countrycode using ICP2017_PAF
          186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
          225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
          226128002countrycode using ICP2017_Countrylist
          227128003countrycode code using ICP2017_RegBHPPP
          228128004RegionCode using ICP2017_RegionalBaserp_basic`i
          229128005temp_agg
          230128006countrycode using temp_aggerase temp_aggdta
          231128007temp_agg (2nd time)
          232128008countrycode using temp_aggerase temp_aggdta (2nd time)
          233128009rp `i
          234128010use rp1refp_stage1
          235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
          236128012use ICP2017_ref_codescode using temp_ppp
          237128013countrycode using ICP2017_CountryList
          238128014countrycode code using ICP2017_RegBHPPP
          239128015RegionCode using ICP2017_RegionalBaserp_basic`i
          240128016use rp_basic`itemp_agg (3rd time)
          241128017countrycode using temp_aggerase temp_aggdta (3rd time)
          242128018temp agg (4th time)
          243128019countrycode using temp_aggerase temp_aggdta (4th time)
          244128020rp `i
          245128021use rp1refp_stage2
          246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
          247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
          143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
          144129002Is file used before replaced below`ppp_temp
          145129003use ICP2017_RegBHPPP`ppp_temp2
          146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
          147129005countrycode code using ICP2017_Exp
          148129006countrycode using ICP2017_countrylist
          149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
          150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
          151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
          152129010countrycode using `ppp_temp3
          153129011RegionCode using ICP2017_regionalbase
          154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
          28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
          29130002countrycode using ICP2017_countrylistcalcglobal_geks
          30130003ppp_temp
          31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
          32130005countrycode code using ICP2011_Exp
          33130006countrycode using ICP2017_countrylist
          34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
          35130008append using ppp_tempppp_temp (2nd time)
          36130009use ppp_temp
          37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
          38130011countrycode using ICP2017_countrylist
          39130012No final file savedcountrycode using calcglobal_geks
          93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
          94140002countrycode using ICP2017_countrylistcalcglobal_geks
          95140003tempfile ppp_temp
          96140004`ppp_temp
          97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
          98140006countrycode code using ICP2017_Exp
          99140007countrycode using ICP2017_countrylist
          100140008RegionCode using ICP2017_Regionalbase
          101140009append using `ppp_tempsave `ppp_temp
          102140010use `ppp_tempcountrycode using ICP2017_countrylist
          103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
          104140012countrycode using ICP2017_countrylist
          105140013No final file savedcountrycode using calcglobal_geks
          210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
          211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
          212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
          213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
          214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
          215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
          216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
          217150008RegionCode using ICP2017_regionalbase
          218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
          132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
          133160002use results_2017countrycode using ICP2017_XR
          134160003countrycode using ICP2017_POP
          135160004countrycode using ICP2017_countrylist
          136160005use ICP2017_CPIcpi_temp
          137160006use ICP2017_DEFdef_temp
          138160007countrycode code using cpi_temperase cpi_tempdta
          139160008countrycode code using def_temperase def_tempdta
          140160009countrycode using results2011_temperase results2011_tempdta
          141160010countrycode year using ICP2017_Xrall
          142160011No final file savedcountrycode year using ICP2017_POPall
          ProgramSubprogram1Subprogram2
          100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
          112_icp2011_paf_applicationdo
          113_icp2011_ReferencePPPsdo
          120_icp2017_calculationsdo121_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

          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
            FilenameSizePackedType12171912420127192920save date
            DS_store6148178DS_STORE File
            compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
            fischer_func_createdoupdate12910
            geks_func_createdoupdate111311
            icp2011_aggregationdo43601351DO Filenewncncupdate2320
            icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
            icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
            icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
            icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
            icp2017_aggregationdo46181395DO Filenewncncupdate2320
            icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
            icp2017_Consistencydo2438831DO Filenewncncupdate2320
            icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
            icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
            icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
            icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
            icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
            laspeyres_func_createdoupdate12910
            load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
            load_basic_datado2829802DO Filenewupdatencupdate12420
            load_listsdo1331487DO Filenewncncupdate12420
            passche_func_createdoupdate12910
            process_input_filedo226165DO Filenewncncupdate82819
            PWT_KL_classificationdtaupdate112719
            pwt_kl_datadtaupdate12619
            ReferencePPPsdo76901708DO Filenewncncupdate12420
            VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
            v2100001compile_aggregate_resultsdo
            v2100002cd userspath
            v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
            v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
            v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
            v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
            v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
            v2100008export excel using $out_file sheet(LF2011)
            v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
            v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
            v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
            v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
            v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
            v2100013export excel using $out_file sheet(LF2017)
            v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
            v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
            v2100015results_2011Generate amp export 2011 aggregate results
            v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
            v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
            v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
            v2100019results_2017Generate amp export 2017 aggregate results
            v2100020use ICP2017_Aggregation
            v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
            v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
            v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
            v2100024Consistency`x
            v2100025run GenChartsdo
            v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
            v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
            v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
            v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
            v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
            v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
            v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
            v2110008countrycode using temp_xr
            v2110009cou using temp_xrICP2011_XR
            v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
            v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
            v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
            v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
            v2110014countrycode agg_code using `pg_edu
            v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
            v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
            v2110017RegionCode code using ICP2011_linkingfactors_initial
            v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
            v2110019RegionCode using `lf_edu
            v2110020countrycode code using ICP2011_Exp
            v2110021code using ICP2017_classification
            v2110022countrycode using ICP2017_countrylist
            v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
            v2110024run ICP2011_paf_calculationdo
            v2110025run ICP2011_paf_applicationdo
            v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
            v2110027run ICP2011_ReferencePPPsdo
            v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
            v2110029countrycode suing ICP2011_XR
            v2110030countrycode code using ICP2011_Exp
            v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
            v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
            v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
            v2111003countrycode asset using temperase temp
            v2111004save pi_temp
            v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
            v2111006temp
            v2111007countrycode using temperase tempdta
            v2111008countrycode using ICP2011_POP
            v2111009countrycode using ICP2017_CountryList
            v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
            v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
            v2112002countrycode using ICP2017_countrylist
            v2112003countrycode using ICP2011_PAF
            v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
            v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
            v2113002countrycode using ICP2017_CountryList
            v2113003countrycode code using ICP2011_RegBHPPP
            v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
            v2113005use rp_basic `itemp_agg
            v2113006countrycode using temp_aggerase temp_aggdta
            v2113007temp_agg (2nd time)
            v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
            v2113009rp `i
            v2113010use rp1refp_icp2011
            v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
            v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
            v2120002run process_input_filedoinsert country names on excel line 5
            v2120003run load_listsdoctryclassaggitemxrcoderefcode
            v2120004run load_basic_datadoitemregbhpppexpxrpaf
            v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
            v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
            v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
            v2120008countrycode using ICP2017_countrylist
            v2120009code using ICP2017_classification
            v2120010code RegionCode using ICP2017_linkingfactors_rpd
            v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
            v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
            v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
            v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
            v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
            v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
            v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
            v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
            v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
            v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
            v2120021RegionCode code using ICP2017_lf_eduhhc
            v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
            v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
            v2120024countrycode using ICP2017_XR
            v2120025countrycode code using ICP2017_Exp
            v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
            v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
            v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
            v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
            v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
            v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
            v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
            v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
            v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
            v2123003ItemCode using ICP2017_itemlist
            v2123004countrycode using ICP2017_countrylist
            v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
            v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
            v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
            v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
            v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
            v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
            v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
            v2124002tempfile reg_nobs
            v2124003region using regionlist
            v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
            v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
            v2125002c using clist
            v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
            v2125004`elec_ppp
            v2125005use ICP2017_itemdataclist
            v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
            v2125007ItemCode using elec_item
            v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
            v2125009saving c1 c2 c3 (3 saving statements)
            v2125010use c1parm using c2
            v2125011parm using c3
            v2125012c using clist`cpd`x
            v2125013erase c1dta c2dta c3dta (3 erase statements)
            v2125014use `cpd1501211append using `cpd1501221
            v2125015append using `cpd1501231
            v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
            v2125017`construction_`x
            v2125018use construction_1501211countrycode using `construction_1501221
            v2125019countrycode using `construction_1501231
            v2125020countrycode code using ICP2017_RegBHPPP
            v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
            v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
            v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
            v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
            v2126004`pi_agg
            v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
            v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
            v2126007`pn_agg
            v2126008countrycode using `pn_agg
            v2126009countrycode using ICP2017_Pop
            v2126010countrycode using ICP2017_Countrylist
            v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
            v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
            v2127002use ICP2017_itemdataclist
            v2127003code countrycode using bh_nopa_tempregionlist
            v2127004region using regionlistICP2017_LF_NoPa
            v2127005use bh_nopa_temperase bh_nopa_tempdta
            v2127006countrycode using ICP2017_countrylist
            v2127007countrycode using ICP2017_PAF
            v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
            v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
            v2128002countrycode using ICP2017_Countrylist
            v2128003countrycode code using ICP2017_RegBHPPP
            v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
            v2128005temp_agg
            v2128006countrycode using temp_aggerase temp_aggdta
            v2128007temp_agg (2nd time)
            v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
            v2128009rp `i
            v2128010use rp1append using rp`ierase rp`idta
            v2128011erase rp_basic`idta
            v2128012refp_stage3
            v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
            v2128014use ICP2017_ref_codescode using temp_ppp
            v2128015countrycode using ICP2017_Countrylist
            v2128016countrycode code using ICP2017_RegBHPPP
            v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
            v2128018use rp_basic`itemp_agg (3rd time)
            v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
            v2128020temp agg (4th time)
            v2128021countrycode using temp_aggerase temp_aggdta (4th time)
            v2128022rp `i
            v2128023use rp1append using rp`ierase rp`idta
            v2128024erase rp_basic`idta
            v2128025refp_stage2
            v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
            v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
            v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
            v2129002`ppp_tempIs file used before replaced below
            v2129003use ICP2017_RegBHPPP`ppp_temp2
            v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
            v2129005countrycode code using ICP2017_Exp
            v2129006countrycode using ICP2017_countrylist
            v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
            v2129008use `ppp_tempappend using `ppp_temp2
            v2129009countrycode using ICP2017_countrylist`ppp_temp3
            v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
            v2129011countrycode using `ppp_temp3
            v2129012RegionCode using ICP2017_regionalbase
            v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
            v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
            v2130002countrycode using ICP2017_countrylistcalcglobal_geks
            v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
            v2130004countrycode using ICP2017_countrylist
            v2130005countrycode using calcglobal_geksNo final file saved
            v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
            v2140002countrycode using ICP2017_countrylistcalcglobal_geks
            v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
            v2140004countrycode using ICP2017_countrylist
            v2140005countrycode using calcglobal_geksNo final file saved
            v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
            v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
            v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
            v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
            v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
            v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
            v2150007RegionCode using ICP2017_regionalbase
            v2150008RegionCode using ICP2017_regionalbase
            v2150009countrycode using results_2011ICPTS_RegBHPPP
            v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
            v2160002use results_2017countrycode using ICP2017_XR
            v2160003countrycode using ICP2017_POP
            v2160004countrycode using ICP2017_countrylist
            v2160005use ICP2017_CPIcpi_temp
            v2160006use ICP2017_DEFdef_temp
            v2160007countrycode code using cpi_temp
            v2160008countrycode code using def_temp
            v2160009countrycode using results2011_temp
            v2160010countrycode year using ICP2017_Xrall
            v2160011countrycode year using ICP2017_POPallNo final file saved
            alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
            1000000DS_store
            2100001compile_aggregate_resultsdo
            3100002cd userspath
            4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
            5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
            6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
            7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
            8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
            9100008export excel using $out_file sheet(LF2011)
            10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
            11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
            12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
            13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
            14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
            15100014export excel using $out_file sheet(LF2017)
            16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
            17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
            18100017Generate amp export 2011 aggregate resultsresults_2011
            19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
            20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
            21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
            22100021Generate amp export 2017 aggregate resultsresults_2017
            23100022use ICP2017_Aggregation
            24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
            25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
            26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
            27100026Consistency`x
            40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
            41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
            42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
            43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
            44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
            45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
            46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
            47110008RegionaCode using ICP2017_regionalbase
            48110009countrycode using temp_xr
            49110010cou using temp_xrICP2011_XR
            50110011erase temp_xrdta
            51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
            52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
            53110014RegionCode code using ICP2011_linkingfactors_initial
            54110015RegionCode code using ICP2011_housing_linking_factors
            55110016countrycode code using ICP2011_Exp
            56110017code using ICP2017_classification
            57110018countrycode using ICP2017_countrylist
            58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
            59110020ICP2011_PAFrun ICP2011_paf_calculationdo
            60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
            61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
            62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
            63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
            64110025countrycode suing ICP2011_XR
            65110026countrycode code using ICP2011_Exp
            66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
            71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
            72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
            73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
            74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
            75111005temp
            76111006countrycode using temperase tempdta
            77111007countrycode using ICP2011_POP
            78111008countrycode using ICP2017_CountryList
            79111009RegionCode using ICP2017_regionalbase
            80111010countrycode using ICP2011_XR
            81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
            67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
            68112002countrycode using ICP2017_countrylist
            69112003countrycode using ICP2011_PAF
            70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
            82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
            83113002countrycode using ICP2017_CountryList
            84113003countrycode code using ICP2011_RegBHPPP
            85113004RegionCode using ICP2017_RegionalBaserp_basic `i
            86113005use rp_basic `itemp_agg
            87113006countrycode using temp_aggerase temp_aggdta
            88113007temp_agg (2nd time)
            89113008countrycode using temp_aggerase temp_aggdta (2nd time)
            90113009rp `i
            91113010use rp1refp_icp2011
            92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
            106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
            107120002insert country names on excel line 5run process_input_filedo
            108120003ctryclassaggitemxrcoderefcoderun load_listsdo
            109120004itemregbhpppexpxrpafrun load_basic_datado
            110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
            111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
            112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
            113120008code countrycode using ICP2017_Exp
            114120009code using ICP2017_classification
            115120010code RegionCode using ICP2017_linkingfactors_rpd
            116120011code RegionCode using ICP2017_housing_linking_factors
            117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
            118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
            119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
            120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
            121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
            122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
            123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
            124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
            125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
            126120021RegionCode code using ICP2017_lf_eduhhc
            127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
            128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
            129120024countrycode using ICP2017_XR
            130120025countrycode code using ICP2017_Exp
            131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
            224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
            219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
            220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
            221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
            222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
            223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
            200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
            201123002import excel using $data_file sheet (APG) c5hr3545p_temp
            202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
            203123004ItemCode using ICP2017_itemlist
            204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
            205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
            206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
            207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
            208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
            209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
            175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
            176124002tempfile reg_nobs
            177124003region using regionlist
            178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
            155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
            156125002c using clisttempfile elec_ppp
            157125003`elec_ppp
            158125004use ICP2017_itemdataclist
            159125005countrycode using `elec_ppp`elec_ppp (2nd time)
            160125006ItemCode using elec_item
            161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
            162125008saving c1 c2 c3 (3 saving statements)
            163125009use c1parm using c2
            164125010parm using c3
            165125011c using clist`cpd`x
            166125012erase c1dta c2dta c3dta (3 erase statements)
            167125013use `cpd1501211append using `cpd1501221
            168125014append using `cpd1501231
            1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
            170125016`construction_`x
            171125017use construction_1501211countrycode using `construction_1501221
            172125018countrycode using `construction_1501231
            173125019countrycode code using ICP2017_RegBHPPP
            174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
            187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
            188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
            189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
            190126004`pi_agg
            191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
            192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
            193126007`pn_agg
            194126008countrycode using `pn_agg
            195126009countrycode using ICP2017_Pop
            196126010countrycode using ICP2017_Countrylist
            197126011RegionCode using ICP2017_regionalbase
            198126012countrycode using ICP2017_XR
            199126013Where is this fileICP2017_PAF
            179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
            180127002use ICP2017_itemdataclist
            181127003code countrycode using bh_nopa_tempregionlist
            182127004region using regionlistICP2017_LF_NoPa
            183127005use bh_nopa_temperase bh_nopa_tempdta
            184127006countrycode using ICP2017_countrylist
            185127007countrycode using ICP2017_PAF
            186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
            225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
            226128002countrycode using ICP2017_Countrylist
            227128003countrycode code using ICP2017_RegBHPPP
            228128004RegionCode using ICP2017_RegionalBaserp_basic`i
            229128005temp_agg
            230128006countrycode using temp_aggerase temp_aggdta
            231128007temp_agg (2nd time)
            232128008countrycode using temp_aggerase temp_aggdta (2nd time)
            233128009rp `i
            234128010use rp1refp_stage1
            235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
            236128012use ICP2017_ref_codescode using temp_ppp
            237128013countrycode using ICP2017_CountryList
            238128014countrycode code using ICP2017_RegBHPPP
            239128015RegionCode using ICP2017_RegionalBaserp_basic`i
            240128016use rp_basic`itemp_agg (3rd time)
            241128017countrycode using temp_aggerase temp_aggdta (3rd time)
            242128018temp agg (4th time)
            243128019countrycode using temp_aggerase temp_aggdta (4th time)
            244128020rp `i
            245128021use rp1refp_stage2
            246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
            247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
            143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
            144129002Is file used before replaced below`ppp_temp
            145129003use ICP2017_RegBHPPP`ppp_temp2
            146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
            147129005countrycode code using ICP2017_Exp
            148129006countrycode using ICP2017_countrylist
            149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
            150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
            151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
            152129010countrycode using `ppp_temp3
            153129011RegionCode using ICP2017_regionalbase
            154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
            28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
            29130002countrycode using ICP2017_countrylistcalcglobal_geks
            30130003ppp_temp
            31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
            32130005countrycode code using ICP2011_Exp
            33130006countrycode using ICP2017_countrylist
            34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
            35130008append using ppp_tempppp_temp (2nd time)
            36130009use ppp_temp
            37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
            38130011countrycode using ICP2017_countrylist
            39130012No final file savedcountrycode using calcglobal_geks
            93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
            94140002countrycode using ICP2017_countrylistcalcglobal_geks
            95140003tempfile ppp_temp
            96140004`ppp_temp
            97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
            98140006countrycode code using ICP2017_Exp
            99140007countrycode using ICP2017_countrylist
            100140008RegionCode using ICP2017_Regionalbase
            101140009append using `ppp_tempsave `ppp_temp
            102140010use `ppp_tempcountrycode using ICP2017_countrylist
            103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
            104140012countrycode using ICP2017_countrylist
            105140013No final file savedcountrycode using calcglobal_geks
            210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
            211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
            212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
            213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
            214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
            215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
            216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
            217150008RegionCode using ICP2017_regionalbase
            218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
            132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
            133160002use results_2017countrycode using ICP2017_XR
            134160003countrycode using ICP2017_POP
            135160004countrycode using ICP2017_countrylist
            136160005use ICP2017_CPIcpi_temp
            137160006use ICP2017_DEFdef_temp
            138160007countrycode code using cpi_temperase cpi_tempdta
            139160008countrycode code using def_temperase def_tempdta
            140160009countrycode using results2011_temperase results2011_tempdta
            141160010countrycode year using ICP2017_Xrall
            142160011No final file savedcountrycode year using ICP2017_POPall
            ProgramSubprogram1Subprogram2
            100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
            112_icp2011_paf_applicationdo
            113_icp2011_ReferencePPPsdo
            120_icp2017_calculationsdo121_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

            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
              FilenameSizePackedType12171912420127192920save date
              DS_store6148178DS_STORE File
              compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
              fischer_func_createdoupdate12910
              geks_func_createdoupdate111311
              icp2011_aggregationdo43601351DO Filenewncncupdate2320
              icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
              icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
              icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
              icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
              icp2017_aggregationdo46181395DO Filenewncncupdate2320
              icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
              icp2017_Consistencydo2438831DO Filenewncncupdate2320
              icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
              icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
              icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
              icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
              icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
              laspeyres_func_createdoupdate12910
              load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
              load_basic_datado2829802DO Filenewupdatencupdate12420
              load_listsdo1331487DO Filenewncncupdate12420
              passche_func_createdoupdate12910
              process_input_filedo226165DO Filenewncncupdate82819
              PWT_KL_classificationdtaupdate112719
              pwt_kl_datadtaupdate12619
              ReferencePPPsdo76901708DO Filenewncncupdate12420
              VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
              v2100001compile_aggregate_resultsdo
              v2100002cd userspath
              v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
              v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
              v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
              v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
              v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
              v2100008export excel using $out_file sheet(LF2011)
              v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
              v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
              v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
              v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
              v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
              v2100013export excel using $out_file sheet(LF2017)
              v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
              v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
              v2100015results_2011Generate amp export 2011 aggregate results
              v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
              v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
              v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
              v2100019results_2017Generate amp export 2017 aggregate results
              v2100020use ICP2017_Aggregation
              v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
              v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
              v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
              v2100024Consistency`x
              v2100025run GenChartsdo
              v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
              v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
              v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
              v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
              v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
              v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
              v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
              v2110008countrycode using temp_xr
              v2110009cou using temp_xrICP2011_XR
              v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
              v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
              v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
              v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
              v2110014countrycode agg_code using `pg_edu
              v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
              v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
              v2110017RegionCode code using ICP2011_linkingfactors_initial
              v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
              v2110019RegionCode using `lf_edu
              v2110020countrycode code using ICP2011_Exp
              v2110021code using ICP2017_classification
              v2110022countrycode using ICP2017_countrylist
              v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
              v2110024run ICP2011_paf_calculationdo
              v2110025run ICP2011_paf_applicationdo
              v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
              v2110027run ICP2011_ReferencePPPsdo
              v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
              v2110029countrycode suing ICP2011_XR
              v2110030countrycode code using ICP2011_Exp
              v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
              v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
              v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
              v2111003countrycode asset using temperase temp
              v2111004save pi_temp
              v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
              v2111006temp
              v2111007countrycode using temperase tempdta
              v2111008countrycode using ICP2011_POP
              v2111009countrycode using ICP2017_CountryList
              v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
              v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
              v2112002countrycode using ICP2017_countrylist
              v2112003countrycode using ICP2011_PAF
              v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
              v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
              v2113002countrycode using ICP2017_CountryList
              v2113003countrycode code using ICP2011_RegBHPPP
              v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
              v2113005use rp_basic `itemp_agg
              v2113006countrycode using temp_aggerase temp_aggdta
              v2113007temp_agg (2nd time)
              v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
              v2113009rp `i
              v2113010use rp1refp_icp2011
              v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
              v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
              v2120002run process_input_filedoinsert country names on excel line 5
              v2120003run load_listsdoctryclassaggitemxrcoderefcode
              v2120004run load_basic_datadoitemregbhpppexpxrpaf
              v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
              v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
              v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
              v2120008countrycode using ICP2017_countrylist
              v2120009code using ICP2017_classification
              v2120010code RegionCode using ICP2017_linkingfactors_rpd
              v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
              v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
              v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
              v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
              v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
              v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
              v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
              v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
              v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
              v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
              v2120021RegionCode code using ICP2017_lf_eduhhc
              v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
              v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
              v2120024countrycode using ICP2017_XR
              v2120025countrycode code using ICP2017_Exp
              v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
              v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
              v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
              v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
              v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
              v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
              v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
              v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
              v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
              v2123003ItemCode using ICP2017_itemlist
              v2123004countrycode using ICP2017_countrylist
              v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
              v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
              v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
              v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
              v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
              v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
              v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
              v2124002tempfile reg_nobs
              v2124003region using regionlist
              v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
              v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
              v2125002c using clist
              v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
              v2125004`elec_ppp
              v2125005use ICP2017_itemdataclist
              v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
              v2125007ItemCode using elec_item
              v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
              v2125009saving c1 c2 c3 (3 saving statements)
              v2125010use c1parm using c2
              v2125011parm using c3
              v2125012c using clist`cpd`x
              v2125013erase c1dta c2dta c3dta (3 erase statements)
              v2125014use `cpd1501211append using `cpd1501221
              v2125015append using `cpd1501231
              v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
              v2125017`construction_`x
              v2125018use construction_1501211countrycode using `construction_1501221
              v2125019countrycode using `construction_1501231
              v2125020countrycode code using ICP2017_RegBHPPP
              v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
              v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
              v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
              v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
              v2126004`pi_agg
              v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
              v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
              v2126007`pn_agg
              v2126008countrycode using `pn_agg
              v2126009countrycode using ICP2017_Pop
              v2126010countrycode using ICP2017_Countrylist
              v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
              v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
              v2127002use ICP2017_itemdataclist
              v2127003code countrycode using bh_nopa_tempregionlist
              v2127004region using regionlistICP2017_LF_NoPa
              v2127005use bh_nopa_temperase bh_nopa_tempdta
              v2127006countrycode using ICP2017_countrylist
              v2127007countrycode using ICP2017_PAF
              v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
              v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
              v2128002countrycode using ICP2017_Countrylist
              v2128003countrycode code using ICP2017_RegBHPPP
              v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
              v2128005temp_agg
              v2128006countrycode using temp_aggerase temp_aggdta
              v2128007temp_agg (2nd time)
              v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
              v2128009rp `i
              v2128010use rp1append using rp`ierase rp`idta
              v2128011erase rp_basic`idta
              v2128012refp_stage3
              v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
              v2128014use ICP2017_ref_codescode using temp_ppp
              v2128015countrycode using ICP2017_Countrylist
              v2128016countrycode code using ICP2017_RegBHPPP
              v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
              v2128018use rp_basic`itemp_agg (3rd time)
              v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
              v2128020temp agg (4th time)
              v2128021countrycode using temp_aggerase temp_aggdta (4th time)
              v2128022rp `i
              v2128023use rp1append using rp`ierase rp`idta
              v2128024erase rp_basic`idta
              v2128025refp_stage2
              v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
              v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
              v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
              v2129002`ppp_tempIs file used before replaced below
              v2129003use ICP2017_RegBHPPP`ppp_temp2
              v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
              v2129005countrycode code using ICP2017_Exp
              v2129006countrycode using ICP2017_countrylist
              v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
              v2129008use `ppp_tempappend using `ppp_temp2
              v2129009countrycode using ICP2017_countrylist`ppp_temp3
              v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
              v2129011countrycode using `ppp_temp3
              v2129012RegionCode using ICP2017_regionalbase
              v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
              v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
              v2130002countrycode using ICP2017_countrylistcalcglobal_geks
              v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
              v2130004countrycode using ICP2017_countrylist
              v2130005countrycode using calcglobal_geksNo final file saved
              v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
              v2140002countrycode using ICP2017_countrylistcalcglobal_geks
              v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
              v2140004countrycode using ICP2017_countrylist
              v2140005countrycode using calcglobal_geksNo final file saved
              v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
              v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
              v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
              v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
              v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
              v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
              v2150007RegionCode using ICP2017_regionalbase
              v2150008RegionCode using ICP2017_regionalbase
              v2150009countrycode using results_2011ICPTS_RegBHPPP
              v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
              v2160002use results_2017countrycode using ICP2017_XR
              v2160003countrycode using ICP2017_POP
              v2160004countrycode using ICP2017_countrylist
              v2160005use ICP2017_CPIcpi_temp
              v2160006use ICP2017_DEFdef_temp
              v2160007countrycode code using cpi_temp
              v2160008countrycode code using def_temp
              v2160009countrycode using results2011_temp
              v2160010countrycode year using ICP2017_Xrall
              v2160011countrycode year using ICP2017_POPallNo final file saved
              alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
              1000000DS_store
              2100001compile_aggregate_resultsdo
              3100002cd userspath
              4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
              5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
              6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
              7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
              8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
              9100008export excel using $out_file sheet(LF2011)
              10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
              11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
              12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
              13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
              14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
              15100014export excel using $out_file sheet(LF2017)
              16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
              17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
              18100017Generate amp export 2011 aggregate resultsresults_2011
              19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
              20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
              21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
              22100021Generate amp export 2017 aggregate resultsresults_2017
              23100022use ICP2017_Aggregation
              24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
              25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
              26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
              27100026Consistency`x
              40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
              41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
              42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
              43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
              44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
              45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
              46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
              47110008RegionaCode using ICP2017_regionalbase
              48110009countrycode using temp_xr
              49110010cou using temp_xrICP2011_XR
              50110011erase temp_xrdta
              51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
              52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
              53110014RegionCode code using ICP2011_linkingfactors_initial
              54110015RegionCode code using ICP2011_housing_linking_factors
              55110016countrycode code using ICP2011_Exp
              56110017code using ICP2017_classification
              57110018countrycode using ICP2017_countrylist
              58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
              59110020ICP2011_PAFrun ICP2011_paf_calculationdo
              60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
              61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
              62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
              63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
              64110025countrycode suing ICP2011_XR
              65110026countrycode code using ICP2011_Exp
              66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
              71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
              72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
              73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
              74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
              75111005temp
              76111006countrycode using temperase tempdta
              77111007countrycode using ICP2011_POP
              78111008countrycode using ICP2017_CountryList
              79111009RegionCode using ICP2017_regionalbase
              80111010countrycode using ICP2011_XR
              81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
              67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
              68112002countrycode using ICP2017_countrylist
              69112003countrycode using ICP2011_PAF
              70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
              82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
              83113002countrycode using ICP2017_CountryList
              84113003countrycode code using ICP2011_RegBHPPP
              85113004RegionCode using ICP2017_RegionalBaserp_basic `i
              86113005use rp_basic `itemp_agg
              87113006countrycode using temp_aggerase temp_aggdta
              88113007temp_agg (2nd time)
              89113008countrycode using temp_aggerase temp_aggdta (2nd time)
              90113009rp `i
              91113010use rp1refp_icp2011
              92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
              106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
              107120002insert country names on excel line 5run process_input_filedo
              108120003ctryclassaggitemxrcoderefcoderun load_listsdo
              109120004itemregbhpppexpxrpafrun load_basic_datado
              110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
              111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
              112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
              113120008code countrycode using ICP2017_Exp
              114120009code using ICP2017_classification
              115120010code RegionCode using ICP2017_linkingfactors_rpd
              116120011code RegionCode using ICP2017_housing_linking_factors
              117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
              118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
              119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
              120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
              121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
              122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
              123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
              124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
              125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
              126120021RegionCode code using ICP2017_lf_eduhhc
              127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
              128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
              129120024countrycode using ICP2017_XR
              130120025countrycode code using ICP2017_Exp
              131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
              224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
              219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
              220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
              221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
              222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
              223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
              200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
              201123002import excel using $data_file sheet (APG) c5hr3545p_temp
              202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
              203123004ItemCode using ICP2017_itemlist
              204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
              205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
              206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
              207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
              208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
              209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
              175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
              176124002tempfile reg_nobs
              177124003region using regionlist
              178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
              155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
              156125002c using clisttempfile elec_ppp
              157125003`elec_ppp
              158125004use ICP2017_itemdataclist
              159125005countrycode using `elec_ppp`elec_ppp (2nd time)
              160125006ItemCode using elec_item
              161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
              162125008saving c1 c2 c3 (3 saving statements)
              163125009use c1parm using c2
              164125010parm using c3
              165125011c using clist`cpd`x
              166125012erase c1dta c2dta c3dta (3 erase statements)
              167125013use `cpd1501211append using `cpd1501221
              168125014append using `cpd1501231
              1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
              170125016`construction_`x
              171125017use construction_1501211countrycode using `construction_1501221
              172125018countrycode using `construction_1501231
              173125019countrycode code using ICP2017_RegBHPPP
              174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
              187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
              188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
              189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
              190126004`pi_agg
              191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
              192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
              193126007`pn_agg
              194126008countrycode using `pn_agg
              195126009countrycode using ICP2017_Pop
              196126010countrycode using ICP2017_Countrylist
              197126011RegionCode using ICP2017_regionalbase
              198126012countrycode using ICP2017_XR
              199126013Where is this fileICP2017_PAF
              179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
              180127002use ICP2017_itemdataclist
              181127003code countrycode using bh_nopa_tempregionlist
              182127004region using regionlistICP2017_LF_NoPa
              183127005use bh_nopa_temperase bh_nopa_tempdta
              184127006countrycode using ICP2017_countrylist
              185127007countrycode using ICP2017_PAF
              186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
              225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
              226128002countrycode using ICP2017_Countrylist
              227128003countrycode code using ICP2017_RegBHPPP
              228128004RegionCode using ICP2017_RegionalBaserp_basic`i
              229128005temp_agg
              230128006countrycode using temp_aggerase temp_aggdta
              231128007temp_agg (2nd time)
              232128008countrycode using temp_aggerase temp_aggdta (2nd time)
              233128009rp `i
              234128010use rp1refp_stage1
              235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
              236128012use ICP2017_ref_codescode using temp_ppp
              237128013countrycode using ICP2017_CountryList
              238128014countrycode code using ICP2017_RegBHPPP
              239128015RegionCode using ICP2017_RegionalBaserp_basic`i
              240128016use rp_basic`itemp_agg (3rd time)
              241128017countrycode using temp_aggerase temp_aggdta (3rd time)
              242128018temp agg (4th time)
              243128019countrycode using temp_aggerase temp_aggdta (4th time)
              244128020rp `i
              245128021use rp1refp_stage2
              246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
              247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
              143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
              144129002Is file used before replaced below`ppp_temp
              145129003use ICP2017_RegBHPPP`ppp_temp2
              146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
              147129005countrycode code using ICP2017_Exp
              148129006countrycode using ICP2017_countrylist
              149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
              150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
              151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
              152129010countrycode using `ppp_temp3
              153129011RegionCode using ICP2017_regionalbase
              154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
              28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
              29130002countrycode using ICP2017_countrylistcalcglobal_geks
              30130003ppp_temp
              31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
              32130005countrycode code using ICP2011_Exp
              33130006countrycode using ICP2017_countrylist
              34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
              35130008append using ppp_tempppp_temp (2nd time)
              36130009use ppp_temp
              37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
              38130011countrycode using ICP2017_countrylist
              39130012No final file savedcountrycode using calcglobal_geks
              93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
              94140002countrycode using ICP2017_countrylistcalcglobal_geks
              95140003tempfile ppp_temp
              96140004`ppp_temp
              97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
              98140006countrycode code using ICP2017_Exp
              99140007countrycode using ICP2017_countrylist
              100140008RegionCode using ICP2017_Regionalbase
              101140009append using `ppp_tempsave `ppp_temp
              102140010use `ppp_tempcountrycode using ICP2017_countrylist
              103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
              104140012countrycode using ICP2017_countrylist
              105140013No final file savedcountrycode using calcglobal_geks
              210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
              211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
              212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
              213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
              214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
              215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
              216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
              217150008RegionCode using ICP2017_regionalbase
              218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
              132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
              133160002use results_2017countrycode using ICP2017_XR
              134160003countrycode using ICP2017_POP
              135160004countrycode using ICP2017_countrylist
              136160005use ICP2017_CPIcpi_temp
              137160006use ICP2017_DEFdef_temp
              138160007countrycode code using cpi_temperase cpi_tempdta
              139160008countrycode code using def_temperase def_tempdta
              140160009countrycode using results2011_temperase results2011_tempdta
              141160010countrycode year using ICP2017_Xrall
              142160011No final file savedcountrycode year using ICP2017_POPall
              ProgramSubprogram1Subprogram2
              100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
              112_icp2011_paf_applicationdo
              113_icp2011_ReferencePPPsdo
              120_icp2017_calculationsdo121_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

              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
                FilenameSizePackedType12171912420127192920save date
                DS_store6148178DS_STORE File
                compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                fischer_func_createdoupdate12910
                geks_func_createdoupdate111311
                icp2011_aggregationdo43601351DO Filenewncncupdate2320
                icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                icp2017_aggregationdo46181395DO Filenewncncupdate2320
                icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                icp2017_Consistencydo2438831DO Filenewncncupdate2320
                icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                laspeyres_func_createdoupdate12910
                load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                load_basic_datado2829802DO Filenewupdatencupdate12420
                load_listsdo1331487DO Filenewncncupdate12420
                passche_func_createdoupdate12910
                process_input_filedo226165DO Filenewncncupdate82819
                PWT_KL_classificationdtaupdate112719
                pwt_kl_datadtaupdate12619
                ReferencePPPsdo76901708DO Filenewncncupdate12420
                VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                v2100001compile_aggregate_resultsdo
                v2100002cd userspath
                v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                v2100008export excel using $out_file sheet(LF2011)
                v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                v2100013export excel using $out_file sheet(LF2017)
                v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                v2100015results_2011Generate amp export 2011 aggregate results
                v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                v2100019results_2017Generate amp export 2017 aggregate results
                v2100020use ICP2017_Aggregation
                v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                v2100024Consistency`x
                v2100025run GenChartsdo
                v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                v2110008countrycode using temp_xr
                v2110009cou using temp_xrICP2011_XR
                v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                v2110014countrycode agg_code using `pg_edu
                v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                v2110017RegionCode code using ICP2011_linkingfactors_initial
                v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                v2110019RegionCode using `lf_edu
                v2110020countrycode code using ICP2011_Exp
                v2110021code using ICP2017_classification
                v2110022countrycode using ICP2017_countrylist
                v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                v2110024run ICP2011_paf_calculationdo
                v2110025run ICP2011_paf_applicationdo
                v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                v2110027run ICP2011_ReferencePPPsdo
                v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                v2110029countrycode suing ICP2011_XR
                v2110030countrycode code using ICP2011_Exp
                v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                v2111003countrycode asset using temperase temp
                v2111004save pi_temp
                v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                v2111006temp
                v2111007countrycode using temperase tempdta
                v2111008countrycode using ICP2011_POP
                v2111009countrycode using ICP2017_CountryList
                v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                v2112002countrycode using ICP2017_countrylist
                v2112003countrycode using ICP2011_PAF
                v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                v2113002countrycode using ICP2017_CountryList
                v2113003countrycode code using ICP2011_RegBHPPP
                v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                v2113005use rp_basic `itemp_agg
                v2113006countrycode using temp_aggerase temp_aggdta
                v2113007temp_agg (2nd time)
                v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                v2113009rp `i
                v2113010use rp1refp_icp2011
                v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                v2120002run process_input_filedoinsert country names on excel line 5
                v2120003run load_listsdoctryclassaggitemxrcoderefcode
                v2120004run load_basic_datadoitemregbhpppexpxrpaf
                v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                v2120008countrycode using ICP2017_countrylist
                v2120009code using ICP2017_classification
                v2120010code RegionCode using ICP2017_linkingfactors_rpd
                v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                v2120021RegionCode code using ICP2017_lf_eduhhc
                v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                v2120024countrycode using ICP2017_XR
                v2120025countrycode code using ICP2017_Exp
                v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                v2123003ItemCode using ICP2017_itemlist
                v2123004countrycode using ICP2017_countrylist
                v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                v2124002tempfile reg_nobs
                v2124003region using regionlist
                v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                v2125002c using clist
                v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                v2125004`elec_ppp
                v2125005use ICP2017_itemdataclist
                v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                v2125007ItemCode using elec_item
                v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                v2125009saving c1 c2 c3 (3 saving statements)
                v2125010use c1parm using c2
                v2125011parm using c3
                v2125012c using clist`cpd`x
                v2125013erase c1dta c2dta c3dta (3 erase statements)
                v2125014use `cpd1501211append using `cpd1501221
                v2125015append using `cpd1501231
                v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                v2125017`construction_`x
                v2125018use construction_1501211countrycode using `construction_1501221
                v2125019countrycode using `construction_1501231
                v2125020countrycode code using ICP2017_RegBHPPP
                v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                v2126004`pi_agg
                v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                v2126007`pn_agg
                v2126008countrycode using `pn_agg
                v2126009countrycode using ICP2017_Pop
                v2126010countrycode using ICP2017_Countrylist
                v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                v2127002use ICP2017_itemdataclist
                v2127003code countrycode using bh_nopa_tempregionlist
                v2127004region using regionlistICP2017_LF_NoPa
                v2127005use bh_nopa_temperase bh_nopa_tempdta
                v2127006countrycode using ICP2017_countrylist
                v2127007countrycode using ICP2017_PAF
                v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                v2128002countrycode using ICP2017_Countrylist
                v2128003countrycode code using ICP2017_RegBHPPP
                v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                v2128005temp_agg
                v2128006countrycode using temp_aggerase temp_aggdta
                v2128007temp_agg (2nd time)
                v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                v2128009rp `i
                v2128010use rp1append using rp`ierase rp`idta
                v2128011erase rp_basic`idta
                v2128012refp_stage3
                v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                v2128014use ICP2017_ref_codescode using temp_ppp
                v2128015countrycode using ICP2017_Countrylist
                v2128016countrycode code using ICP2017_RegBHPPP
                v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                v2128018use rp_basic`itemp_agg (3rd time)
                v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                v2128020temp agg (4th time)
                v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                v2128022rp `i
                v2128023use rp1append using rp`ierase rp`idta
                v2128024erase rp_basic`idta
                v2128025refp_stage2
                v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                v2129002`ppp_tempIs file used before replaced below
                v2129003use ICP2017_RegBHPPP`ppp_temp2
                v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                v2129005countrycode code using ICP2017_Exp
                v2129006countrycode using ICP2017_countrylist
                v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                v2129008use `ppp_tempappend using `ppp_temp2
                v2129009countrycode using ICP2017_countrylist`ppp_temp3
                v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                v2129011countrycode using `ppp_temp3
                v2129012RegionCode using ICP2017_regionalbase
                v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                v2130004countrycode using ICP2017_countrylist
                v2130005countrycode using calcglobal_geksNo final file saved
                v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                v2140004countrycode using ICP2017_countrylist
                v2140005countrycode using calcglobal_geksNo final file saved
                v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                v2150007RegionCode using ICP2017_regionalbase
                v2150008RegionCode using ICP2017_regionalbase
                v2150009countrycode using results_2011ICPTS_RegBHPPP
                v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                v2160002use results_2017countrycode using ICP2017_XR
                v2160003countrycode using ICP2017_POP
                v2160004countrycode using ICP2017_countrylist
                v2160005use ICP2017_CPIcpi_temp
                v2160006use ICP2017_DEFdef_temp
                v2160007countrycode code using cpi_temp
                v2160008countrycode code using def_temp
                v2160009countrycode using results2011_temp
                v2160010countrycode year using ICP2017_Xrall
                v2160011countrycode year using ICP2017_POPallNo final file saved
                alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                1000000DS_store
                2100001compile_aggregate_resultsdo
                3100002cd userspath
                4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                9100008export excel using $out_file sheet(LF2011)
                10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                15100014export excel using $out_file sheet(LF2017)
                16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                18100017Generate amp export 2011 aggregate resultsresults_2011
                19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                22100021Generate amp export 2017 aggregate resultsresults_2017
                23100022use ICP2017_Aggregation
                24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                27100026Consistency`x
                40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                47110008RegionaCode using ICP2017_regionalbase
                48110009countrycode using temp_xr
                49110010cou using temp_xrICP2011_XR
                50110011erase temp_xrdta
                51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                53110014RegionCode code using ICP2011_linkingfactors_initial
                54110015RegionCode code using ICP2011_housing_linking_factors
                55110016countrycode code using ICP2011_Exp
                56110017code using ICP2017_classification
                57110018countrycode using ICP2017_countrylist
                58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                64110025countrycode suing ICP2011_XR
                65110026countrycode code using ICP2011_Exp
                66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                75111005temp
                76111006countrycode using temperase tempdta
                77111007countrycode using ICP2011_POP
                78111008countrycode using ICP2017_CountryList
                79111009RegionCode using ICP2017_regionalbase
                80111010countrycode using ICP2011_XR
                81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                68112002countrycode using ICP2017_countrylist
                69112003countrycode using ICP2011_PAF
                70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                83113002countrycode using ICP2017_CountryList
                84113003countrycode code using ICP2011_RegBHPPP
                85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                86113005use rp_basic `itemp_agg
                87113006countrycode using temp_aggerase temp_aggdta
                88113007temp_agg (2nd time)
                89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                90113009rp `i
                91113010use rp1refp_icp2011
                92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                107120002insert country names on excel line 5run process_input_filedo
                108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                109120004itemregbhpppexpxrpafrun load_basic_datado
                110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                113120008code countrycode using ICP2017_Exp
                114120009code using ICP2017_classification
                115120010code RegionCode using ICP2017_linkingfactors_rpd
                116120011code RegionCode using ICP2017_housing_linking_factors
                117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                126120021RegionCode code using ICP2017_lf_eduhhc
                127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                129120024countrycode using ICP2017_XR
                130120025countrycode code using ICP2017_Exp
                131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                203123004ItemCode using ICP2017_itemlist
                204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                176124002tempfile reg_nobs
                177124003region using regionlist
                178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                156125002c using clisttempfile elec_ppp
                157125003`elec_ppp
                158125004use ICP2017_itemdataclist
                159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                160125006ItemCode using elec_item
                161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                162125008saving c1 c2 c3 (3 saving statements)
                163125009use c1parm using c2
                164125010parm using c3
                165125011c using clist`cpd`x
                166125012erase c1dta c2dta c3dta (3 erase statements)
                167125013use `cpd1501211append using `cpd1501221
                168125014append using `cpd1501231
                1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                170125016`construction_`x
                171125017use construction_1501211countrycode using `construction_1501221
                172125018countrycode using `construction_1501231
                173125019countrycode code using ICP2017_RegBHPPP
                174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                190126004`pi_agg
                191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                193126007`pn_agg
                194126008countrycode using `pn_agg
                195126009countrycode using ICP2017_Pop
                196126010countrycode using ICP2017_Countrylist
                197126011RegionCode using ICP2017_regionalbase
                198126012countrycode using ICP2017_XR
                199126013Where is this fileICP2017_PAF
                179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                180127002use ICP2017_itemdataclist
                181127003code countrycode using bh_nopa_tempregionlist
                182127004region using regionlistICP2017_LF_NoPa
                183127005use bh_nopa_temperase bh_nopa_tempdta
                184127006countrycode using ICP2017_countrylist
                185127007countrycode using ICP2017_PAF
                186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                226128002countrycode using ICP2017_Countrylist
                227128003countrycode code using ICP2017_RegBHPPP
                228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                229128005temp_agg
                230128006countrycode using temp_aggerase temp_aggdta
                231128007temp_agg (2nd time)
                232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                233128009rp `i
                234128010use rp1refp_stage1
                235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                236128012use ICP2017_ref_codescode using temp_ppp
                237128013countrycode using ICP2017_CountryList
                238128014countrycode code using ICP2017_RegBHPPP
                239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                240128016use rp_basic`itemp_agg (3rd time)
                241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                242128018temp agg (4th time)
                243128019countrycode using temp_aggerase temp_aggdta (4th time)
                244128020rp `i
                245128021use rp1refp_stage2
                246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                144129002Is file used before replaced below`ppp_temp
                145129003use ICP2017_RegBHPPP`ppp_temp2
                146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                147129005countrycode code using ICP2017_Exp
                148129006countrycode using ICP2017_countrylist
                149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                152129010countrycode using `ppp_temp3
                153129011RegionCode using ICP2017_regionalbase
                154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                29130002countrycode using ICP2017_countrylistcalcglobal_geks
                30130003ppp_temp
                31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                32130005countrycode code using ICP2011_Exp
                33130006countrycode using ICP2017_countrylist
                34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                35130008append using ppp_tempppp_temp (2nd time)
                36130009use ppp_temp
                37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                38130011countrycode using ICP2017_countrylist
                39130012No final file savedcountrycode using calcglobal_geks
                93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                94140002countrycode using ICP2017_countrylistcalcglobal_geks
                95140003tempfile ppp_temp
                96140004`ppp_temp
                97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                98140006countrycode code using ICP2017_Exp
                99140007countrycode using ICP2017_countrylist
                100140008RegionCode using ICP2017_Regionalbase
                101140009append using `ppp_tempsave `ppp_temp
                102140010use `ppp_tempcountrycode using ICP2017_countrylist
                103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                104140012countrycode using ICP2017_countrylist
                105140013No final file savedcountrycode using calcglobal_geks
                210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                217150008RegionCode using ICP2017_regionalbase
                218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                133160002use results_2017countrycode using ICP2017_XR
                134160003countrycode using ICP2017_POP
                135160004countrycode using ICP2017_countrylist
                136160005use ICP2017_CPIcpi_temp
                137160006use ICP2017_DEFdef_temp
                138160007countrycode code using cpi_temperase cpi_tempdta
                139160008countrycode code using def_temperase def_tempdta
                140160009countrycode using results2011_temperase results2011_tempdta
                141160010countrycode year using ICP2017_Xrall
                142160011No final file savedcountrycode year using ICP2017_POPall
                ProgramSubprogram1Subprogram2
                100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                112_icp2011_paf_applicationdo
                113_icp2011_ReferencePPPsdo
                120_icp2017_calculationsdo121_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

                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
                  FilenameSizePackedType12171912420127192920save date
                  DS_store6148178DS_STORE File
                  compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                  fischer_func_createdoupdate12910
                  geks_func_createdoupdate111311
                  icp2011_aggregationdo43601351DO Filenewncncupdate2320
                  icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                  icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                  icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                  icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                  icp2017_aggregationdo46181395DO Filenewncncupdate2320
                  icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                  icp2017_Consistencydo2438831DO Filenewncncupdate2320
                  icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                  icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                  icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                  icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                  icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                  laspeyres_func_createdoupdate12910
                  load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                  load_basic_datado2829802DO Filenewupdatencupdate12420
                  load_listsdo1331487DO Filenewncncupdate12420
                  passche_func_createdoupdate12910
                  process_input_filedo226165DO Filenewncncupdate82819
                  PWT_KL_classificationdtaupdate112719
                  pwt_kl_datadtaupdate12619
                  ReferencePPPsdo76901708DO Filenewncncupdate12420
                  VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                  v2100001compile_aggregate_resultsdo
                  v2100002cd userspath
                  v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                  v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                  v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                  v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                  v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                  v2100008export excel using $out_file sheet(LF2011)
                  v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                  v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                  v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                  v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                  v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                  v2100013export excel using $out_file sheet(LF2017)
                  v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                  v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                  v2100015results_2011Generate amp export 2011 aggregate results
                  v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                  v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                  v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                  v2100019results_2017Generate amp export 2017 aggregate results
                  v2100020use ICP2017_Aggregation
                  v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                  v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                  v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                  v2100024Consistency`x
                  v2100025run GenChartsdo
                  v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                  v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                  v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                  v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                  v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                  v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                  v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                  v2110008countrycode using temp_xr
                  v2110009cou using temp_xrICP2011_XR
                  v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                  v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                  v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                  v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                  v2110014countrycode agg_code using `pg_edu
                  v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                  v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                  v2110017RegionCode code using ICP2011_linkingfactors_initial
                  v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                  v2110019RegionCode using `lf_edu
                  v2110020countrycode code using ICP2011_Exp
                  v2110021code using ICP2017_classification
                  v2110022countrycode using ICP2017_countrylist
                  v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                  v2110024run ICP2011_paf_calculationdo
                  v2110025run ICP2011_paf_applicationdo
                  v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                  v2110027run ICP2011_ReferencePPPsdo
                  v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                  v2110029countrycode suing ICP2011_XR
                  v2110030countrycode code using ICP2011_Exp
                  v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                  v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                  v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                  v2111003countrycode asset using temperase temp
                  v2111004save pi_temp
                  v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                  v2111006temp
                  v2111007countrycode using temperase tempdta
                  v2111008countrycode using ICP2011_POP
                  v2111009countrycode using ICP2017_CountryList
                  v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                  v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                  v2112002countrycode using ICP2017_countrylist
                  v2112003countrycode using ICP2011_PAF
                  v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                  v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                  v2113002countrycode using ICP2017_CountryList
                  v2113003countrycode code using ICP2011_RegBHPPP
                  v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                  v2113005use rp_basic `itemp_agg
                  v2113006countrycode using temp_aggerase temp_aggdta
                  v2113007temp_agg (2nd time)
                  v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                  v2113009rp `i
                  v2113010use rp1refp_icp2011
                  v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                  v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                  v2120002run process_input_filedoinsert country names on excel line 5
                  v2120003run load_listsdoctryclassaggitemxrcoderefcode
                  v2120004run load_basic_datadoitemregbhpppexpxrpaf
                  v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                  v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                  v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                  v2120008countrycode using ICP2017_countrylist
                  v2120009code using ICP2017_classification
                  v2120010code RegionCode using ICP2017_linkingfactors_rpd
                  v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                  v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                  v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                  v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                  v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                  v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                  v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                  v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                  v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                  v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                  v2120021RegionCode code using ICP2017_lf_eduhhc
                  v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                  v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                  v2120024countrycode using ICP2017_XR
                  v2120025countrycode code using ICP2017_Exp
                  v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                  v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                  v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                  v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                  v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                  v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                  v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                  v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                  v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                  v2123003ItemCode using ICP2017_itemlist
                  v2123004countrycode using ICP2017_countrylist
                  v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                  v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                  v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                  v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                  v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                  v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                  v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                  v2124002tempfile reg_nobs
                  v2124003region using regionlist
                  v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                  v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                  v2125002c using clist
                  v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                  v2125004`elec_ppp
                  v2125005use ICP2017_itemdataclist
                  v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                  v2125007ItemCode using elec_item
                  v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                  v2125009saving c1 c2 c3 (3 saving statements)
                  v2125010use c1parm using c2
                  v2125011parm using c3
                  v2125012c using clist`cpd`x
                  v2125013erase c1dta c2dta c3dta (3 erase statements)
                  v2125014use `cpd1501211append using `cpd1501221
                  v2125015append using `cpd1501231
                  v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                  v2125017`construction_`x
                  v2125018use construction_1501211countrycode using `construction_1501221
                  v2125019countrycode using `construction_1501231
                  v2125020countrycode code using ICP2017_RegBHPPP
                  v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                  v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                  v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                  v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                  v2126004`pi_agg
                  v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                  v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                  v2126007`pn_agg
                  v2126008countrycode using `pn_agg
                  v2126009countrycode using ICP2017_Pop
                  v2126010countrycode using ICP2017_Countrylist
                  v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                  v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                  v2127002use ICP2017_itemdataclist
                  v2127003code countrycode using bh_nopa_tempregionlist
                  v2127004region using regionlistICP2017_LF_NoPa
                  v2127005use bh_nopa_temperase bh_nopa_tempdta
                  v2127006countrycode using ICP2017_countrylist
                  v2127007countrycode using ICP2017_PAF
                  v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                  v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                  v2128002countrycode using ICP2017_Countrylist
                  v2128003countrycode code using ICP2017_RegBHPPP
                  v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                  v2128005temp_agg
                  v2128006countrycode using temp_aggerase temp_aggdta
                  v2128007temp_agg (2nd time)
                  v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                  v2128009rp `i
                  v2128010use rp1append using rp`ierase rp`idta
                  v2128011erase rp_basic`idta
                  v2128012refp_stage3
                  v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                  v2128014use ICP2017_ref_codescode using temp_ppp
                  v2128015countrycode using ICP2017_Countrylist
                  v2128016countrycode code using ICP2017_RegBHPPP
                  v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                  v2128018use rp_basic`itemp_agg (3rd time)
                  v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                  v2128020temp agg (4th time)
                  v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                  v2128022rp `i
                  v2128023use rp1append using rp`ierase rp`idta
                  v2128024erase rp_basic`idta
                  v2128025refp_stage2
                  v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                  v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                  v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                  v2129002`ppp_tempIs file used before replaced below
                  v2129003use ICP2017_RegBHPPP`ppp_temp2
                  v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                  v2129005countrycode code using ICP2017_Exp
                  v2129006countrycode using ICP2017_countrylist
                  v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                  v2129008use `ppp_tempappend using `ppp_temp2
                  v2129009countrycode using ICP2017_countrylist`ppp_temp3
                  v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                  v2129011countrycode using `ppp_temp3
                  v2129012RegionCode using ICP2017_regionalbase
                  v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                  v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                  v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                  v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                  v2130004countrycode using ICP2017_countrylist
                  v2130005countrycode using calcglobal_geksNo final file saved
                  v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                  v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                  v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                  v2140004countrycode using ICP2017_countrylist
                  v2140005countrycode using calcglobal_geksNo final file saved
                  v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                  v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                  v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                  v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                  v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                  v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                  v2150007RegionCode using ICP2017_regionalbase
                  v2150008RegionCode using ICP2017_regionalbase
                  v2150009countrycode using results_2011ICPTS_RegBHPPP
                  v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                  v2160002use results_2017countrycode using ICP2017_XR
                  v2160003countrycode using ICP2017_POP
                  v2160004countrycode using ICP2017_countrylist
                  v2160005use ICP2017_CPIcpi_temp
                  v2160006use ICP2017_DEFdef_temp
                  v2160007countrycode code using cpi_temp
                  v2160008countrycode code using def_temp
                  v2160009countrycode using results2011_temp
                  v2160010countrycode year using ICP2017_Xrall
                  v2160011countrycode year using ICP2017_POPallNo final file saved
                  alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                  1000000DS_store
                  2100001compile_aggregate_resultsdo
                  3100002cd userspath
                  4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                  5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                  6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                  7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                  8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                  9100008export excel using $out_file sheet(LF2011)
                  10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                  11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                  12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                  13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                  14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                  15100014export excel using $out_file sheet(LF2017)
                  16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                  17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                  18100017Generate amp export 2011 aggregate resultsresults_2011
                  19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                  20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                  21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                  22100021Generate amp export 2017 aggregate resultsresults_2017
                  23100022use ICP2017_Aggregation
                  24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                  25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                  26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                  27100026Consistency`x
                  40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                  41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                  42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                  43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                  44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                  45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                  46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                  47110008RegionaCode using ICP2017_regionalbase
                  48110009countrycode using temp_xr
                  49110010cou using temp_xrICP2011_XR
                  50110011erase temp_xrdta
                  51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                  52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                  53110014RegionCode code using ICP2011_linkingfactors_initial
                  54110015RegionCode code using ICP2011_housing_linking_factors
                  55110016countrycode code using ICP2011_Exp
                  56110017code using ICP2017_classification
                  57110018countrycode using ICP2017_countrylist
                  58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                  59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                  60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                  61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                  62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                  63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                  64110025countrycode suing ICP2011_XR
                  65110026countrycode code using ICP2011_Exp
                  66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                  71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                  72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                  73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                  74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                  75111005temp
                  76111006countrycode using temperase tempdta
                  77111007countrycode using ICP2011_POP
                  78111008countrycode using ICP2017_CountryList
                  79111009RegionCode using ICP2017_regionalbase
                  80111010countrycode using ICP2011_XR
                  81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                  67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                  68112002countrycode using ICP2017_countrylist
                  69112003countrycode using ICP2011_PAF
                  70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                  82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                  83113002countrycode using ICP2017_CountryList
                  84113003countrycode code using ICP2011_RegBHPPP
                  85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                  86113005use rp_basic `itemp_agg
                  87113006countrycode using temp_aggerase temp_aggdta
                  88113007temp_agg (2nd time)
                  89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                  90113009rp `i
                  91113010use rp1refp_icp2011
                  92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                  106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                  107120002insert country names on excel line 5run process_input_filedo
                  108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                  109120004itemregbhpppexpxrpafrun load_basic_datado
                  110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                  111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                  112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                  113120008code countrycode using ICP2017_Exp
                  114120009code using ICP2017_classification
                  115120010code RegionCode using ICP2017_linkingfactors_rpd
                  116120011code RegionCode using ICP2017_housing_linking_factors
                  117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                  118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                  119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                  120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                  121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                  122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                  123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                  124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                  125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                  126120021RegionCode code using ICP2017_lf_eduhhc
                  127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                  128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                  129120024countrycode using ICP2017_XR
                  130120025countrycode code using ICP2017_Exp
                  131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                  224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                  219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                  220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                  221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                  222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                  223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                  200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                  201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                  202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                  203123004ItemCode using ICP2017_itemlist
                  204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                  205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                  206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                  207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                  208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                  209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                  175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                  176124002tempfile reg_nobs
                  177124003region using regionlist
                  178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                  155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                  156125002c using clisttempfile elec_ppp
                  157125003`elec_ppp
                  158125004use ICP2017_itemdataclist
                  159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                  160125006ItemCode using elec_item
                  161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                  162125008saving c1 c2 c3 (3 saving statements)
                  163125009use c1parm using c2
                  164125010parm using c3
                  165125011c using clist`cpd`x
                  166125012erase c1dta c2dta c3dta (3 erase statements)
                  167125013use `cpd1501211append using `cpd1501221
                  168125014append using `cpd1501231
                  1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                  170125016`construction_`x
                  171125017use construction_1501211countrycode using `construction_1501221
                  172125018countrycode using `construction_1501231
                  173125019countrycode code using ICP2017_RegBHPPP
                  174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                  187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                  188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                  189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                  190126004`pi_agg
                  191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                  192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                  193126007`pn_agg
                  194126008countrycode using `pn_agg
                  195126009countrycode using ICP2017_Pop
                  196126010countrycode using ICP2017_Countrylist
                  197126011RegionCode using ICP2017_regionalbase
                  198126012countrycode using ICP2017_XR
                  199126013Where is this fileICP2017_PAF
                  179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                  180127002use ICP2017_itemdataclist
                  181127003code countrycode using bh_nopa_tempregionlist
                  182127004region using regionlistICP2017_LF_NoPa
                  183127005use bh_nopa_temperase bh_nopa_tempdta
                  184127006countrycode using ICP2017_countrylist
                  185127007countrycode using ICP2017_PAF
                  186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                  225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                  226128002countrycode using ICP2017_Countrylist
                  227128003countrycode code using ICP2017_RegBHPPP
                  228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                  229128005temp_agg
                  230128006countrycode using temp_aggerase temp_aggdta
                  231128007temp_agg (2nd time)
                  232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                  233128009rp `i
                  234128010use rp1refp_stage1
                  235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                  236128012use ICP2017_ref_codescode using temp_ppp
                  237128013countrycode using ICP2017_CountryList
                  238128014countrycode code using ICP2017_RegBHPPP
                  239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                  240128016use rp_basic`itemp_agg (3rd time)
                  241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                  242128018temp agg (4th time)
                  243128019countrycode using temp_aggerase temp_aggdta (4th time)
                  244128020rp `i
                  245128021use rp1refp_stage2
                  246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                  247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                  143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                  144129002Is file used before replaced below`ppp_temp
                  145129003use ICP2017_RegBHPPP`ppp_temp2
                  146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                  147129005countrycode code using ICP2017_Exp
                  148129006countrycode using ICP2017_countrylist
                  149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                  150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                  151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                  152129010countrycode using `ppp_temp3
                  153129011RegionCode using ICP2017_regionalbase
                  154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                  28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                  29130002countrycode using ICP2017_countrylistcalcglobal_geks
                  30130003ppp_temp
                  31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                  32130005countrycode code using ICP2011_Exp
                  33130006countrycode using ICP2017_countrylist
                  34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                  35130008append using ppp_tempppp_temp (2nd time)
                  36130009use ppp_temp
                  37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                  38130011countrycode using ICP2017_countrylist
                  39130012No final file savedcountrycode using calcglobal_geks
                  93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                  94140002countrycode using ICP2017_countrylistcalcglobal_geks
                  95140003tempfile ppp_temp
                  96140004`ppp_temp
                  97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                  98140006countrycode code using ICP2017_Exp
                  99140007countrycode using ICP2017_countrylist
                  100140008RegionCode using ICP2017_Regionalbase
                  101140009append using `ppp_tempsave `ppp_temp
                  102140010use `ppp_tempcountrycode using ICP2017_countrylist
                  103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                  104140012countrycode using ICP2017_countrylist
                  105140013No final file savedcountrycode using calcglobal_geks
                  210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                  211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                  212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                  213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                  214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                  215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                  216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                  217150008RegionCode using ICP2017_regionalbase
                  218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                  132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                  133160002use results_2017countrycode using ICP2017_XR
                  134160003countrycode using ICP2017_POP
                  135160004countrycode using ICP2017_countrylist
                  136160005use ICP2017_CPIcpi_temp
                  137160006use ICP2017_DEFdef_temp
                  138160007countrycode code using cpi_temperase cpi_tempdta
                  139160008countrycode code using def_temperase def_tempdta
                  140160009countrycode using results2011_temperase results2011_tempdta
                  141160010countrycode year using ICP2017_Xrall
                  142160011No final file savedcountrycode year using ICP2017_POPall
                  ProgramSubprogram1Subprogram2
                  100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                  112_icp2011_paf_applicationdo
                  113_icp2011_ReferencePPPsdo
                  120_icp2017_calculationsdo121_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

                  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
                    FilenameSizePackedType12171912420127192920save date
                    DS_store6148178DS_STORE File
                    compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                    fischer_func_createdoupdate12910
                    geks_func_createdoupdate111311
                    icp2011_aggregationdo43601351DO Filenewncncupdate2320
                    icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                    icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                    icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                    icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                    icp2017_aggregationdo46181395DO Filenewncncupdate2320
                    icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                    icp2017_Consistencydo2438831DO Filenewncncupdate2320
                    icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                    icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                    icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                    icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                    icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                    laspeyres_func_createdoupdate12910
                    load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                    load_basic_datado2829802DO Filenewupdatencupdate12420
                    load_listsdo1331487DO Filenewncncupdate12420
                    passche_func_createdoupdate12910
                    process_input_filedo226165DO Filenewncncupdate82819
                    PWT_KL_classificationdtaupdate112719
                    pwt_kl_datadtaupdate12619
                    ReferencePPPsdo76901708DO Filenewncncupdate12420
                    VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                    v2100001compile_aggregate_resultsdo
                    v2100002cd userspath
                    v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                    v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                    v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                    v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                    v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                    v2100008export excel using $out_file sheet(LF2011)
                    v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                    v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                    v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                    v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                    v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                    v2100013export excel using $out_file sheet(LF2017)
                    v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                    v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                    v2100015results_2011Generate amp export 2011 aggregate results
                    v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                    v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                    v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                    v2100019results_2017Generate amp export 2017 aggregate results
                    v2100020use ICP2017_Aggregation
                    v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                    v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                    v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                    v2100024Consistency`x
                    v2100025run GenChartsdo
                    v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                    v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                    v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                    v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                    v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                    v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                    v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                    v2110008countrycode using temp_xr
                    v2110009cou using temp_xrICP2011_XR
                    v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                    v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                    v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                    v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                    v2110014countrycode agg_code using `pg_edu
                    v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                    v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                    v2110017RegionCode code using ICP2011_linkingfactors_initial
                    v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                    v2110019RegionCode using `lf_edu
                    v2110020countrycode code using ICP2011_Exp
                    v2110021code using ICP2017_classification
                    v2110022countrycode using ICP2017_countrylist
                    v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                    v2110024run ICP2011_paf_calculationdo
                    v2110025run ICP2011_paf_applicationdo
                    v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                    v2110027run ICP2011_ReferencePPPsdo
                    v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                    v2110029countrycode suing ICP2011_XR
                    v2110030countrycode code using ICP2011_Exp
                    v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                    v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                    v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                    v2111003countrycode asset using temperase temp
                    v2111004save pi_temp
                    v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                    v2111006temp
                    v2111007countrycode using temperase tempdta
                    v2111008countrycode using ICP2011_POP
                    v2111009countrycode using ICP2017_CountryList
                    v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                    v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                    v2112002countrycode using ICP2017_countrylist
                    v2112003countrycode using ICP2011_PAF
                    v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                    v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                    v2113002countrycode using ICP2017_CountryList
                    v2113003countrycode code using ICP2011_RegBHPPP
                    v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                    v2113005use rp_basic `itemp_agg
                    v2113006countrycode using temp_aggerase temp_aggdta
                    v2113007temp_agg (2nd time)
                    v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                    v2113009rp `i
                    v2113010use rp1refp_icp2011
                    v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                    v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                    v2120002run process_input_filedoinsert country names on excel line 5
                    v2120003run load_listsdoctryclassaggitemxrcoderefcode
                    v2120004run load_basic_datadoitemregbhpppexpxrpaf
                    v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                    v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                    v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                    v2120008countrycode using ICP2017_countrylist
                    v2120009code using ICP2017_classification
                    v2120010code RegionCode using ICP2017_linkingfactors_rpd
                    v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                    v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                    v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                    v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                    v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                    v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                    v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                    v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                    v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                    v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                    v2120021RegionCode code using ICP2017_lf_eduhhc
                    v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                    v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                    v2120024countrycode using ICP2017_XR
                    v2120025countrycode code using ICP2017_Exp
                    v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                    v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                    v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                    v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                    v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                    v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                    v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                    v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                    v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                    v2123003ItemCode using ICP2017_itemlist
                    v2123004countrycode using ICP2017_countrylist
                    v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                    v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                    v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                    v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                    v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                    v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                    v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                    v2124002tempfile reg_nobs
                    v2124003region using regionlist
                    v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                    v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                    v2125002c using clist
                    v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                    v2125004`elec_ppp
                    v2125005use ICP2017_itemdataclist
                    v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                    v2125007ItemCode using elec_item
                    v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                    v2125009saving c1 c2 c3 (3 saving statements)
                    v2125010use c1parm using c2
                    v2125011parm using c3
                    v2125012c using clist`cpd`x
                    v2125013erase c1dta c2dta c3dta (3 erase statements)
                    v2125014use `cpd1501211append using `cpd1501221
                    v2125015append using `cpd1501231
                    v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                    v2125017`construction_`x
                    v2125018use construction_1501211countrycode using `construction_1501221
                    v2125019countrycode using `construction_1501231
                    v2125020countrycode code using ICP2017_RegBHPPP
                    v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                    v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                    v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                    v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                    v2126004`pi_agg
                    v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                    v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                    v2126007`pn_agg
                    v2126008countrycode using `pn_agg
                    v2126009countrycode using ICP2017_Pop
                    v2126010countrycode using ICP2017_Countrylist
                    v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                    v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                    v2127002use ICP2017_itemdataclist
                    v2127003code countrycode using bh_nopa_tempregionlist
                    v2127004region using regionlistICP2017_LF_NoPa
                    v2127005use bh_nopa_temperase bh_nopa_tempdta
                    v2127006countrycode using ICP2017_countrylist
                    v2127007countrycode using ICP2017_PAF
                    v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                    v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                    v2128002countrycode using ICP2017_Countrylist
                    v2128003countrycode code using ICP2017_RegBHPPP
                    v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                    v2128005temp_agg
                    v2128006countrycode using temp_aggerase temp_aggdta
                    v2128007temp_agg (2nd time)
                    v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                    v2128009rp `i
                    v2128010use rp1append using rp`ierase rp`idta
                    v2128011erase rp_basic`idta
                    v2128012refp_stage3
                    v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                    v2128014use ICP2017_ref_codescode using temp_ppp
                    v2128015countrycode using ICP2017_Countrylist
                    v2128016countrycode code using ICP2017_RegBHPPP
                    v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                    v2128018use rp_basic`itemp_agg (3rd time)
                    v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                    v2128020temp agg (4th time)
                    v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                    v2128022rp `i
                    v2128023use rp1append using rp`ierase rp`idta
                    v2128024erase rp_basic`idta
                    v2128025refp_stage2
                    v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                    v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                    v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                    v2129002`ppp_tempIs file used before replaced below
                    v2129003use ICP2017_RegBHPPP`ppp_temp2
                    v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                    v2129005countrycode code using ICP2017_Exp
                    v2129006countrycode using ICP2017_countrylist
                    v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                    v2129008use `ppp_tempappend using `ppp_temp2
                    v2129009countrycode using ICP2017_countrylist`ppp_temp3
                    v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                    v2129011countrycode using `ppp_temp3
                    v2129012RegionCode using ICP2017_regionalbase
                    v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                    v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                    v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                    v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                    v2130004countrycode using ICP2017_countrylist
                    v2130005countrycode using calcglobal_geksNo final file saved
                    v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                    v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                    v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                    v2140004countrycode using ICP2017_countrylist
                    v2140005countrycode using calcglobal_geksNo final file saved
                    v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                    v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                    v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                    v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                    v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                    v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                    v2150007RegionCode using ICP2017_regionalbase
                    v2150008RegionCode using ICP2017_regionalbase
                    v2150009countrycode using results_2011ICPTS_RegBHPPP
                    v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                    v2160002use results_2017countrycode using ICP2017_XR
                    v2160003countrycode using ICP2017_POP
                    v2160004countrycode using ICP2017_countrylist
                    v2160005use ICP2017_CPIcpi_temp
                    v2160006use ICP2017_DEFdef_temp
                    v2160007countrycode code using cpi_temp
                    v2160008countrycode code using def_temp
                    v2160009countrycode using results2011_temp
                    v2160010countrycode year using ICP2017_Xrall
                    v2160011countrycode year using ICP2017_POPallNo final file saved
                    alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                    1000000DS_store
                    2100001compile_aggregate_resultsdo
                    3100002cd userspath
                    4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                    5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                    6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                    7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                    8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                    9100008export excel using $out_file sheet(LF2011)
                    10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                    11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                    12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                    13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                    14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                    15100014export excel using $out_file sheet(LF2017)
                    16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                    17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                    18100017Generate amp export 2011 aggregate resultsresults_2011
                    19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                    20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                    21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                    22100021Generate amp export 2017 aggregate resultsresults_2017
                    23100022use ICP2017_Aggregation
                    24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                    25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                    26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                    27100026Consistency`x
                    40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                    41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                    42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                    43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                    44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                    45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                    46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                    47110008RegionaCode using ICP2017_regionalbase
                    48110009countrycode using temp_xr
                    49110010cou using temp_xrICP2011_XR
                    50110011erase temp_xrdta
                    51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                    52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                    53110014RegionCode code using ICP2011_linkingfactors_initial
                    54110015RegionCode code using ICP2011_housing_linking_factors
                    55110016countrycode code using ICP2011_Exp
                    56110017code using ICP2017_classification
                    57110018countrycode using ICP2017_countrylist
                    58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                    59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                    60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                    61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                    62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                    63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                    64110025countrycode suing ICP2011_XR
                    65110026countrycode code using ICP2011_Exp
                    66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                    71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                    72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                    73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                    74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                    75111005temp
                    76111006countrycode using temperase tempdta
                    77111007countrycode using ICP2011_POP
                    78111008countrycode using ICP2017_CountryList
                    79111009RegionCode using ICP2017_regionalbase
                    80111010countrycode using ICP2011_XR
                    81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                    67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                    68112002countrycode using ICP2017_countrylist
                    69112003countrycode using ICP2011_PAF
                    70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                    82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                    83113002countrycode using ICP2017_CountryList
                    84113003countrycode code using ICP2011_RegBHPPP
                    85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                    86113005use rp_basic `itemp_agg
                    87113006countrycode using temp_aggerase temp_aggdta
                    88113007temp_agg (2nd time)
                    89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                    90113009rp `i
                    91113010use rp1refp_icp2011
                    92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                    106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                    107120002insert country names on excel line 5run process_input_filedo
                    108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                    109120004itemregbhpppexpxrpafrun load_basic_datado
                    110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                    111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                    112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                    113120008code countrycode using ICP2017_Exp
                    114120009code using ICP2017_classification
                    115120010code RegionCode using ICP2017_linkingfactors_rpd
                    116120011code RegionCode using ICP2017_housing_linking_factors
                    117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                    118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                    119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                    120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                    121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                    122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                    123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                    124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                    125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                    126120021RegionCode code using ICP2017_lf_eduhhc
                    127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                    128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                    129120024countrycode using ICP2017_XR
                    130120025countrycode code using ICP2017_Exp
                    131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                    224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                    219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                    220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                    221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                    222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                    223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                    200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                    201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                    202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                    203123004ItemCode using ICP2017_itemlist
                    204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                    205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                    206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                    207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                    208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                    209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                    175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                    176124002tempfile reg_nobs
                    177124003region using regionlist
                    178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                    155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                    156125002c using clisttempfile elec_ppp
                    157125003`elec_ppp
                    158125004use ICP2017_itemdataclist
                    159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                    160125006ItemCode using elec_item
                    161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                    162125008saving c1 c2 c3 (3 saving statements)
                    163125009use c1parm using c2
                    164125010parm using c3
                    165125011c using clist`cpd`x
                    166125012erase c1dta c2dta c3dta (3 erase statements)
                    167125013use `cpd1501211append using `cpd1501221
                    168125014append using `cpd1501231
                    1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                    170125016`construction_`x
                    171125017use construction_1501211countrycode using `construction_1501221
                    172125018countrycode using `construction_1501231
                    173125019countrycode code using ICP2017_RegBHPPP
                    174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                    187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                    188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                    189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                    190126004`pi_agg
                    191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                    192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                    193126007`pn_agg
                    194126008countrycode using `pn_agg
                    195126009countrycode using ICP2017_Pop
                    196126010countrycode using ICP2017_Countrylist
                    197126011RegionCode using ICP2017_regionalbase
                    198126012countrycode using ICP2017_XR
                    199126013Where is this fileICP2017_PAF
                    179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                    180127002use ICP2017_itemdataclist
                    181127003code countrycode using bh_nopa_tempregionlist
                    182127004region using regionlistICP2017_LF_NoPa
                    183127005use bh_nopa_temperase bh_nopa_tempdta
                    184127006countrycode using ICP2017_countrylist
                    185127007countrycode using ICP2017_PAF
                    186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                    225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                    226128002countrycode using ICP2017_Countrylist
                    227128003countrycode code using ICP2017_RegBHPPP
                    228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                    229128005temp_agg
                    230128006countrycode using temp_aggerase temp_aggdta
                    231128007temp_agg (2nd time)
                    232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                    233128009rp `i
                    234128010use rp1refp_stage1
                    235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                    236128012use ICP2017_ref_codescode using temp_ppp
                    237128013countrycode using ICP2017_CountryList
                    238128014countrycode code using ICP2017_RegBHPPP
                    239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                    240128016use rp_basic`itemp_agg (3rd time)
                    241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                    242128018temp agg (4th time)
                    243128019countrycode using temp_aggerase temp_aggdta (4th time)
                    244128020rp `i
                    245128021use rp1refp_stage2
                    246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                    247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                    143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                    144129002Is file used before replaced below`ppp_temp
                    145129003use ICP2017_RegBHPPP`ppp_temp2
                    146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                    147129005countrycode code using ICP2017_Exp
                    148129006countrycode using ICP2017_countrylist
                    149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                    150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                    151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                    152129010countrycode using `ppp_temp3
                    153129011RegionCode using ICP2017_regionalbase
                    154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                    28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                    29130002countrycode using ICP2017_countrylistcalcglobal_geks
                    30130003ppp_temp
                    31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                    32130005countrycode code using ICP2011_Exp
                    33130006countrycode using ICP2017_countrylist
                    34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                    35130008append using ppp_tempppp_temp (2nd time)
                    36130009use ppp_temp
                    37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                    38130011countrycode using ICP2017_countrylist
                    39130012No final file savedcountrycode using calcglobal_geks
                    93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                    94140002countrycode using ICP2017_countrylistcalcglobal_geks
                    95140003tempfile ppp_temp
                    96140004`ppp_temp
                    97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                    98140006countrycode code using ICP2017_Exp
                    99140007countrycode using ICP2017_countrylist
                    100140008RegionCode using ICP2017_Regionalbase
                    101140009append using `ppp_tempsave `ppp_temp
                    102140010use `ppp_tempcountrycode using ICP2017_countrylist
                    103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                    104140012countrycode using ICP2017_countrylist
                    105140013No final file savedcountrycode using calcglobal_geks
                    210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                    211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                    212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                    213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                    214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                    215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                    216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                    217150008RegionCode using ICP2017_regionalbase
                    218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                    132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                    133160002use results_2017countrycode using ICP2017_XR
                    134160003countrycode using ICP2017_POP
                    135160004countrycode using ICP2017_countrylist
                    136160005use ICP2017_CPIcpi_temp
                    137160006use ICP2017_DEFdef_temp
                    138160007countrycode code using cpi_temperase cpi_tempdta
                    139160008countrycode code using def_temperase def_tempdta
                    140160009countrycode using results2011_temperase results2011_tempdta
                    141160010countrycode year using ICP2017_Xrall
                    142160011No final file savedcountrycode year using ICP2017_POPall
                    ProgramSubprogram1Subprogram2
                    100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                    112_icp2011_paf_applicationdo
                    113_icp2011_ReferencePPPsdo
                    120_icp2017_calculationsdo121_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

                    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
                      FilenameSizePackedType12171912420127192920save date
                      DS_store6148178DS_STORE File
                      compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                      fischer_func_createdoupdate12910
                      geks_func_createdoupdate111311
                      icp2011_aggregationdo43601351DO Filenewncncupdate2320
                      icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                      icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                      icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                      icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                      icp2017_aggregationdo46181395DO Filenewncncupdate2320
                      icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                      icp2017_Consistencydo2438831DO Filenewncncupdate2320
                      icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                      icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                      icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                      icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                      icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                      laspeyres_func_createdoupdate12910
                      load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                      load_basic_datado2829802DO Filenewupdatencupdate12420
                      load_listsdo1331487DO Filenewncncupdate12420
                      passche_func_createdoupdate12910
                      process_input_filedo226165DO Filenewncncupdate82819
                      PWT_KL_classificationdtaupdate112719
                      pwt_kl_datadtaupdate12619
                      ReferencePPPsdo76901708DO Filenewncncupdate12420
                      VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                      v2100001compile_aggregate_resultsdo
                      v2100002cd userspath
                      v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                      v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                      v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                      v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                      v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                      v2100008export excel using $out_file sheet(LF2011)
                      v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                      v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                      v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                      v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                      v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                      v2100013export excel using $out_file sheet(LF2017)
                      v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                      v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                      v2100015results_2011Generate amp export 2011 aggregate results
                      v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                      v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                      v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                      v2100019results_2017Generate amp export 2017 aggregate results
                      v2100020use ICP2017_Aggregation
                      v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                      v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                      v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                      v2100024Consistency`x
                      v2100025run GenChartsdo
                      v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                      v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                      v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                      v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                      v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                      v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                      v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                      v2110008countrycode using temp_xr
                      v2110009cou using temp_xrICP2011_XR
                      v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                      v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                      v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                      v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                      v2110014countrycode agg_code using `pg_edu
                      v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                      v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                      v2110017RegionCode code using ICP2011_linkingfactors_initial
                      v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                      v2110019RegionCode using `lf_edu
                      v2110020countrycode code using ICP2011_Exp
                      v2110021code using ICP2017_classification
                      v2110022countrycode using ICP2017_countrylist
                      v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                      v2110024run ICP2011_paf_calculationdo
                      v2110025run ICP2011_paf_applicationdo
                      v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                      v2110027run ICP2011_ReferencePPPsdo
                      v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                      v2110029countrycode suing ICP2011_XR
                      v2110030countrycode code using ICP2011_Exp
                      v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                      v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                      v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                      v2111003countrycode asset using temperase temp
                      v2111004save pi_temp
                      v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                      v2111006temp
                      v2111007countrycode using temperase tempdta
                      v2111008countrycode using ICP2011_POP
                      v2111009countrycode using ICP2017_CountryList
                      v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                      v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                      v2112002countrycode using ICP2017_countrylist
                      v2112003countrycode using ICP2011_PAF
                      v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                      v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                      v2113002countrycode using ICP2017_CountryList
                      v2113003countrycode code using ICP2011_RegBHPPP
                      v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                      v2113005use rp_basic `itemp_agg
                      v2113006countrycode using temp_aggerase temp_aggdta
                      v2113007temp_agg (2nd time)
                      v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                      v2113009rp `i
                      v2113010use rp1refp_icp2011
                      v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                      v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                      v2120002run process_input_filedoinsert country names on excel line 5
                      v2120003run load_listsdoctryclassaggitemxrcoderefcode
                      v2120004run load_basic_datadoitemregbhpppexpxrpaf
                      v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                      v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                      v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                      v2120008countrycode using ICP2017_countrylist
                      v2120009code using ICP2017_classification
                      v2120010code RegionCode using ICP2017_linkingfactors_rpd
                      v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                      v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                      v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                      v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                      v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                      v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                      v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                      v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                      v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                      v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                      v2120021RegionCode code using ICP2017_lf_eduhhc
                      v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                      v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                      v2120024countrycode using ICP2017_XR
                      v2120025countrycode code using ICP2017_Exp
                      v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                      v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                      v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                      v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                      v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                      v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                      v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                      v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                      v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                      v2123003ItemCode using ICP2017_itemlist
                      v2123004countrycode using ICP2017_countrylist
                      v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                      v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                      v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                      v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                      v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                      v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                      v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                      v2124002tempfile reg_nobs
                      v2124003region using regionlist
                      v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                      v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                      v2125002c using clist
                      v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                      v2125004`elec_ppp
                      v2125005use ICP2017_itemdataclist
                      v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                      v2125007ItemCode using elec_item
                      v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                      v2125009saving c1 c2 c3 (3 saving statements)
                      v2125010use c1parm using c2
                      v2125011parm using c3
                      v2125012c using clist`cpd`x
                      v2125013erase c1dta c2dta c3dta (3 erase statements)
                      v2125014use `cpd1501211append using `cpd1501221
                      v2125015append using `cpd1501231
                      v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                      v2125017`construction_`x
                      v2125018use construction_1501211countrycode using `construction_1501221
                      v2125019countrycode using `construction_1501231
                      v2125020countrycode code using ICP2017_RegBHPPP
                      v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                      v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                      v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                      v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                      v2126004`pi_agg
                      v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                      v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                      v2126007`pn_agg
                      v2126008countrycode using `pn_agg
                      v2126009countrycode using ICP2017_Pop
                      v2126010countrycode using ICP2017_Countrylist
                      v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                      v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                      v2127002use ICP2017_itemdataclist
                      v2127003code countrycode using bh_nopa_tempregionlist
                      v2127004region using regionlistICP2017_LF_NoPa
                      v2127005use bh_nopa_temperase bh_nopa_tempdta
                      v2127006countrycode using ICP2017_countrylist
                      v2127007countrycode using ICP2017_PAF
                      v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                      v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                      v2128002countrycode using ICP2017_Countrylist
                      v2128003countrycode code using ICP2017_RegBHPPP
                      v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                      v2128005temp_agg
                      v2128006countrycode using temp_aggerase temp_aggdta
                      v2128007temp_agg (2nd time)
                      v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                      v2128009rp `i
                      v2128010use rp1append using rp`ierase rp`idta
                      v2128011erase rp_basic`idta
                      v2128012refp_stage3
                      v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                      v2128014use ICP2017_ref_codescode using temp_ppp
                      v2128015countrycode using ICP2017_Countrylist
                      v2128016countrycode code using ICP2017_RegBHPPP
                      v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                      v2128018use rp_basic`itemp_agg (3rd time)
                      v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                      v2128020temp agg (4th time)
                      v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                      v2128022rp `i
                      v2128023use rp1append using rp`ierase rp`idta
                      v2128024erase rp_basic`idta
                      v2128025refp_stage2
                      v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                      v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                      v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                      v2129002`ppp_tempIs file used before replaced below
                      v2129003use ICP2017_RegBHPPP`ppp_temp2
                      v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                      v2129005countrycode code using ICP2017_Exp
                      v2129006countrycode using ICP2017_countrylist
                      v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                      v2129008use `ppp_tempappend using `ppp_temp2
                      v2129009countrycode using ICP2017_countrylist`ppp_temp3
                      v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                      v2129011countrycode using `ppp_temp3
                      v2129012RegionCode using ICP2017_regionalbase
                      v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                      v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                      v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                      v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                      v2130004countrycode using ICP2017_countrylist
                      v2130005countrycode using calcglobal_geksNo final file saved
                      v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                      v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                      v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                      v2140004countrycode using ICP2017_countrylist
                      v2140005countrycode using calcglobal_geksNo final file saved
                      v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                      v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                      v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                      v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                      v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                      v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                      v2150007RegionCode using ICP2017_regionalbase
                      v2150008RegionCode using ICP2017_regionalbase
                      v2150009countrycode using results_2011ICPTS_RegBHPPP
                      v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                      v2160002use results_2017countrycode using ICP2017_XR
                      v2160003countrycode using ICP2017_POP
                      v2160004countrycode using ICP2017_countrylist
                      v2160005use ICP2017_CPIcpi_temp
                      v2160006use ICP2017_DEFdef_temp
                      v2160007countrycode code using cpi_temp
                      v2160008countrycode code using def_temp
                      v2160009countrycode using results2011_temp
                      v2160010countrycode year using ICP2017_Xrall
                      v2160011countrycode year using ICP2017_POPallNo final file saved
                      alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                      1000000DS_store
                      2100001compile_aggregate_resultsdo
                      3100002cd userspath
                      4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                      5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                      6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                      7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                      8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                      9100008export excel using $out_file sheet(LF2011)
                      10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                      11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                      12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                      13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                      14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                      15100014export excel using $out_file sheet(LF2017)
                      16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                      17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                      18100017Generate amp export 2011 aggregate resultsresults_2011
                      19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                      20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                      21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                      22100021Generate amp export 2017 aggregate resultsresults_2017
                      23100022use ICP2017_Aggregation
                      24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                      25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                      26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                      27100026Consistency`x
                      40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                      41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                      42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                      43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                      44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                      45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                      46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                      47110008RegionaCode using ICP2017_regionalbase
                      48110009countrycode using temp_xr
                      49110010cou using temp_xrICP2011_XR
                      50110011erase temp_xrdta
                      51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                      52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                      53110014RegionCode code using ICP2011_linkingfactors_initial
                      54110015RegionCode code using ICP2011_housing_linking_factors
                      55110016countrycode code using ICP2011_Exp
                      56110017code using ICP2017_classification
                      57110018countrycode using ICP2017_countrylist
                      58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                      59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                      60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                      61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                      62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                      63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                      64110025countrycode suing ICP2011_XR
                      65110026countrycode code using ICP2011_Exp
                      66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                      71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                      72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                      73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                      74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                      75111005temp
                      76111006countrycode using temperase tempdta
                      77111007countrycode using ICP2011_POP
                      78111008countrycode using ICP2017_CountryList
                      79111009RegionCode using ICP2017_regionalbase
                      80111010countrycode using ICP2011_XR
                      81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                      67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                      68112002countrycode using ICP2017_countrylist
                      69112003countrycode using ICP2011_PAF
                      70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                      82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                      83113002countrycode using ICP2017_CountryList
                      84113003countrycode code using ICP2011_RegBHPPP
                      85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                      86113005use rp_basic `itemp_agg
                      87113006countrycode using temp_aggerase temp_aggdta
                      88113007temp_agg (2nd time)
                      89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                      90113009rp `i
                      91113010use rp1refp_icp2011
                      92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                      106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                      107120002insert country names on excel line 5run process_input_filedo
                      108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                      109120004itemregbhpppexpxrpafrun load_basic_datado
                      110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                      111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                      112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                      113120008code countrycode using ICP2017_Exp
                      114120009code using ICP2017_classification
                      115120010code RegionCode using ICP2017_linkingfactors_rpd
                      116120011code RegionCode using ICP2017_housing_linking_factors
                      117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                      118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                      119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                      120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                      121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                      122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                      123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                      124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                      125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                      126120021RegionCode code using ICP2017_lf_eduhhc
                      127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                      128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                      129120024countrycode using ICP2017_XR
                      130120025countrycode code using ICP2017_Exp
                      131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                      224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                      219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                      220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                      221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                      222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                      223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                      200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                      201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                      202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                      203123004ItemCode using ICP2017_itemlist
                      204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                      205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                      206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                      207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                      208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                      209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                      175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                      176124002tempfile reg_nobs
                      177124003region using regionlist
                      178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                      155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                      156125002c using clisttempfile elec_ppp
                      157125003`elec_ppp
                      158125004use ICP2017_itemdataclist
                      159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                      160125006ItemCode using elec_item
                      161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                      162125008saving c1 c2 c3 (3 saving statements)
                      163125009use c1parm using c2
                      164125010parm using c3
                      165125011c using clist`cpd`x
                      166125012erase c1dta c2dta c3dta (3 erase statements)
                      167125013use `cpd1501211append using `cpd1501221
                      168125014append using `cpd1501231
                      1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                      170125016`construction_`x
                      171125017use construction_1501211countrycode using `construction_1501221
                      172125018countrycode using `construction_1501231
                      173125019countrycode code using ICP2017_RegBHPPP
                      174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                      187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                      188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                      189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                      190126004`pi_agg
                      191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                      192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                      193126007`pn_agg
                      194126008countrycode using `pn_agg
                      195126009countrycode using ICP2017_Pop
                      196126010countrycode using ICP2017_Countrylist
                      197126011RegionCode using ICP2017_regionalbase
                      198126012countrycode using ICP2017_XR
                      199126013Where is this fileICP2017_PAF
                      179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                      180127002use ICP2017_itemdataclist
                      181127003code countrycode using bh_nopa_tempregionlist
                      182127004region using regionlistICP2017_LF_NoPa
                      183127005use bh_nopa_temperase bh_nopa_tempdta
                      184127006countrycode using ICP2017_countrylist
                      185127007countrycode using ICP2017_PAF
                      186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                      225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                      226128002countrycode using ICP2017_Countrylist
                      227128003countrycode code using ICP2017_RegBHPPP
                      228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                      229128005temp_agg
                      230128006countrycode using temp_aggerase temp_aggdta
                      231128007temp_agg (2nd time)
                      232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                      233128009rp `i
                      234128010use rp1refp_stage1
                      235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                      236128012use ICP2017_ref_codescode using temp_ppp
                      237128013countrycode using ICP2017_CountryList
                      238128014countrycode code using ICP2017_RegBHPPP
                      239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                      240128016use rp_basic`itemp_agg (3rd time)
                      241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                      242128018temp agg (4th time)
                      243128019countrycode using temp_aggerase temp_aggdta (4th time)
                      244128020rp `i
                      245128021use rp1refp_stage2
                      246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                      247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                      143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                      144129002Is file used before replaced below`ppp_temp
                      145129003use ICP2017_RegBHPPP`ppp_temp2
                      146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                      147129005countrycode code using ICP2017_Exp
                      148129006countrycode using ICP2017_countrylist
                      149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                      150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                      151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                      152129010countrycode using `ppp_temp3
                      153129011RegionCode using ICP2017_regionalbase
                      154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                      28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                      29130002countrycode using ICP2017_countrylistcalcglobal_geks
                      30130003ppp_temp
                      31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                      32130005countrycode code using ICP2011_Exp
                      33130006countrycode using ICP2017_countrylist
                      34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                      35130008append using ppp_tempppp_temp (2nd time)
                      36130009use ppp_temp
                      37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                      38130011countrycode using ICP2017_countrylist
                      39130012No final file savedcountrycode using calcglobal_geks
                      93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                      94140002countrycode using ICP2017_countrylistcalcglobal_geks
                      95140003tempfile ppp_temp
                      96140004`ppp_temp
                      97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                      98140006countrycode code using ICP2017_Exp
                      99140007countrycode using ICP2017_countrylist
                      100140008RegionCode using ICP2017_Regionalbase
                      101140009append using `ppp_tempsave `ppp_temp
                      102140010use `ppp_tempcountrycode using ICP2017_countrylist
                      103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                      104140012countrycode using ICP2017_countrylist
                      105140013No final file savedcountrycode using calcglobal_geks
                      210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                      211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                      212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                      213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                      214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                      215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                      216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                      217150008RegionCode using ICP2017_regionalbase
                      218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                      132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                      133160002use results_2017countrycode using ICP2017_XR
                      134160003countrycode using ICP2017_POP
                      135160004countrycode using ICP2017_countrylist
                      136160005use ICP2017_CPIcpi_temp
                      137160006use ICP2017_DEFdef_temp
                      138160007countrycode code using cpi_temperase cpi_tempdta
                      139160008countrycode code using def_temperase def_tempdta
                      140160009countrycode using results2011_temperase results2011_tempdta
                      141160010countrycode year using ICP2017_Xrall
                      142160011No final file savedcountrycode year using ICP2017_POPall
                      ProgramSubprogram1Subprogram2
                      100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                      112_icp2011_paf_applicationdo
                      113_icp2011_ReferencePPPsdo
                      120_icp2017_calculationsdo121_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

                      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
                        FilenameSizePackedType12171912420127192920save date
                        DS_store6148178DS_STORE File
                        compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                        fischer_func_createdoupdate12910
                        geks_func_createdoupdate111311
                        icp2011_aggregationdo43601351DO Filenewncncupdate2320
                        icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                        icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                        icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                        icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                        icp2017_aggregationdo46181395DO Filenewncncupdate2320
                        icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                        icp2017_Consistencydo2438831DO Filenewncncupdate2320
                        icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                        icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                        icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                        icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                        icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                        laspeyres_func_createdoupdate12910
                        load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                        load_basic_datado2829802DO Filenewupdatencupdate12420
                        load_listsdo1331487DO Filenewncncupdate12420
                        passche_func_createdoupdate12910
                        process_input_filedo226165DO Filenewncncupdate82819
                        PWT_KL_classificationdtaupdate112719
                        pwt_kl_datadtaupdate12619
                        ReferencePPPsdo76901708DO Filenewncncupdate12420
                        VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                        v2100001compile_aggregate_resultsdo
                        v2100002cd userspath
                        v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                        v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                        v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                        v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                        v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                        v2100008export excel using $out_file sheet(LF2011)
                        v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                        v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                        v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                        v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                        v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                        v2100013export excel using $out_file sheet(LF2017)
                        v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                        v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                        v2100015results_2011Generate amp export 2011 aggregate results
                        v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                        v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                        v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                        v2100019results_2017Generate amp export 2017 aggregate results
                        v2100020use ICP2017_Aggregation
                        v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                        v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                        v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                        v2100024Consistency`x
                        v2100025run GenChartsdo
                        v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                        v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                        v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                        v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                        v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                        v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                        v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                        v2110008countrycode using temp_xr
                        v2110009cou using temp_xrICP2011_XR
                        v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                        v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                        v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                        v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                        v2110014countrycode agg_code using `pg_edu
                        v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                        v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                        v2110017RegionCode code using ICP2011_linkingfactors_initial
                        v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                        v2110019RegionCode using `lf_edu
                        v2110020countrycode code using ICP2011_Exp
                        v2110021code using ICP2017_classification
                        v2110022countrycode using ICP2017_countrylist
                        v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                        v2110024run ICP2011_paf_calculationdo
                        v2110025run ICP2011_paf_applicationdo
                        v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                        v2110027run ICP2011_ReferencePPPsdo
                        v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                        v2110029countrycode suing ICP2011_XR
                        v2110030countrycode code using ICP2011_Exp
                        v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                        v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                        v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                        v2111003countrycode asset using temperase temp
                        v2111004save pi_temp
                        v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                        v2111006temp
                        v2111007countrycode using temperase tempdta
                        v2111008countrycode using ICP2011_POP
                        v2111009countrycode using ICP2017_CountryList
                        v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                        v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                        v2112002countrycode using ICP2017_countrylist
                        v2112003countrycode using ICP2011_PAF
                        v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                        v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                        v2113002countrycode using ICP2017_CountryList
                        v2113003countrycode code using ICP2011_RegBHPPP
                        v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                        v2113005use rp_basic `itemp_agg
                        v2113006countrycode using temp_aggerase temp_aggdta
                        v2113007temp_agg (2nd time)
                        v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                        v2113009rp `i
                        v2113010use rp1refp_icp2011
                        v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                        v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                        v2120002run process_input_filedoinsert country names on excel line 5
                        v2120003run load_listsdoctryclassaggitemxrcoderefcode
                        v2120004run load_basic_datadoitemregbhpppexpxrpaf
                        v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                        v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                        v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                        v2120008countrycode using ICP2017_countrylist
                        v2120009code using ICP2017_classification
                        v2120010code RegionCode using ICP2017_linkingfactors_rpd
                        v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                        v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                        v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                        v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                        v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                        v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                        v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                        v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                        v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                        v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                        v2120021RegionCode code using ICP2017_lf_eduhhc
                        v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                        v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                        v2120024countrycode using ICP2017_XR
                        v2120025countrycode code using ICP2017_Exp
                        v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                        v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                        v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                        v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                        v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                        v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                        v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                        v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                        v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                        v2123003ItemCode using ICP2017_itemlist
                        v2123004countrycode using ICP2017_countrylist
                        v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                        v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                        v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                        v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                        v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                        v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                        v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                        v2124002tempfile reg_nobs
                        v2124003region using regionlist
                        v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                        v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                        v2125002c using clist
                        v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                        v2125004`elec_ppp
                        v2125005use ICP2017_itemdataclist
                        v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                        v2125007ItemCode using elec_item
                        v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                        v2125009saving c1 c2 c3 (3 saving statements)
                        v2125010use c1parm using c2
                        v2125011parm using c3
                        v2125012c using clist`cpd`x
                        v2125013erase c1dta c2dta c3dta (3 erase statements)
                        v2125014use `cpd1501211append using `cpd1501221
                        v2125015append using `cpd1501231
                        v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                        v2125017`construction_`x
                        v2125018use construction_1501211countrycode using `construction_1501221
                        v2125019countrycode using `construction_1501231
                        v2125020countrycode code using ICP2017_RegBHPPP
                        v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                        v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                        v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                        v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                        v2126004`pi_agg
                        v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                        v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                        v2126007`pn_agg
                        v2126008countrycode using `pn_agg
                        v2126009countrycode using ICP2017_Pop
                        v2126010countrycode using ICP2017_Countrylist
                        v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                        v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                        v2127002use ICP2017_itemdataclist
                        v2127003code countrycode using bh_nopa_tempregionlist
                        v2127004region using regionlistICP2017_LF_NoPa
                        v2127005use bh_nopa_temperase bh_nopa_tempdta
                        v2127006countrycode using ICP2017_countrylist
                        v2127007countrycode using ICP2017_PAF
                        v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                        v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                        v2128002countrycode using ICP2017_Countrylist
                        v2128003countrycode code using ICP2017_RegBHPPP
                        v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                        v2128005temp_agg
                        v2128006countrycode using temp_aggerase temp_aggdta
                        v2128007temp_agg (2nd time)
                        v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                        v2128009rp `i
                        v2128010use rp1append using rp`ierase rp`idta
                        v2128011erase rp_basic`idta
                        v2128012refp_stage3
                        v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                        v2128014use ICP2017_ref_codescode using temp_ppp
                        v2128015countrycode using ICP2017_Countrylist
                        v2128016countrycode code using ICP2017_RegBHPPP
                        v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                        v2128018use rp_basic`itemp_agg (3rd time)
                        v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                        v2128020temp agg (4th time)
                        v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                        v2128022rp `i
                        v2128023use rp1append using rp`ierase rp`idta
                        v2128024erase rp_basic`idta
                        v2128025refp_stage2
                        v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                        v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                        v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                        v2129002`ppp_tempIs file used before replaced below
                        v2129003use ICP2017_RegBHPPP`ppp_temp2
                        v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                        v2129005countrycode code using ICP2017_Exp
                        v2129006countrycode using ICP2017_countrylist
                        v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                        v2129008use `ppp_tempappend using `ppp_temp2
                        v2129009countrycode using ICP2017_countrylist`ppp_temp3
                        v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                        v2129011countrycode using `ppp_temp3
                        v2129012RegionCode using ICP2017_regionalbase
                        v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                        v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                        v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                        v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                        v2130004countrycode using ICP2017_countrylist
                        v2130005countrycode using calcglobal_geksNo final file saved
                        v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                        v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                        v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                        v2140004countrycode using ICP2017_countrylist
                        v2140005countrycode using calcglobal_geksNo final file saved
                        v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                        v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                        v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                        v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                        v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                        v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                        v2150007RegionCode using ICP2017_regionalbase
                        v2150008RegionCode using ICP2017_regionalbase
                        v2150009countrycode using results_2011ICPTS_RegBHPPP
                        v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                        v2160002use results_2017countrycode using ICP2017_XR
                        v2160003countrycode using ICP2017_POP
                        v2160004countrycode using ICP2017_countrylist
                        v2160005use ICP2017_CPIcpi_temp
                        v2160006use ICP2017_DEFdef_temp
                        v2160007countrycode code using cpi_temp
                        v2160008countrycode code using def_temp
                        v2160009countrycode using results2011_temp
                        v2160010countrycode year using ICP2017_Xrall
                        v2160011countrycode year using ICP2017_POPallNo final file saved
                        alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                        1000000DS_store
                        2100001compile_aggregate_resultsdo
                        3100002cd userspath
                        4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                        5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                        6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                        7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                        8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                        9100008export excel using $out_file sheet(LF2011)
                        10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                        11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                        12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                        13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                        14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                        15100014export excel using $out_file sheet(LF2017)
                        16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                        17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                        18100017Generate amp export 2011 aggregate resultsresults_2011
                        19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                        20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                        21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                        22100021Generate amp export 2017 aggregate resultsresults_2017
                        23100022use ICP2017_Aggregation
                        24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                        25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                        26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                        27100026Consistency`x
                        40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                        41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                        42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                        43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                        44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                        45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                        46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                        47110008RegionaCode using ICP2017_regionalbase
                        48110009countrycode using temp_xr
                        49110010cou using temp_xrICP2011_XR
                        50110011erase temp_xrdta
                        51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                        52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                        53110014RegionCode code using ICP2011_linkingfactors_initial
                        54110015RegionCode code using ICP2011_housing_linking_factors
                        55110016countrycode code using ICP2011_Exp
                        56110017code using ICP2017_classification
                        57110018countrycode using ICP2017_countrylist
                        58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                        59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                        60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                        61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                        62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                        63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                        64110025countrycode suing ICP2011_XR
                        65110026countrycode code using ICP2011_Exp
                        66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                        71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                        72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                        73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                        74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                        75111005temp
                        76111006countrycode using temperase tempdta
                        77111007countrycode using ICP2011_POP
                        78111008countrycode using ICP2017_CountryList
                        79111009RegionCode using ICP2017_regionalbase
                        80111010countrycode using ICP2011_XR
                        81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                        67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                        68112002countrycode using ICP2017_countrylist
                        69112003countrycode using ICP2011_PAF
                        70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                        82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                        83113002countrycode using ICP2017_CountryList
                        84113003countrycode code using ICP2011_RegBHPPP
                        85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                        86113005use rp_basic `itemp_agg
                        87113006countrycode using temp_aggerase temp_aggdta
                        88113007temp_agg (2nd time)
                        89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                        90113009rp `i
                        91113010use rp1refp_icp2011
                        92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                        106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                        107120002insert country names on excel line 5run process_input_filedo
                        108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                        109120004itemregbhpppexpxrpafrun load_basic_datado
                        110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                        111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                        112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                        113120008code countrycode using ICP2017_Exp
                        114120009code using ICP2017_classification
                        115120010code RegionCode using ICP2017_linkingfactors_rpd
                        116120011code RegionCode using ICP2017_housing_linking_factors
                        117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                        118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                        119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                        120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                        121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                        122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                        123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                        124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                        125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                        126120021RegionCode code using ICP2017_lf_eduhhc
                        127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                        128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                        129120024countrycode using ICP2017_XR
                        130120025countrycode code using ICP2017_Exp
                        131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                        224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                        219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                        220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                        221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                        222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                        223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                        200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                        201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                        202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                        203123004ItemCode using ICP2017_itemlist
                        204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                        205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                        206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                        207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                        208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                        209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                        175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                        176124002tempfile reg_nobs
                        177124003region using regionlist
                        178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                        155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                        156125002c using clisttempfile elec_ppp
                        157125003`elec_ppp
                        158125004use ICP2017_itemdataclist
                        159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                        160125006ItemCode using elec_item
                        161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                        162125008saving c1 c2 c3 (3 saving statements)
                        163125009use c1parm using c2
                        164125010parm using c3
                        165125011c using clist`cpd`x
                        166125012erase c1dta c2dta c3dta (3 erase statements)
                        167125013use `cpd1501211append using `cpd1501221
                        168125014append using `cpd1501231
                        1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                        170125016`construction_`x
                        171125017use construction_1501211countrycode using `construction_1501221
                        172125018countrycode using `construction_1501231
                        173125019countrycode code using ICP2017_RegBHPPP
                        174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                        187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                        188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                        189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                        190126004`pi_agg
                        191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                        192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                        193126007`pn_agg
                        194126008countrycode using `pn_agg
                        195126009countrycode using ICP2017_Pop
                        196126010countrycode using ICP2017_Countrylist
                        197126011RegionCode using ICP2017_regionalbase
                        198126012countrycode using ICP2017_XR
                        199126013Where is this fileICP2017_PAF
                        179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                        180127002use ICP2017_itemdataclist
                        181127003code countrycode using bh_nopa_tempregionlist
                        182127004region using regionlistICP2017_LF_NoPa
                        183127005use bh_nopa_temperase bh_nopa_tempdta
                        184127006countrycode using ICP2017_countrylist
                        185127007countrycode using ICP2017_PAF
                        186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                        225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                        226128002countrycode using ICP2017_Countrylist
                        227128003countrycode code using ICP2017_RegBHPPP
                        228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                        229128005temp_agg
                        230128006countrycode using temp_aggerase temp_aggdta
                        231128007temp_agg (2nd time)
                        232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                        233128009rp `i
                        234128010use rp1refp_stage1
                        235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                        236128012use ICP2017_ref_codescode using temp_ppp
                        237128013countrycode using ICP2017_CountryList
                        238128014countrycode code using ICP2017_RegBHPPP
                        239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                        240128016use rp_basic`itemp_agg (3rd time)
                        241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                        242128018temp agg (4th time)
                        243128019countrycode using temp_aggerase temp_aggdta (4th time)
                        244128020rp `i
                        245128021use rp1refp_stage2
                        246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                        247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                        143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                        144129002Is file used before replaced below`ppp_temp
                        145129003use ICP2017_RegBHPPP`ppp_temp2
                        146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                        147129005countrycode code using ICP2017_Exp
                        148129006countrycode using ICP2017_countrylist
                        149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                        150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                        151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                        152129010countrycode using `ppp_temp3
                        153129011RegionCode using ICP2017_regionalbase
                        154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                        28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                        29130002countrycode using ICP2017_countrylistcalcglobal_geks
                        30130003ppp_temp
                        31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                        32130005countrycode code using ICP2011_Exp
                        33130006countrycode using ICP2017_countrylist
                        34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                        35130008append using ppp_tempppp_temp (2nd time)
                        36130009use ppp_temp
                        37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                        38130011countrycode using ICP2017_countrylist
                        39130012No final file savedcountrycode using calcglobal_geks
                        93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                        94140002countrycode using ICP2017_countrylistcalcglobal_geks
                        95140003tempfile ppp_temp
                        96140004`ppp_temp
                        97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                        98140006countrycode code using ICP2017_Exp
                        99140007countrycode using ICP2017_countrylist
                        100140008RegionCode using ICP2017_Regionalbase
                        101140009append using `ppp_tempsave `ppp_temp
                        102140010use `ppp_tempcountrycode using ICP2017_countrylist
                        103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                        104140012countrycode using ICP2017_countrylist
                        105140013No final file savedcountrycode using calcglobal_geks
                        210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                        211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                        212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                        213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                        214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                        215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                        216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                        217150008RegionCode using ICP2017_regionalbase
                        218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                        132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                        133160002use results_2017countrycode using ICP2017_XR
                        134160003countrycode using ICP2017_POP
                        135160004countrycode using ICP2017_countrylist
                        136160005use ICP2017_CPIcpi_temp
                        137160006use ICP2017_DEFdef_temp
                        138160007countrycode code using cpi_temperase cpi_tempdta
                        139160008countrycode code using def_temperase def_tempdta
                        140160009countrycode using results2011_temperase results2011_tempdta
                        141160010countrycode year using ICP2017_Xrall
                        142160011No final file savedcountrycode year using ICP2017_POPall
                        ProgramSubprogram1Subprogram2
                        100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                        112_icp2011_paf_applicationdo
                        113_icp2011_ReferencePPPsdo
                        120_icp2017_calculationsdo121_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

                        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
                          FilenameSizePackedType12171912420127192920save date
                          DS_store6148178DS_STORE File
                          compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                          fischer_func_createdoupdate12910
                          geks_func_createdoupdate111311
                          icp2011_aggregationdo43601351DO Filenewncncupdate2320
                          icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                          icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                          icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                          icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                          icp2017_aggregationdo46181395DO Filenewncncupdate2320
                          icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                          icp2017_Consistencydo2438831DO Filenewncncupdate2320
                          icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                          icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                          icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                          icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                          icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                          laspeyres_func_createdoupdate12910
                          load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                          load_basic_datado2829802DO Filenewupdatencupdate12420
                          load_listsdo1331487DO Filenewncncupdate12420
                          passche_func_createdoupdate12910
                          process_input_filedo226165DO Filenewncncupdate82819
                          PWT_KL_classificationdtaupdate112719
                          pwt_kl_datadtaupdate12619
                          ReferencePPPsdo76901708DO Filenewncncupdate12420
                          VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                          v2100001compile_aggregate_resultsdo
                          v2100002cd userspath
                          v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                          v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                          v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                          v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                          v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                          v2100008export excel using $out_file sheet(LF2011)
                          v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                          v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                          v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                          v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                          v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                          v2100013export excel using $out_file sheet(LF2017)
                          v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                          v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                          v2100015results_2011Generate amp export 2011 aggregate results
                          v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                          v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                          v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                          v2100019results_2017Generate amp export 2017 aggregate results
                          v2100020use ICP2017_Aggregation
                          v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                          v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                          v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                          v2100024Consistency`x
                          v2100025run GenChartsdo
                          v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                          v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                          v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                          v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                          v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                          v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                          v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                          v2110008countrycode using temp_xr
                          v2110009cou using temp_xrICP2011_XR
                          v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                          v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                          v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                          v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                          v2110014countrycode agg_code using `pg_edu
                          v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                          v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                          v2110017RegionCode code using ICP2011_linkingfactors_initial
                          v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                          v2110019RegionCode using `lf_edu
                          v2110020countrycode code using ICP2011_Exp
                          v2110021code using ICP2017_classification
                          v2110022countrycode using ICP2017_countrylist
                          v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                          v2110024run ICP2011_paf_calculationdo
                          v2110025run ICP2011_paf_applicationdo
                          v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                          v2110027run ICP2011_ReferencePPPsdo
                          v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                          v2110029countrycode suing ICP2011_XR
                          v2110030countrycode code using ICP2011_Exp
                          v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                          v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                          v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                          v2111003countrycode asset using temperase temp
                          v2111004save pi_temp
                          v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                          v2111006temp
                          v2111007countrycode using temperase tempdta
                          v2111008countrycode using ICP2011_POP
                          v2111009countrycode using ICP2017_CountryList
                          v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                          v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                          v2112002countrycode using ICP2017_countrylist
                          v2112003countrycode using ICP2011_PAF
                          v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                          v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                          v2113002countrycode using ICP2017_CountryList
                          v2113003countrycode code using ICP2011_RegBHPPP
                          v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                          v2113005use rp_basic `itemp_agg
                          v2113006countrycode using temp_aggerase temp_aggdta
                          v2113007temp_agg (2nd time)
                          v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                          v2113009rp `i
                          v2113010use rp1refp_icp2011
                          v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                          v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                          v2120002run process_input_filedoinsert country names on excel line 5
                          v2120003run load_listsdoctryclassaggitemxrcoderefcode
                          v2120004run load_basic_datadoitemregbhpppexpxrpaf
                          v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                          v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                          v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                          v2120008countrycode using ICP2017_countrylist
                          v2120009code using ICP2017_classification
                          v2120010code RegionCode using ICP2017_linkingfactors_rpd
                          v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                          v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                          v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                          v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                          v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                          v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                          v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                          v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                          v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                          v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                          v2120021RegionCode code using ICP2017_lf_eduhhc
                          v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                          v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                          v2120024countrycode using ICP2017_XR
                          v2120025countrycode code using ICP2017_Exp
                          v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                          v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                          v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                          v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                          v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                          v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                          v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                          v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                          v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                          v2123003ItemCode using ICP2017_itemlist
                          v2123004countrycode using ICP2017_countrylist
                          v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                          v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                          v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                          v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                          v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                          v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                          v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                          v2124002tempfile reg_nobs
                          v2124003region using regionlist
                          v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                          v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                          v2125002c using clist
                          v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                          v2125004`elec_ppp
                          v2125005use ICP2017_itemdataclist
                          v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                          v2125007ItemCode using elec_item
                          v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                          v2125009saving c1 c2 c3 (3 saving statements)
                          v2125010use c1parm using c2
                          v2125011parm using c3
                          v2125012c using clist`cpd`x
                          v2125013erase c1dta c2dta c3dta (3 erase statements)
                          v2125014use `cpd1501211append using `cpd1501221
                          v2125015append using `cpd1501231
                          v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                          v2125017`construction_`x
                          v2125018use construction_1501211countrycode using `construction_1501221
                          v2125019countrycode using `construction_1501231
                          v2125020countrycode code using ICP2017_RegBHPPP
                          v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                          v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                          v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                          v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                          v2126004`pi_agg
                          v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                          v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                          v2126007`pn_agg
                          v2126008countrycode using `pn_agg
                          v2126009countrycode using ICP2017_Pop
                          v2126010countrycode using ICP2017_Countrylist
                          v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                          v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                          v2127002use ICP2017_itemdataclist
                          v2127003code countrycode using bh_nopa_tempregionlist
                          v2127004region using regionlistICP2017_LF_NoPa
                          v2127005use bh_nopa_temperase bh_nopa_tempdta
                          v2127006countrycode using ICP2017_countrylist
                          v2127007countrycode using ICP2017_PAF
                          v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                          v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                          v2128002countrycode using ICP2017_Countrylist
                          v2128003countrycode code using ICP2017_RegBHPPP
                          v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                          v2128005temp_agg
                          v2128006countrycode using temp_aggerase temp_aggdta
                          v2128007temp_agg (2nd time)
                          v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                          v2128009rp `i
                          v2128010use rp1append using rp`ierase rp`idta
                          v2128011erase rp_basic`idta
                          v2128012refp_stage3
                          v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                          v2128014use ICP2017_ref_codescode using temp_ppp
                          v2128015countrycode using ICP2017_Countrylist
                          v2128016countrycode code using ICP2017_RegBHPPP
                          v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                          v2128018use rp_basic`itemp_agg (3rd time)
                          v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                          v2128020temp agg (4th time)
                          v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                          v2128022rp `i
                          v2128023use rp1append using rp`ierase rp`idta
                          v2128024erase rp_basic`idta
                          v2128025refp_stage2
                          v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                          v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                          v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                          v2129002`ppp_tempIs file used before replaced below
                          v2129003use ICP2017_RegBHPPP`ppp_temp2
                          v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                          v2129005countrycode code using ICP2017_Exp
                          v2129006countrycode using ICP2017_countrylist
                          v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                          v2129008use `ppp_tempappend using `ppp_temp2
                          v2129009countrycode using ICP2017_countrylist`ppp_temp3
                          v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                          v2129011countrycode using `ppp_temp3
                          v2129012RegionCode using ICP2017_regionalbase
                          v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                          v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                          v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                          v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                          v2130004countrycode using ICP2017_countrylist
                          v2130005countrycode using calcglobal_geksNo final file saved
                          v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                          v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                          v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                          v2140004countrycode using ICP2017_countrylist
                          v2140005countrycode using calcglobal_geksNo final file saved
                          v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                          v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                          v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                          v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                          v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                          v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                          v2150007RegionCode using ICP2017_regionalbase
                          v2150008RegionCode using ICP2017_regionalbase
                          v2150009countrycode using results_2011ICPTS_RegBHPPP
                          v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                          v2160002use results_2017countrycode using ICP2017_XR
                          v2160003countrycode using ICP2017_POP
                          v2160004countrycode using ICP2017_countrylist
                          v2160005use ICP2017_CPIcpi_temp
                          v2160006use ICP2017_DEFdef_temp
                          v2160007countrycode code using cpi_temp
                          v2160008countrycode code using def_temp
                          v2160009countrycode using results2011_temp
                          v2160010countrycode year using ICP2017_Xrall
                          v2160011countrycode year using ICP2017_POPallNo final file saved
                          alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                          1000000DS_store
                          2100001compile_aggregate_resultsdo
                          3100002cd userspath
                          4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                          5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                          6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                          7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                          8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                          9100008export excel using $out_file sheet(LF2011)
                          10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                          11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                          12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                          13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                          14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                          15100014export excel using $out_file sheet(LF2017)
                          16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                          17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                          18100017Generate amp export 2011 aggregate resultsresults_2011
                          19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                          20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                          21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                          22100021Generate amp export 2017 aggregate resultsresults_2017
                          23100022use ICP2017_Aggregation
                          24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                          25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                          26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                          27100026Consistency`x
                          40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                          41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                          42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                          43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                          44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                          45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                          46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                          47110008RegionaCode using ICP2017_regionalbase
                          48110009countrycode using temp_xr
                          49110010cou using temp_xrICP2011_XR
                          50110011erase temp_xrdta
                          51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                          52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                          53110014RegionCode code using ICP2011_linkingfactors_initial
                          54110015RegionCode code using ICP2011_housing_linking_factors
                          55110016countrycode code using ICP2011_Exp
                          56110017code using ICP2017_classification
                          57110018countrycode using ICP2017_countrylist
                          58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                          59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                          60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                          61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                          62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                          63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                          64110025countrycode suing ICP2011_XR
                          65110026countrycode code using ICP2011_Exp
                          66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                          71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                          72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                          73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                          74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                          75111005temp
                          76111006countrycode using temperase tempdta
                          77111007countrycode using ICP2011_POP
                          78111008countrycode using ICP2017_CountryList
                          79111009RegionCode using ICP2017_regionalbase
                          80111010countrycode using ICP2011_XR
                          81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                          67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                          68112002countrycode using ICP2017_countrylist
                          69112003countrycode using ICP2011_PAF
                          70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                          82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                          83113002countrycode using ICP2017_CountryList
                          84113003countrycode code using ICP2011_RegBHPPP
                          85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                          86113005use rp_basic `itemp_agg
                          87113006countrycode using temp_aggerase temp_aggdta
                          88113007temp_agg (2nd time)
                          89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                          90113009rp `i
                          91113010use rp1refp_icp2011
                          92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                          106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                          107120002insert country names on excel line 5run process_input_filedo
                          108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                          109120004itemregbhpppexpxrpafrun load_basic_datado
                          110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                          111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                          112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                          113120008code countrycode using ICP2017_Exp
                          114120009code using ICP2017_classification
                          115120010code RegionCode using ICP2017_linkingfactors_rpd
                          116120011code RegionCode using ICP2017_housing_linking_factors
                          117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                          118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                          119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                          120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                          121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                          122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                          123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                          124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                          125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                          126120021RegionCode code using ICP2017_lf_eduhhc
                          127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                          128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                          129120024countrycode using ICP2017_XR
                          130120025countrycode code using ICP2017_Exp
                          131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                          224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                          219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                          220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                          221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                          222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                          223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                          200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                          201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                          202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                          203123004ItemCode using ICP2017_itemlist
                          204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                          205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                          206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                          207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                          208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                          209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                          175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                          176124002tempfile reg_nobs
                          177124003region using regionlist
                          178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                          155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                          156125002c using clisttempfile elec_ppp
                          157125003`elec_ppp
                          158125004use ICP2017_itemdataclist
                          159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                          160125006ItemCode using elec_item
                          161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                          162125008saving c1 c2 c3 (3 saving statements)
                          163125009use c1parm using c2
                          164125010parm using c3
                          165125011c using clist`cpd`x
                          166125012erase c1dta c2dta c3dta (3 erase statements)
                          167125013use `cpd1501211append using `cpd1501221
                          168125014append using `cpd1501231
                          1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                          170125016`construction_`x
                          171125017use construction_1501211countrycode using `construction_1501221
                          172125018countrycode using `construction_1501231
                          173125019countrycode code using ICP2017_RegBHPPP
                          174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                          187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                          188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                          189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                          190126004`pi_agg
                          191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                          192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                          193126007`pn_agg
                          194126008countrycode using `pn_agg
                          195126009countrycode using ICP2017_Pop
                          196126010countrycode using ICP2017_Countrylist
                          197126011RegionCode using ICP2017_regionalbase
                          198126012countrycode using ICP2017_XR
                          199126013Where is this fileICP2017_PAF
                          179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                          180127002use ICP2017_itemdataclist
                          181127003code countrycode using bh_nopa_tempregionlist
                          182127004region using regionlistICP2017_LF_NoPa
                          183127005use bh_nopa_temperase bh_nopa_tempdta
                          184127006countrycode using ICP2017_countrylist
                          185127007countrycode using ICP2017_PAF
                          186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                          225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                          226128002countrycode using ICP2017_Countrylist
                          227128003countrycode code using ICP2017_RegBHPPP
                          228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                          229128005temp_agg
                          230128006countrycode using temp_aggerase temp_aggdta
                          231128007temp_agg (2nd time)
                          232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                          233128009rp `i
                          234128010use rp1refp_stage1
                          235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                          236128012use ICP2017_ref_codescode using temp_ppp
                          237128013countrycode using ICP2017_CountryList
                          238128014countrycode code using ICP2017_RegBHPPP
                          239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                          240128016use rp_basic`itemp_agg (3rd time)
                          241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                          242128018temp agg (4th time)
                          243128019countrycode using temp_aggerase temp_aggdta (4th time)
                          244128020rp `i
                          245128021use rp1refp_stage2
                          246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                          247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                          143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                          144129002Is file used before replaced below`ppp_temp
                          145129003use ICP2017_RegBHPPP`ppp_temp2
                          146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                          147129005countrycode code using ICP2017_Exp
                          148129006countrycode using ICP2017_countrylist
                          149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                          150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                          151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                          152129010countrycode using `ppp_temp3
                          153129011RegionCode using ICP2017_regionalbase
                          154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                          28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                          29130002countrycode using ICP2017_countrylistcalcglobal_geks
                          30130003ppp_temp
                          31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                          32130005countrycode code using ICP2011_Exp
                          33130006countrycode using ICP2017_countrylist
                          34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                          35130008append using ppp_tempppp_temp (2nd time)
                          36130009use ppp_temp
                          37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                          38130011countrycode using ICP2017_countrylist
                          39130012No final file savedcountrycode using calcglobal_geks
                          93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                          94140002countrycode using ICP2017_countrylistcalcglobal_geks
                          95140003tempfile ppp_temp
                          96140004`ppp_temp
                          97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                          98140006countrycode code using ICP2017_Exp
                          99140007countrycode using ICP2017_countrylist
                          100140008RegionCode using ICP2017_Regionalbase
                          101140009append using `ppp_tempsave `ppp_temp
                          102140010use `ppp_tempcountrycode using ICP2017_countrylist
                          103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                          104140012countrycode using ICP2017_countrylist
                          105140013No final file savedcountrycode using calcglobal_geks
                          210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                          211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                          212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                          213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                          214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                          215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                          216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                          217150008RegionCode using ICP2017_regionalbase
                          218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                          132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                          133160002use results_2017countrycode using ICP2017_XR
                          134160003countrycode using ICP2017_POP
                          135160004countrycode using ICP2017_countrylist
                          136160005use ICP2017_CPIcpi_temp
                          137160006use ICP2017_DEFdef_temp
                          138160007countrycode code using cpi_temperase cpi_tempdta
                          139160008countrycode code using def_temperase def_tempdta
                          140160009countrycode using results2011_temperase results2011_tempdta
                          141160010countrycode year using ICP2017_Xrall
                          142160011No final file savedcountrycode year using ICP2017_POPall
                          ProgramSubprogram1Subprogram2
                          100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                          112_icp2011_paf_applicationdo
                          113_icp2011_ReferencePPPsdo
                          120_icp2017_calculationsdo121_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

                          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
                            FilenameSizePackedType12171912420127192920save date
                            DS_store6148178DS_STORE File
                            compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                            fischer_func_createdoupdate12910
                            geks_func_createdoupdate111311
                            icp2011_aggregationdo43601351DO Filenewncncupdate2320
                            icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                            icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                            icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                            icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                            icp2017_aggregationdo46181395DO Filenewncncupdate2320
                            icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                            icp2017_Consistencydo2438831DO Filenewncncupdate2320
                            icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                            icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                            icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                            icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                            icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                            laspeyres_func_createdoupdate12910
                            load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                            load_basic_datado2829802DO Filenewupdatencupdate12420
                            load_listsdo1331487DO Filenewncncupdate12420
                            passche_func_createdoupdate12910
                            process_input_filedo226165DO Filenewncncupdate82819
                            PWT_KL_classificationdtaupdate112719
                            pwt_kl_datadtaupdate12619
                            ReferencePPPsdo76901708DO Filenewncncupdate12420
                            VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                            v2100001compile_aggregate_resultsdo
                            v2100002cd userspath
                            v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                            v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                            v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                            v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                            v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                            v2100008export excel using $out_file sheet(LF2011)
                            v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                            v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                            v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                            v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                            v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                            v2100013export excel using $out_file sheet(LF2017)
                            v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                            v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                            v2100015results_2011Generate amp export 2011 aggregate results
                            v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                            v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                            v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                            v2100019results_2017Generate amp export 2017 aggregate results
                            v2100020use ICP2017_Aggregation
                            v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                            v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                            v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                            v2100024Consistency`x
                            v2100025run GenChartsdo
                            v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                            v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                            v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                            v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                            v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                            v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                            v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                            v2110008countrycode using temp_xr
                            v2110009cou using temp_xrICP2011_XR
                            v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                            v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                            v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                            v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                            v2110014countrycode agg_code using `pg_edu
                            v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                            v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                            v2110017RegionCode code using ICP2011_linkingfactors_initial
                            v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                            v2110019RegionCode using `lf_edu
                            v2110020countrycode code using ICP2011_Exp
                            v2110021code using ICP2017_classification
                            v2110022countrycode using ICP2017_countrylist
                            v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                            v2110024run ICP2011_paf_calculationdo
                            v2110025run ICP2011_paf_applicationdo
                            v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                            v2110027run ICP2011_ReferencePPPsdo
                            v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                            v2110029countrycode suing ICP2011_XR
                            v2110030countrycode code using ICP2011_Exp
                            v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                            v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                            v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                            v2111003countrycode asset using temperase temp
                            v2111004save pi_temp
                            v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                            v2111006temp
                            v2111007countrycode using temperase tempdta
                            v2111008countrycode using ICP2011_POP
                            v2111009countrycode using ICP2017_CountryList
                            v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                            v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                            v2112002countrycode using ICP2017_countrylist
                            v2112003countrycode using ICP2011_PAF
                            v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                            v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                            v2113002countrycode using ICP2017_CountryList
                            v2113003countrycode code using ICP2011_RegBHPPP
                            v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                            v2113005use rp_basic `itemp_agg
                            v2113006countrycode using temp_aggerase temp_aggdta
                            v2113007temp_agg (2nd time)
                            v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                            v2113009rp `i
                            v2113010use rp1refp_icp2011
                            v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                            v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                            v2120002run process_input_filedoinsert country names on excel line 5
                            v2120003run load_listsdoctryclassaggitemxrcoderefcode
                            v2120004run load_basic_datadoitemregbhpppexpxrpaf
                            v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                            v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                            v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                            v2120008countrycode using ICP2017_countrylist
                            v2120009code using ICP2017_classification
                            v2120010code RegionCode using ICP2017_linkingfactors_rpd
                            v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                            v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                            v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                            v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                            v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                            v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                            v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                            v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                            v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                            v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                            v2120021RegionCode code using ICP2017_lf_eduhhc
                            v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                            v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                            v2120024countrycode using ICP2017_XR
                            v2120025countrycode code using ICP2017_Exp
                            v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                            v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                            v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                            v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                            v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                            v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                            v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                            v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                            v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                            v2123003ItemCode using ICP2017_itemlist
                            v2123004countrycode using ICP2017_countrylist
                            v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                            v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                            v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                            v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                            v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                            v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                            v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                            v2124002tempfile reg_nobs
                            v2124003region using regionlist
                            v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                            v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                            v2125002c using clist
                            v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                            v2125004`elec_ppp
                            v2125005use ICP2017_itemdataclist
                            v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                            v2125007ItemCode using elec_item
                            v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                            v2125009saving c1 c2 c3 (3 saving statements)
                            v2125010use c1parm using c2
                            v2125011parm using c3
                            v2125012c using clist`cpd`x
                            v2125013erase c1dta c2dta c3dta (3 erase statements)
                            v2125014use `cpd1501211append using `cpd1501221
                            v2125015append using `cpd1501231
                            v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                            v2125017`construction_`x
                            v2125018use construction_1501211countrycode using `construction_1501221
                            v2125019countrycode using `construction_1501231
                            v2125020countrycode code using ICP2017_RegBHPPP
                            v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                            v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                            v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                            v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                            v2126004`pi_agg
                            v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                            v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                            v2126007`pn_agg
                            v2126008countrycode using `pn_agg
                            v2126009countrycode using ICP2017_Pop
                            v2126010countrycode using ICP2017_Countrylist
                            v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                            v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                            v2127002use ICP2017_itemdataclist
                            v2127003code countrycode using bh_nopa_tempregionlist
                            v2127004region using regionlistICP2017_LF_NoPa
                            v2127005use bh_nopa_temperase bh_nopa_tempdta
                            v2127006countrycode using ICP2017_countrylist
                            v2127007countrycode using ICP2017_PAF
                            v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                            v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                            v2128002countrycode using ICP2017_Countrylist
                            v2128003countrycode code using ICP2017_RegBHPPP
                            v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                            v2128005temp_agg
                            v2128006countrycode using temp_aggerase temp_aggdta
                            v2128007temp_agg (2nd time)
                            v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                            v2128009rp `i
                            v2128010use rp1append using rp`ierase rp`idta
                            v2128011erase rp_basic`idta
                            v2128012refp_stage3
                            v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                            v2128014use ICP2017_ref_codescode using temp_ppp
                            v2128015countrycode using ICP2017_Countrylist
                            v2128016countrycode code using ICP2017_RegBHPPP
                            v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                            v2128018use rp_basic`itemp_agg (3rd time)
                            v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                            v2128020temp agg (4th time)
                            v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                            v2128022rp `i
                            v2128023use rp1append using rp`ierase rp`idta
                            v2128024erase rp_basic`idta
                            v2128025refp_stage2
                            v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                            v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                            v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                            v2129002`ppp_tempIs file used before replaced below
                            v2129003use ICP2017_RegBHPPP`ppp_temp2
                            v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                            v2129005countrycode code using ICP2017_Exp
                            v2129006countrycode using ICP2017_countrylist
                            v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                            v2129008use `ppp_tempappend using `ppp_temp2
                            v2129009countrycode using ICP2017_countrylist`ppp_temp3
                            v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                            v2129011countrycode using `ppp_temp3
                            v2129012RegionCode using ICP2017_regionalbase
                            v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                            v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                            v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                            v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                            v2130004countrycode using ICP2017_countrylist
                            v2130005countrycode using calcglobal_geksNo final file saved
                            v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                            v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                            v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                            v2140004countrycode using ICP2017_countrylist
                            v2140005countrycode using calcglobal_geksNo final file saved
                            v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                            v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                            v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                            v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                            v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                            v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                            v2150007RegionCode using ICP2017_regionalbase
                            v2150008RegionCode using ICP2017_regionalbase
                            v2150009countrycode using results_2011ICPTS_RegBHPPP
                            v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                            v2160002use results_2017countrycode using ICP2017_XR
                            v2160003countrycode using ICP2017_POP
                            v2160004countrycode using ICP2017_countrylist
                            v2160005use ICP2017_CPIcpi_temp
                            v2160006use ICP2017_DEFdef_temp
                            v2160007countrycode code using cpi_temp
                            v2160008countrycode code using def_temp
                            v2160009countrycode using results2011_temp
                            v2160010countrycode year using ICP2017_Xrall
                            v2160011countrycode year using ICP2017_POPallNo final file saved
                            alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                            1000000DS_store
                            2100001compile_aggregate_resultsdo
                            3100002cd userspath
                            4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                            5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                            6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                            7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                            8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                            9100008export excel using $out_file sheet(LF2011)
                            10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                            11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                            12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                            13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                            14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                            15100014export excel using $out_file sheet(LF2017)
                            16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                            17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                            18100017Generate amp export 2011 aggregate resultsresults_2011
                            19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                            20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                            21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                            22100021Generate amp export 2017 aggregate resultsresults_2017
                            23100022use ICP2017_Aggregation
                            24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                            25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                            26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                            27100026Consistency`x
                            40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                            41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                            42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                            43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                            44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                            45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                            46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                            47110008RegionaCode using ICP2017_regionalbase
                            48110009countrycode using temp_xr
                            49110010cou using temp_xrICP2011_XR
                            50110011erase temp_xrdta
                            51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                            52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                            53110014RegionCode code using ICP2011_linkingfactors_initial
                            54110015RegionCode code using ICP2011_housing_linking_factors
                            55110016countrycode code using ICP2011_Exp
                            56110017code using ICP2017_classification
                            57110018countrycode using ICP2017_countrylist
                            58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                            59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                            60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                            61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                            62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                            63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                            64110025countrycode suing ICP2011_XR
                            65110026countrycode code using ICP2011_Exp
                            66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                            71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                            72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                            73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                            74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                            75111005temp
                            76111006countrycode using temperase tempdta
                            77111007countrycode using ICP2011_POP
                            78111008countrycode using ICP2017_CountryList
                            79111009RegionCode using ICP2017_regionalbase
                            80111010countrycode using ICP2011_XR
                            81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                            67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                            68112002countrycode using ICP2017_countrylist
                            69112003countrycode using ICP2011_PAF
                            70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                            82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                            83113002countrycode using ICP2017_CountryList
                            84113003countrycode code using ICP2011_RegBHPPP
                            85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                            86113005use rp_basic `itemp_agg
                            87113006countrycode using temp_aggerase temp_aggdta
                            88113007temp_agg (2nd time)
                            89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                            90113009rp `i
                            91113010use rp1refp_icp2011
                            92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                            106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                            107120002insert country names on excel line 5run process_input_filedo
                            108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                            109120004itemregbhpppexpxrpafrun load_basic_datado
                            110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                            111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                            112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                            113120008code countrycode using ICP2017_Exp
                            114120009code using ICP2017_classification
                            115120010code RegionCode using ICP2017_linkingfactors_rpd
                            116120011code RegionCode using ICP2017_housing_linking_factors
                            117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                            118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                            119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                            120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                            121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                            122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                            123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                            124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                            125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                            126120021RegionCode code using ICP2017_lf_eduhhc
                            127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                            128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                            129120024countrycode using ICP2017_XR
                            130120025countrycode code using ICP2017_Exp
                            131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                            224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                            219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                            220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                            221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                            222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                            223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                            200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                            201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                            202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                            203123004ItemCode using ICP2017_itemlist
                            204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                            205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                            206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                            207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                            208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                            209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                            175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                            176124002tempfile reg_nobs
                            177124003region using regionlist
                            178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                            155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                            156125002c using clisttempfile elec_ppp
                            157125003`elec_ppp
                            158125004use ICP2017_itemdataclist
                            159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                            160125006ItemCode using elec_item
                            161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                            162125008saving c1 c2 c3 (3 saving statements)
                            163125009use c1parm using c2
                            164125010parm using c3
                            165125011c using clist`cpd`x
                            166125012erase c1dta c2dta c3dta (3 erase statements)
                            167125013use `cpd1501211append using `cpd1501221
                            168125014append using `cpd1501231
                            1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                            170125016`construction_`x
                            171125017use construction_1501211countrycode using `construction_1501221
                            172125018countrycode using `construction_1501231
                            173125019countrycode code using ICP2017_RegBHPPP
                            174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                            187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                            188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                            189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                            190126004`pi_agg
                            191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                            192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                            193126007`pn_agg
                            194126008countrycode using `pn_agg
                            195126009countrycode using ICP2017_Pop
                            196126010countrycode using ICP2017_Countrylist
                            197126011RegionCode using ICP2017_regionalbase
                            198126012countrycode using ICP2017_XR
                            199126013Where is this fileICP2017_PAF
                            179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                            180127002use ICP2017_itemdataclist
                            181127003code countrycode using bh_nopa_tempregionlist
                            182127004region using regionlistICP2017_LF_NoPa
                            183127005use bh_nopa_temperase bh_nopa_tempdta
                            184127006countrycode using ICP2017_countrylist
                            185127007countrycode using ICP2017_PAF
                            186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                            225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                            226128002countrycode using ICP2017_Countrylist
                            227128003countrycode code using ICP2017_RegBHPPP
                            228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                            229128005temp_agg
                            230128006countrycode using temp_aggerase temp_aggdta
                            231128007temp_agg (2nd time)
                            232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                            233128009rp `i
                            234128010use rp1refp_stage1
                            235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                            236128012use ICP2017_ref_codescode using temp_ppp
                            237128013countrycode using ICP2017_CountryList
                            238128014countrycode code using ICP2017_RegBHPPP
                            239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                            240128016use rp_basic`itemp_agg (3rd time)
                            241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                            242128018temp agg (4th time)
                            243128019countrycode using temp_aggerase temp_aggdta (4th time)
                            244128020rp `i
                            245128021use rp1refp_stage2
                            246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                            247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                            143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                            144129002Is file used before replaced below`ppp_temp
                            145129003use ICP2017_RegBHPPP`ppp_temp2
                            146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                            147129005countrycode code using ICP2017_Exp
                            148129006countrycode using ICP2017_countrylist
                            149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                            150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                            151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                            152129010countrycode using `ppp_temp3
                            153129011RegionCode using ICP2017_regionalbase
                            154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                            28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                            29130002countrycode using ICP2017_countrylistcalcglobal_geks
                            30130003ppp_temp
                            31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                            32130005countrycode code using ICP2011_Exp
                            33130006countrycode using ICP2017_countrylist
                            34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                            35130008append using ppp_tempppp_temp (2nd time)
                            36130009use ppp_temp
                            37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                            38130011countrycode using ICP2017_countrylist
                            39130012No final file savedcountrycode using calcglobal_geks
                            93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                            94140002countrycode using ICP2017_countrylistcalcglobal_geks
                            95140003tempfile ppp_temp
                            96140004`ppp_temp
                            97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                            98140006countrycode code using ICP2017_Exp
                            99140007countrycode using ICP2017_countrylist
                            100140008RegionCode using ICP2017_Regionalbase
                            101140009append using `ppp_tempsave `ppp_temp
                            102140010use `ppp_tempcountrycode using ICP2017_countrylist
                            103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                            104140012countrycode using ICP2017_countrylist
                            105140013No final file savedcountrycode using calcglobal_geks
                            210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                            211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                            212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                            213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                            214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                            215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                            216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                            217150008RegionCode using ICP2017_regionalbase
                            218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                            132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                            133160002use results_2017countrycode using ICP2017_XR
                            134160003countrycode using ICP2017_POP
                            135160004countrycode using ICP2017_countrylist
                            136160005use ICP2017_CPIcpi_temp
                            137160006use ICP2017_DEFdef_temp
                            138160007countrycode code using cpi_temperase cpi_tempdta
                            139160008countrycode code using def_temperase def_tempdta
                            140160009countrycode using results2011_temperase results2011_tempdta
                            141160010countrycode year using ICP2017_Xrall
                            142160011No final file savedcountrycode year using ICP2017_POPall
                            ProgramSubprogram1Subprogram2
                            100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                            112_icp2011_paf_applicationdo
                            113_icp2011_ReferencePPPsdo
                            120_icp2017_calculationsdo121_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

                            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
                              FilenameSizePackedType12171912420127192920save date
                              DS_store6148178DS_STORE File
                              compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                              fischer_func_createdoupdate12910
                              geks_func_createdoupdate111311
                              icp2011_aggregationdo43601351DO Filenewncncupdate2320
                              icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                              icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                              icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                              icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                              icp2017_aggregationdo46181395DO Filenewncncupdate2320
                              icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                              icp2017_Consistencydo2438831DO Filenewncncupdate2320
                              icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                              icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                              icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                              icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                              icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                              laspeyres_func_createdoupdate12910
                              load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                              load_basic_datado2829802DO Filenewupdatencupdate12420
                              load_listsdo1331487DO Filenewncncupdate12420
                              passche_func_createdoupdate12910
                              process_input_filedo226165DO Filenewncncupdate82819
                              PWT_KL_classificationdtaupdate112719
                              pwt_kl_datadtaupdate12619
                              ReferencePPPsdo76901708DO Filenewncncupdate12420
                              VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                              v2100001compile_aggregate_resultsdo
                              v2100002cd userspath
                              v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                              v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                              v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                              v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                              v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                              v2100008export excel using $out_file sheet(LF2011)
                              v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                              v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                              v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                              v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                              v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                              v2100013export excel using $out_file sheet(LF2017)
                              v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                              v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                              v2100015results_2011Generate amp export 2011 aggregate results
                              v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                              v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                              v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                              v2100019results_2017Generate amp export 2017 aggregate results
                              v2100020use ICP2017_Aggregation
                              v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                              v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                              v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                              v2100024Consistency`x
                              v2100025run GenChartsdo
                              v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                              v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                              v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                              v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                              v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                              v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                              v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                              v2110008countrycode using temp_xr
                              v2110009cou using temp_xrICP2011_XR
                              v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                              v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                              v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                              v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                              v2110014countrycode agg_code using `pg_edu
                              v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                              v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                              v2110017RegionCode code using ICP2011_linkingfactors_initial
                              v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                              v2110019RegionCode using `lf_edu
                              v2110020countrycode code using ICP2011_Exp
                              v2110021code using ICP2017_classification
                              v2110022countrycode using ICP2017_countrylist
                              v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                              v2110024run ICP2011_paf_calculationdo
                              v2110025run ICP2011_paf_applicationdo
                              v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                              v2110027run ICP2011_ReferencePPPsdo
                              v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                              v2110029countrycode suing ICP2011_XR
                              v2110030countrycode code using ICP2011_Exp
                              v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                              v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                              v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                              v2111003countrycode asset using temperase temp
                              v2111004save pi_temp
                              v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                              v2111006temp
                              v2111007countrycode using temperase tempdta
                              v2111008countrycode using ICP2011_POP
                              v2111009countrycode using ICP2017_CountryList
                              v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                              v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                              v2112002countrycode using ICP2017_countrylist
                              v2112003countrycode using ICP2011_PAF
                              v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                              v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                              v2113002countrycode using ICP2017_CountryList
                              v2113003countrycode code using ICP2011_RegBHPPP
                              v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                              v2113005use rp_basic `itemp_agg
                              v2113006countrycode using temp_aggerase temp_aggdta
                              v2113007temp_agg (2nd time)
                              v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                              v2113009rp `i
                              v2113010use rp1refp_icp2011
                              v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                              v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                              v2120002run process_input_filedoinsert country names on excel line 5
                              v2120003run load_listsdoctryclassaggitemxrcoderefcode
                              v2120004run load_basic_datadoitemregbhpppexpxrpaf
                              v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                              v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                              v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                              v2120008countrycode using ICP2017_countrylist
                              v2120009code using ICP2017_classification
                              v2120010code RegionCode using ICP2017_linkingfactors_rpd
                              v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                              v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                              v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                              v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                              v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                              v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                              v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                              v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                              v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                              v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                              v2120021RegionCode code using ICP2017_lf_eduhhc
                              v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                              v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                              v2120024countrycode using ICP2017_XR
                              v2120025countrycode code using ICP2017_Exp
                              v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                              v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                              v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                              v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                              v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                              v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                              v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                              v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                              v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                              v2123003ItemCode using ICP2017_itemlist
                              v2123004countrycode using ICP2017_countrylist
                              v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                              v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                              v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                              v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                              v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                              v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                              v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                              v2124002tempfile reg_nobs
                              v2124003region using regionlist
                              v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                              v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                              v2125002c using clist
                              v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                              v2125004`elec_ppp
                              v2125005use ICP2017_itemdataclist
                              v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                              v2125007ItemCode using elec_item
                              v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                              v2125009saving c1 c2 c3 (3 saving statements)
                              v2125010use c1parm using c2
                              v2125011parm using c3
                              v2125012c using clist`cpd`x
                              v2125013erase c1dta c2dta c3dta (3 erase statements)
                              v2125014use `cpd1501211append using `cpd1501221
                              v2125015append using `cpd1501231
                              v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                              v2125017`construction_`x
                              v2125018use construction_1501211countrycode using `construction_1501221
                              v2125019countrycode using `construction_1501231
                              v2125020countrycode code using ICP2017_RegBHPPP
                              v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                              v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                              v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                              v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                              v2126004`pi_agg
                              v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                              v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                              v2126007`pn_agg
                              v2126008countrycode using `pn_agg
                              v2126009countrycode using ICP2017_Pop
                              v2126010countrycode using ICP2017_Countrylist
                              v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                              v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                              v2127002use ICP2017_itemdataclist
                              v2127003code countrycode using bh_nopa_tempregionlist
                              v2127004region using regionlistICP2017_LF_NoPa
                              v2127005use bh_nopa_temperase bh_nopa_tempdta
                              v2127006countrycode using ICP2017_countrylist
                              v2127007countrycode using ICP2017_PAF
                              v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                              v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                              v2128002countrycode using ICP2017_Countrylist
                              v2128003countrycode code using ICP2017_RegBHPPP
                              v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                              v2128005temp_agg
                              v2128006countrycode using temp_aggerase temp_aggdta
                              v2128007temp_agg (2nd time)
                              v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                              v2128009rp `i
                              v2128010use rp1append using rp`ierase rp`idta
                              v2128011erase rp_basic`idta
                              v2128012refp_stage3
                              v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                              v2128014use ICP2017_ref_codescode using temp_ppp
                              v2128015countrycode using ICP2017_Countrylist
                              v2128016countrycode code using ICP2017_RegBHPPP
                              v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                              v2128018use rp_basic`itemp_agg (3rd time)
                              v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                              v2128020temp agg (4th time)
                              v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                              v2128022rp `i
                              v2128023use rp1append using rp`ierase rp`idta
                              v2128024erase rp_basic`idta
                              v2128025refp_stage2
                              v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                              v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                              v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                              v2129002`ppp_tempIs file used before replaced below
                              v2129003use ICP2017_RegBHPPP`ppp_temp2
                              v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                              v2129005countrycode code using ICP2017_Exp
                              v2129006countrycode using ICP2017_countrylist
                              v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                              v2129008use `ppp_tempappend using `ppp_temp2
                              v2129009countrycode using ICP2017_countrylist`ppp_temp3
                              v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                              v2129011countrycode using `ppp_temp3
                              v2129012RegionCode using ICP2017_regionalbase
                              v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                              v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                              v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                              v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                              v2130004countrycode using ICP2017_countrylist
                              v2130005countrycode using calcglobal_geksNo final file saved
                              v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                              v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                              v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                              v2140004countrycode using ICP2017_countrylist
                              v2140005countrycode using calcglobal_geksNo final file saved
                              v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                              v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                              v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                              v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                              v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                              v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                              v2150007RegionCode using ICP2017_regionalbase
                              v2150008RegionCode using ICP2017_regionalbase
                              v2150009countrycode using results_2011ICPTS_RegBHPPP
                              v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                              v2160002use results_2017countrycode using ICP2017_XR
                              v2160003countrycode using ICP2017_POP
                              v2160004countrycode using ICP2017_countrylist
                              v2160005use ICP2017_CPIcpi_temp
                              v2160006use ICP2017_DEFdef_temp
                              v2160007countrycode code using cpi_temp
                              v2160008countrycode code using def_temp
                              v2160009countrycode using results2011_temp
                              v2160010countrycode year using ICP2017_Xrall
                              v2160011countrycode year using ICP2017_POPallNo final file saved
                              alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                              1000000DS_store
                              2100001compile_aggregate_resultsdo
                              3100002cd userspath
                              4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                              5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                              6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                              7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                              8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                              9100008export excel using $out_file sheet(LF2011)
                              10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                              11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                              12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                              13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                              14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                              15100014export excel using $out_file sheet(LF2017)
                              16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                              17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                              18100017Generate amp export 2011 aggregate resultsresults_2011
                              19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                              20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                              21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                              22100021Generate amp export 2017 aggregate resultsresults_2017
                              23100022use ICP2017_Aggregation
                              24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                              25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                              26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                              27100026Consistency`x
                              40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                              41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                              42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                              43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                              44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                              45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                              46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                              47110008RegionaCode using ICP2017_regionalbase
                              48110009countrycode using temp_xr
                              49110010cou using temp_xrICP2011_XR
                              50110011erase temp_xrdta
                              51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                              52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                              53110014RegionCode code using ICP2011_linkingfactors_initial
                              54110015RegionCode code using ICP2011_housing_linking_factors
                              55110016countrycode code using ICP2011_Exp
                              56110017code using ICP2017_classification
                              57110018countrycode using ICP2017_countrylist
                              58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                              59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                              60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                              61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                              62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                              63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                              64110025countrycode suing ICP2011_XR
                              65110026countrycode code using ICP2011_Exp
                              66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                              71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                              72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                              73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                              74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                              75111005temp
                              76111006countrycode using temperase tempdta
                              77111007countrycode using ICP2011_POP
                              78111008countrycode using ICP2017_CountryList
                              79111009RegionCode using ICP2017_regionalbase
                              80111010countrycode using ICP2011_XR
                              81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                              67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                              68112002countrycode using ICP2017_countrylist
                              69112003countrycode using ICP2011_PAF
                              70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                              82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                              83113002countrycode using ICP2017_CountryList
                              84113003countrycode code using ICP2011_RegBHPPP
                              85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                              86113005use rp_basic `itemp_agg
                              87113006countrycode using temp_aggerase temp_aggdta
                              88113007temp_agg (2nd time)
                              89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                              90113009rp `i
                              91113010use rp1refp_icp2011
                              92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                              106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                              107120002insert country names on excel line 5run process_input_filedo
                              108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                              109120004itemregbhpppexpxrpafrun load_basic_datado
                              110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                              111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                              112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                              113120008code countrycode using ICP2017_Exp
                              114120009code using ICP2017_classification
                              115120010code RegionCode using ICP2017_linkingfactors_rpd
                              116120011code RegionCode using ICP2017_housing_linking_factors
                              117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                              118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                              119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                              120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                              121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                              122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                              123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                              124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                              125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                              126120021RegionCode code using ICP2017_lf_eduhhc
                              127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                              128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                              129120024countrycode using ICP2017_XR
                              130120025countrycode code using ICP2017_Exp
                              131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                              224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                              219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                              220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                              221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                              222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                              223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                              200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                              201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                              202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                              203123004ItemCode using ICP2017_itemlist
                              204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                              205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                              206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                              207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                              208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                              209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                              175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                              176124002tempfile reg_nobs
                              177124003region using regionlist
                              178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                              155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                              156125002c using clisttempfile elec_ppp
                              157125003`elec_ppp
                              158125004use ICP2017_itemdataclist
                              159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                              160125006ItemCode using elec_item
                              161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                              162125008saving c1 c2 c3 (3 saving statements)
                              163125009use c1parm using c2
                              164125010parm using c3
                              165125011c using clist`cpd`x
                              166125012erase c1dta c2dta c3dta (3 erase statements)
                              167125013use `cpd1501211append using `cpd1501221
                              168125014append using `cpd1501231
                              1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                              170125016`construction_`x
                              171125017use construction_1501211countrycode using `construction_1501221
                              172125018countrycode using `construction_1501231
                              173125019countrycode code using ICP2017_RegBHPPP
                              174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                              187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                              188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                              189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                              190126004`pi_agg
                              191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                              192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                              193126007`pn_agg
                              194126008countrycode using `pn_agg
                              195126009countrycode using ICP2017_Pop
                              196126010countrycode using ICP2017_Countrylist
                              197126011RegionCode using ICP2017_regionalbase
                              198126012countrycode using ICP2017_XR
                              199126013Where is this fileICP2017_PAF
                              179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                              180127002use ICP2017_itemdataclist
                              181127003code countrycode using bh_nopa_tempregionlist
                              182127004region using regionlistICP2017_LF_NoPa
                              183127005use bh_nopa_temperase bh_nopa_tempdta
                              184127006countrycode using ICP2017_countrylist
                              185127007countrycode using ICP2017_PAF
                              186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                              225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                              226128002countrycode using ICP2017_Countrylist
                              227128003countrycode code using ICP2017_RegBHPPP
                              228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                              229128005temp_agg
                              230128006countrycode using temp_aggerase temp_aggdta
                              231128007temp_agg (2nd time)
                              232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                              233128009rp `i
                              234128010use rp1refp_stage1
                              235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                              236128012use ICP2017_ref_codescode using temp_ppp
                              237128013countrycode using ICP2017_CountryList
                              238128014countrycode code using ICP2017_RegBHPPP
                              239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                              240128016use rp_basic`itemp_agg (3rd time)
                              241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                              242128018temp agg (4th time)
                              243128019countrycode using temp_aggerase temp_aggdta (4th time)
                              244128020rp `i
                              245128021use rp1refp_stage2
                              246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                              247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                              143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                              144129002Is file used before replaced below`ppp_temp
                              145129003use ICP2017_RegBHPPP`ppp_temp2
                              146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                              147129005countrycode code using ICP2017_Exp
                              148129006countrycode using ICP2017_countrylist
                              149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                              150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                              151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                              152129010countrycode using `ppp_temp3
                              153129011RegionCode using ICP2017_regionalbase
                              154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                              28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                              29130002countrycode using ICP2017_countrylistcalcglobal_geks
                              30130003ppp_temp
                              31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                              32130005countrycode code using ICP2011_Exp
                              33130006countrycode using ICP2017_countrylist
                              34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                              35130008append using ppp_tempppp_temp (2nd time)
                              36130009use ppp_temp
                              37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                              38130011countrycode using ICP2017_countrylist
                              39130012No final file savedcountrycode using calcglobal_geks
                              93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                              94140002countrycode using ICP2017_countrylistcalcglobal_geks
                              95140003tempfile ppp_temp
                              96140004`ppp_temp
                              97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                              98140006countrycode code using ICP2017_Exp
                              99140007countrycode using ICP2017_countrylist
                              100140008RegionCode using ICP2017_Regionalbase
                              101140009append using `ppp_tempsave `ppp_temp
                              102140010use `ppp_tempcountrycode using ICP2017_countrylist
                              103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                              104140012countrycode using ICP2017_countrylist
                              105140013No final file savedcountrycode using calcglobal_geks
                              210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                              211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                              212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                              213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                              214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                              215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                              216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                              217150008RegionCode using ICP2017_regionalbase
                              218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                              132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                              133160002use results_2017countrycode using ICP2017_XR
                              134160003countrycode using ICP2017_POP
                              135160004countrycode using ICP2017_countrylist
                              136160005use ICP2017_CPIcpi_temp
                              137160006use ICP2017_DEFdef_temp
                              138160007countrycode code using cpi_temperase cpi_tempdta
                              139160008countrycode code using def_temperase def_tempdta
                              140160009countrycode using results2011_temperase results2011_tempdta
                              141160010countrycode year using ICP2017_Xrall
                              142160011No final file savedcountrycode year using ICP2017_POPall
                              ProgramSubprogram1Subprogram2
                              100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                              112_icp2011_paf_applicationdo
                              113_icp2011_ReferencePPPsdo
                              120_icp2017_calculationsdo121_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

                              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
                                FilenameSizePackedType12171912420127192920save date
                                DS_store6148178DS_STORE File
                                compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                                fischer_func_createdoupdate12910
                                geks_func_createdoupdate111311
                                icp2011_aggregationdo43601351DO Filenewncncupdate2320
                                icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                                icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                                icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                                icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                                icp2017_aggregationdo46181395DO Filenewncncupdate2320
                                icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                                icp2017_Consistencydo2438831DO Filenewncncupdate2320
                                icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                                icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                                icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                                icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                                icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                                laspeyres_func_createdoupdate12910
                                load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                                load_basic_datado2829802DO Filenewupdatencupdate12420
                                load_listsdo1331487DO Filenewncncupdate12420
                                passche_func_createdoupdate12910
                                process_input_filedo226165DO Filenewncncupdate82819
                                PWT_KL_classificationdtaupdate112719
                                pwt_kl_datadtaupdate12619
                                ReferencePPPsdo76901708DO Filenewncncupdate12420
                                VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                                v2100001compile_aggregate_resultsdo
                                v2100002cd userspath
                                v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                                v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                                v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                                v2100008export excel using $out_file sheet(LF2011)
                                v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                                v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                                v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                                v2100013export excel using $out_file sheet(LF2017)
                                v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                                v2100015results_2011Generate amp export 2011 aggregate results
                                v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                                v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                v2100019results_2017Generate amp export 2017 aggregate results
                                v2100020use ICP2017_Aggregation
                                v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                                v2100024Consistency`x
                                v2100025run GenChartsdo
                                v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                                v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                                v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                                v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                                v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                                v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                                v2110008countrycode using temp_xr
                                v2110009cou using temp_xrICP2011_XR
                                v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                                v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                                v2110014countrycode agg_code using `pg_edu
                                v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                                v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                v2110017RegionCode code using ICP2011_linkingfactors_initial
                                v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                                v2110019RegionCode using `lf_edu
                                v2110020countrycode code using ICP2011_Exp
                                v2110021code using ICP2017_classification
                                v2110022countrycode using ICP2017_countrylist
                                v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                v2110024run ICP2011_paf_calculationdo
                                v2110025run ICP2011_paf_applicationdo
                                v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                v2110027run ICP2011_ReferencePPPsdo
                                v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                v2110029countrycode suing ICP2011_XR
                                v2110030countrycode code using ICP2011_Exp
                                v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                                v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                                v2111003countrycode asset using temperase temp
                                v2111004save pi_temp
                                v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                v2111006temp
                                v2111007countrycode using temperase tempdta
                                v2111008countrycode using ICP2011_POP
                                v2111009countrycode using ICP2017_CountryList
                                v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                                v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                                v2112002countrycode using ICP2017_countrylist
                                v2112003countrycode using ICP2011_PAF
                                v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                                v2113002countrycode using ICP2017_CountryList
                                v2113003countrycode code using ICP2011_RegBHPPP
                                v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                                v2113005use rp_basic `itemp_agg
                                v2113006countrycode using temp_aggerase temp_aggdta
                                v2113007temp_agg (2nd time)
                                v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                v2113009rp `i
                                v2113010use rp1refp_icp2011
                                v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                                v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                                v2120002run process_input_filedoinsert country names on excel line 5
                                v2120003run load_listsdoctryclassaggitemxrcoderefcode
                                v2120004run load_basic_datadoitemregbhpppexpxrpaf
                                v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                                v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                                v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                                v2120008countrycode using ICP2017_countrylist
                                v2120009code using ICP2017_classification
                                v2120010code RegionCode using ICP2017_linkingfactors_rpd
                                v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                                v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                                v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                                v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                                v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                                v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                                v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                v2120021RegionCode code using ICP2017_lf_eduhhc
                                v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                                v2120024countrycode using ICP2017_XR
                                v2120025countrycode code using ICP2017_Exp
                                v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                                v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                                v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                                v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                                v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                v2123003ItemCode using ICP2017_itemlist
                                v2123004countrycode using ICP2017_countrylist
                                v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                                v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                                v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                                v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                                v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                                v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                                v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                                v2124002tempfile reg_nobs
                                v2124003region using regionlist
                                v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                v2125002c using clist
                                v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                                v2125004`elec_ppp
                                v2125005use ICP2017_itemdataclist
                                v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                                v2125007ItemCode using elec_item
                                v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                v2125009saving c1 c2 c3 (3 saving statements)
                                v2125010use c1parm using c2
                                v2125011parm using c3
                                v2125012c using clist`cpd`x
                                v2125013erase c1dta c2dta c3dta (3 erase statements)
                                v2125014use `cpd1501211append using `cpd1501221
                                v2125015append using `cpd1501231
                                v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                                v2125017`construction_`x
                                v2125018use construction_1501211countrycode using `construction_1501221
                                v2125019countrycode using `construction_1501231
                                v2125020countrycode code using ICP2017_RegBHPPP
                                v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                                v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                v2126004`pi_agg
                                v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                                v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                                v2126007`pn_agg
                                v2126008countrycode using `pn_agg
                                v2126009countrycode using ICP2017_Pop
                                v2126010countrycode using ICP2017_Countrylist
                                v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                                v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                                v2127002use ICP2017_itemdataclist
                                v2127003code countrycode using bh_nopa_tempregionlist
                                v2127004region using regionlistICP2017_LF_NoPa
                                v2127005use bh_nopa_temperase bh_nopa_tempdta
                                v2127006countrycode using ICP2017_countrylist
                                v2127007countrycode using ICP2017_PAF
                                v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                                v2128002countrycode using ICP2017_Countrylist
                                v2128003countrycode code using ICP2017_RegBHPPP
                                v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                v2128005temp_agg
                                v2128006countrycode using temp_aggerase temp_aggdta
                                v2128007temp_agg (2nd time)
                                v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                v2128009rp `i
                                v2128010use rp1append using rp`ierase rp`idta
                                v2128011erase rp_basic`idta
                                v2128012refp_stage3
                                v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                v2128014use ICP2017_ref_codescode using temp_ppp
                                v2128015countrycode using ICP2017_Countrylist
                                v2128016countrycode code using ICP2017_RegBHPPP
                                v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                                v2128018use rp_basic`itemp_agg (3rd time)
                                v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                                v2128020temp agg (4th time)
                                v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                                v2128022rp `i
                                v2128023use rp1append using rp`ierase rp`idta
                                v2128024erase rp_basic`idta
                                v2128025refp_stage2
                                v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                                v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                                v2129002`ppp_tempIs file used before replaced below
                                v2129003use ICP2017_RegBHPPP`ppp_temp2
                                v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                v2129005countrycode code using ICP2017_Exp
                                v2129006countrycode using ICP2017_countrylist
                                v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                                v2129008use `ppp_tempappend using `ppp_temp2
                                v2129009countrycode using ICP2017_countrylist`ppp_temp3
                                v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                v2129011countrycode using `ppp_temp3
                                v2129012RegionCode using ICP2017_regionalbase
                                v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                                v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                                v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                v2130004countrycode using ICP2017_countrylist
                                v2130005countrycode using calcglobal_geksNo final file saved
                                v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                                v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                                v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                v2140004countrycode using ICP2017_countrylist
                                v2140005countrycode using calcglobal_geksNo final file saved
                                v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                                v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                                v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                                v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                                v2150007RegionCode using ICP2017_regionalbase
                                v2150008RegionCode using ICP2017_regionalbase
                                v2150009countrycode using results_2011ICPTS_RegBHPPP
                                v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                v2160002use results_2017countrycode using ICP2017_XR
                                v2160003countrycode using ICP2017_POP
                                v2160004countrycode using ICP2017_countrylist
                                v2160005use ICP2017_CPIcpi_temp
                                v2160006use ICP2017_DEFdef_temp
                                v2160007countrycode code using cpi_temp
                                v2160008countrycode code using def_temp
                                v2160009countrycode using results2011_temp
                                v2160010countrycode year using ICP2017_Xrall
                                v2160011countrycode year using ICP2017_POPallNo final file saved
                                alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                                1000000DS_store
                                2100001compile_aggregate_resultsdo
                                3100002cd userspath
                                4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                                5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                                7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                                9100008export excel using $out_file sheet(LF2011)
                                10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                                12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                                13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                                15100014export excel using $out_file sheet(LF2017)
                                16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                                18100017Generate amp export 2011 aggregate resultsresults_2011
                                19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                                20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                22100021Generate amp export 2017 aggregate resultsresults_2017
                                23100022use ICP2017_Aggregation
                                24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                                27100026Consistency`x
                                40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                                42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                                44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                                45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                                46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                47110008RegionaCode using ICP2017_regionalbase
                                48110009countrycode using temp_xr
                                49110010cou using temp_xrICP2011_XR
                                50110011erase temp_xrdta
                                51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                53110014RegionCode code using ICP2011_linkingfactors_initial
                                54110015RegionCode code using ICP2011_housing_linking_factors
                                55110016countrycode code using ICP2011_Exp
                                56110017code using ICP2017_classification
                                57110018countrycode using ICP2017_countrylist
                                58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                                60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                                61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                                63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                64110025countrycode suing ICP2011_XR
                                65110026countrycode code using ICP2011_Exp
                                66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                                72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                                73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                                74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                75111005temp
                                76111006countrycode using temperase tempdta
                                77111007countrycode using ICP2011_POP
                                78111008countrycode using ICP2017_CountryList
                                79111009RegionCode using ICP2017_regionalbase
                                80111010countrycode using ICP2011_XR
                                81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                                67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                                68112002countrycode using ICP2017_countrylist
                                69112003countrycode using ICP2011_PAF
                                70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                                83113002countrycode using ICP2017_CountryList
                                84113003countrycode code using ICP2011_RegBHPPP
                                85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                                86113005use rp_basic `itemp_agg
                                87113006countrycode using temp_aggerase temp_aggdta
                                88113007temp_agg (2nd time)
                                89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                90113009rp `i
                                91113010use rp1refp_icp2011
                                92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                                106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                                107120002insert country names on excel line 5run process_input_filedo
                                108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                                109120004itemregbhpppexpxrpafrun load_basic_datado
                                110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                                111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                                112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                113120008code countrycode using ICP2017_Exp
                                114120009code using ICP2017_classification
                                115120010code RegionCode using ICP2017_linkingfactors_rpd
                                116120011code RegionCode using ICP2017_housing_linking_factors
                                117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                                119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                                120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                                122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                                123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                                125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                126120021RegionCode code using ICP2017_lf_eduhhc
                                127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                129120024countrycode using ICP2017_XR
                                130120025countrycode code using ICP2017_Exp
                                131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                                219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                                222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                                223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                                202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                203123004ItemCode using ICP2017_itemlist
                                204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                                205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                                207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                                208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                                209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                                175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                                176124002tempfile reg_nobs
                                177124003region using regionlist
                                178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                156125002c using clisttempfile elec_ppp
                                157125003`elec_ppp
                                158125004use ICP2017_itemdataclist
                                159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                                160125006ItemCode using elec_item
                                161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                162125008saving c1 c2 c3 (3 saving statements)
                                163125009use c1parm using c2
                                164125010parm using c3
                                165125011c using clist`cpd`x
                                166125012erase c1dta c2dta c3dta (3 erase statements)
                                167125013use `cpd1501211append using `cpd1501221
                                168125014append using `cpd1501231
                                1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                                170125016`construction_`x
                                171125017use construction_1501211countrycode using `construction_1501221
                                172125018countrycode using `construction_1501231
                                173125019countrycode code using ICP2017_RegBHPPP
                                174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                                188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                190126004`pi_agg
                                191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                                192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                                193126007`pn_agg
                                194126008countrycode using `pn_agg
                                195126009countrycode using ICP2017_Pop
                                196126010countrycode using ICP2017_Countrylist
                                197126011RegionCode using ICP2017_regionalbase
                                198126012countrycode using ICP2017_XR
                                199126013Where is this fileICP2017_PAF
                                179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                                180127002use ICP2017_itemdataclist
                                181127003code countrycode using bh_nopa_tempregionlist
                                182127004region using regionlistICP2017_LF_NoPa
                                183127005use bh_nopa_temperase bh_nopa_tempdta
                                184127006countrycode using ICP2017_countrylist
                                185127007countrycode using ICP2017_PAF
                                186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                                226128002countrycode using ICP2017_Countrylist
                                227128003countrycode code using ICP2017_RegBHPPP
                                228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                229128005temp_agg
                                230128006countrycode using temp_aggerase temp_aggdta
                                231128007temp_agg (2nd time)
                                232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                233128009rp `i
                                234128010use rp1refp_stage1
                                235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                236128012use ICP2017_ref_codescode using temp_ppp
                                237128013countrycode using ICP2017_CountryList
                                238128014countrycode code using ICP2017_RegBHPPP
                                239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                                240128016use rp_basic`itemp_agg (3rd time)
                                241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                                242128018temp agg (4th time)
                                243128019countrycode using temp_aggerase temp_aggdta (4th time)
                                244128020rp `i
                                245128021use rp1refp_stage2
                                246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                                143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                                144129002Is file used before replaced below`ppp_temp
                                145129003use ICP2017_RegBHPPP`ppp_temp2
                                146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                147129005countrycode code using ICP2017_Exp
                                148129006countrycode using ICP2017_countrylist
                                149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                                150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                                151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                152129010countrycode using `ppp_temp3
                                153129011RegionCode using ICP2017_regionalbase
                                154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                                29130002countrycode using ICP2017_countrylistcalcglobal_geks
                                30130003ppp_temp
                                31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                                32130005countrycode code using ICP2011_Exp
                                33130006countrycode using ICP2017_countrylist
                                34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                                35130008append using ppp_tempppp_temp (2nd time)
                                36130009use ppp_temp
                                37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                38130011countrycode using ICP2017_countrylist
                                39130012No final file savedcountrycode using calcglobal_geks
                                93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                                94140002countrycode using ICP2017_countrylistcalcglobal_geks
                                95140003tempfile ppp_temp
                                96140004`ppp_temp
                                97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                                98140006countrycode code using ICP2017_Exp
                                99140007countrycode using ICP2017_countrylist
                                100140008RegionCode using ICP2017_Regionalbase
                                101140009append using `ppp_tempsave `ppp_temp
                                102140010use `ppp_tempcountrycode using ICP2017_countrylist
                                103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                104140012countrycode using ICP2017_countrylist
                                105140013No final file savedcountrycode using calcglobal_geks
                                210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                                214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                                215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                                216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                                217150008RegionCode using ICP2017_regionalbase
                                218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                                132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                133160002use results_2017countrycode using ICP2017_XR
                                134160003countrycode using ICP2017_POP
                                135160004countrycode using ICP2017_countrylist
                                136160005use ICP2017_CPIcpi_temp
                                137160006use ICP2017_DEFdef_temp
                                138160007countrycode code using cpi_temperase cpi_tempdta
                                139160008countrycode code using def_temperase def_tempdta
                                140160009countrycode using results2011_temperase results2011_tempdta
                                141160010countrycode year using ICP2017_Xrall
                                142160011No final file savedcountrycode year using ICP2017_POPall
                                ProgramSubprogram1Subprogram2
                                100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                                112_icp2011_paf_applicationdo
                                113_icp2011_ReferencePPPsdo
                                120_icp2017_calculationsdo121_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

                                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
                                  FilenameSizePackedType12171912420127192920save date
                                  DS_store6148178DS_STORE File
                                  compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                                  fischer_func_createdoupdate12910
                                  geks_func_createdoupdate111311
                                  icp2011_aggregationdo43601351DO Filenewncncupdate2320
                                  icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                                  icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                                  icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                                  icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                                  icp2017_aggregationdo46181395DO Filenewncncupdate2320
                                  icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                                  icp2017_Consistencydo2438831DO Filenewncncupdate2320
                                  icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                                  icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                                  icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                                  icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                                  icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                                  laspeyres_func_createdoupdate12910
                                  load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                                  load_basic_datado2829802DO Filenewupdatencupdate12420
                                  load_listsdo1331487DO Filenewncncupdate12420
                                  passche_func_createdoupdate12910
                                  process_input_filedo226165DO Filenewncncupdate82819
                                  PWT_KL_classificationdtaupdate112719
                                  pwt_kl_datadtaupdate12619
                                  ReferencePPPsdo76901708DO Filenewncncupdate12420
                                  VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                                  v2100001compile_aggregate_resultsdo
                                  v2100002cd userspath
                                  v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                                  v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                  v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                                  v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                  v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                                  v2100008export excel using $out_file sheet(LF2011)
                                  v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                  v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                                  v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                                  v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                  v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                                  v2100013export excel using $out_file sheet(LF2017)
                                  v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                  v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                                  v2100015results_2011Generate amp export 2011 aggregate results
                                  v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                                  v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                  v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                  v2100019results_2017Generate amp export 2017 aggregate results
                                  v2100020use ICP2017_Aggregation
                                  v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                  v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                  v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                                  v2100024Consistency`x
                                  v2100025run GenChartsdo
                                  v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                                  v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                                  v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                                  v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                                  v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                                  v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                  v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                                  v2110008countrycode using temp_xr
                                  v2110009cou using temp_xrICP2011_XR
                                  v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                  v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                  v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                                  v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                                  v2110014countrycode agg_code using `pg_edu
                                  v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                                  v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                  v2110017RegionCode code using ICP2011_linkingfactors_initial
                                  v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                                  v2110019RegionCode using `lf_edu
                                  v2110020countrycode code using ICP2011_Exp
                                  v2110021code using ICP2017_classification
                                  v2110022countrycode using ICP2017_countrylist
                                  v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                  v2110024run ICP2011_paf_calculationdo
                                  v2110025run ICP2011_paf_applicationdo
                                  v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                  v2110027run ICP2011_ReferencePPPsdo
                                  v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                  v2110029countrycode suing ICP2011_XR
                                  v2110030countrycode code using ICP2011_Exp
                                  v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                  v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                                  v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                                  v2111003countrycode asset using temperase temp
                                  v2111004save pi_temp
                                  v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                  v2111006temp
                                  v2111007countrycode using temperase tempdta
                                  v2111008countrycode using ICP2011_POP
                                  v2111009countrycode using ICP2017_CountryList
                                  v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                                  v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                                  v2112002countrycode using ICP2017_countrylist
                                  v2112003countrycode using ICP2011_PAF
                                  v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                  v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                                  v2113002countrycode using ICP2017_CountryList
                                  v2113003countrycode code using ICP2011_RegBHPPP
                                  v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                                  v2113005use rp_basic `itemp_agg
                                  v2113006countrycode using temp_aggerase temp_aggdta
                                  v2113007temp_agg (2nd time)
                                  v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                  v2113009rp `i
                                  v2113010use rp1refp_icp2011
                                  v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                                  v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                                  v2120002run process_input_filedoinsert country names on excel line 5
                                  v2120003run load_listsdoctryclassaggitemxrcoderefcode
                                  v2120004run load_basic_datadoitemregbhpppexpxrpaf
                                  v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                                  v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                                  v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                                  v2120008countrycode using ICP2017_countrylist
                                  v2120009code using ICP2017_classification
                                  v2120010code RegionCode using ICP2017_linkingfactors_rpd
                                  v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                                  v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                  v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                                  v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                                  v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                  v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                                  v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                                  v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                  v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                                  v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                  v2120021RegionCode code using ICP2017_lf_eduhhc
                                  v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                  v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                                  v2120024countrycode using ICP2017_XR
                                  v2120025countrycode code using ICP2017_Exp
                                  v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                  v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                                  v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                  v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                  v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                                  v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                                  v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                  v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                                  v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                  v2123003ItemCode using ICP2017_itemlist
                                  v2123004countrycode using ICP2017_countrylist
                                  v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                                  v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                                  v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                                  v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                                  v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                                  v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                                  v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                                  v2124002tempfile reg_nobs
                                  v2124003region using regionlist
                                  v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                  v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                  v2125002c using clist
                                  v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                                  v2125004`elec_ppp
                                  v2125005use ICP2017_itemdataclist
                                  v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                                  v2125007ItemCode using elec_item
                                  v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                  v2125009saving c1 c2 c3 (3 saving statements)
                                  v2125010use c1parm using c2
                                  v2125011parm using c3
                                  v2125012c using clist`cpd`x
                                  v2125013erase c1dta c2dta c3dta (3 erase statements)
                                  v2125014use `cpd1501211append using `cpd1501221
                                  v2125015append using `cpd1501231
                                  v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                                  v2125017`construction_`x
                                  v2125018use construction_1501211countrycode using `construction_1501221
                                  v2125019countrycode using `construction_1501231
                                  v2125020countrycode code using ICP2017_RegBHPPP
                                  v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                  v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                                  v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                  v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                  v2126004`pi_agg
                                  v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                                  v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                                  v2126007`pn_agg
                                  v2126008countrycode using `pn_agg
                                  v2126009countrycode using ICP2017_Pop
                                  v2126010countrycode using ICP2017_Countrylist
                                  v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                                  v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                                  v2127002use ICP2017_itemdataclist
                                  v2127003code countrycode using bh_nopa_tempregionlist
                                  v2127004region using regionlistICP2017_LF_NoPa
                                  v2127005use bh_nopa_temperase bh_nopa_tempdta
                                  v2127006countrycode using ICP2017_countrylist
                                  v2127007countrycode using ICP2017_PAF
                                  v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                  v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                                  v2128002countrycode using ICP2017_Countrylist
                                  v2128003countrycode code using ICP2017_RegBHPPP
                                  v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                  v2128005temp_agg
                                  v2128006countrycode using temp_aggerase temp_aggdta
                                  v2128007temp_agg (2nd time)
                                  v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                  v2128009rp `i
                                  v2128010use rp1append using rp`ierase rp`idta
                                  v2128011erase rp_basic`idta
                                  v2128012refp_stage3
                                  v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                  v2128014use ICP2017_ref_codescode using temp_ppp
                                  v2128015countrycode using ICP2017_Countrylist
                                  v2128016countrycode code using ICP2017_RegBHPPP
                                  v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                                  v2128018use rp_basic`itemp_agg (3rd time)
                                  v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                                  v2128020temp agg (4th time)
                                  v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                                  v2128022rp `i
                                  v2128023use rp1append using rp`ierase rp`idta
                                  v2128024erase rp_basic`idta
                                  v2128025refp_stage2
                                  v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                  v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                                  v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                                  v2129002`ppp_tempIs file used before replaced below
                                  v2129003use ICP2017_RegBHPPP`ppp_temp2
                                  v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                  v2129005countrycode code using ICP2017_Exp
                                  v2129006countrycode using ICP2017_countrylist
                                  v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                                  v2129008use `ppp_tempappend using `ppp_temp2
                                  v2129009countrycode using ICP2017_countrylist`ppp_temp3
                                  v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                  v2129011countrycode using `ppp_temp3
                                  v2129012RegionCode using ICP2017_regionalbase
                                  v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                  v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                                  v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                                  v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                  v2130004countrycode using ICP2017_countrylist
                                  v2130005countrycode using calcglobal_geksNo final file saved
                                  v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                                  v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                                  v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                  v2140004countrycode using ICP2017_countrylist
                                  v2140005countrycode using calcglobal_geksNo final file saved
                                  v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                  v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                  v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                                  v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                                  v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                                  v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                                  v2150007RegionCode using ICP2017_regionalbase
                                  v2150008RegionCode using ICP2017_regionalbase
                                  v2150009countrycode using results_2011ICPTS_RegBHPPP
                                  v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                  v2160002use results_2017countrycode using ICP2017_XR
                                  v2160003countrycode using ICP2017_POP
                                  v2160004countrycode using ICP2017_countrylist
                                  v2160005use ICP2017_CPIcpi_temp
                                  v2160006use ICP2017_DEFdef_temp
                                  v2160007countrycode code using cpi_temp
                                  v2160008countrycode code using def_temp
                                  v2160009countrycode using results2011_temp
                                  v2160010countrycode year using ICP2017_Xrall
                                  v2160011countrycode year using ICP2017_POPallNo final file saved
                                  alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                                  1000000DS_store
                                  2100001compile_aggregate_resultsdo
                                  3100002cd userspath
                                  4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                                  5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                  6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                                  7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                  8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                                  9100008export excel using $out_file sheet(LF2011)
                                  10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                  11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                                  12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                                  13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                  14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                                  15100014export excel using $out_file sheet(LF2017)
                                  16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                  17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                                  18100017Generate amp export 2011 aggregate resultsresults_2011
                                  19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                                  20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                  21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                  22100021Generate amp export 2017 aggregate resultsresults_2017
                                  23100022use ICP2017_Aggregation
                                  24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                  25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                  26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                                  27100026Consistency`x
                                  40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                  41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                                  42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                  43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                                  44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                                  45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                                  46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                  47110008RegionaCode using ICP2017_regionalbase
                                  48110009countrycode using temp_xr
                                  49110010cou using temp_xrICP2011_XR
                                  50110011erase temp_xrdta
                                  51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                  52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                  53110014RegionCode code using ICP2011_linkingfactors_initial
                                  54110015RegionCode code using ICP2011_housing_linking_factors
                                  55110016countrycode code using ICP2011_Exp
                                  56110017code using ICP2017_classification
                                  57110018countrycode using ICP2017_countrylist
                                  58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                  59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                                  60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                                  61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                  62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                                  63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                  64110025countrycode suing ICP2011_XR
                                  65110026countrycode code using ICP2011_Exp
                                  66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                  71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                                  72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                                  73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                                  74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                  75111005temp
                                  76111006countrycode using temperase tempdta
                                  77111007countrycode using ICP2011_POP
                                  78111008countrycode using ICP2017_CountryList
                                  79111009RegionCode using ICP2017_regionalbase
                                  80111010countrycode using ICP2011_XR
                                  81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                                  67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                                  68112002countrycode using ICP2017_countrylist
                                  69112003countrycode using ICP2011_PAF
                                  70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                  82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                                  83113002countrycode using ICP2017_CountryList
                                  84113003countrycode code using ICP2011_RegBHPPP
                                  85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                                  86113005use rp_basic `itemp_agg
                                  87113006countrycode using temp_aggerase temp_aggdta
                                  88113007temp_agg (2nd time)
                                  89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                  90113009rp `i
                                  91113010use rp1refp_icp2011
                                  92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                                  106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                                  107120002insert country names on excel line 5run process_input_filedo
                                  108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                                  109120004itemregbhpppexpxrpafrun load_basic_datado
                                  110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                                  111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                                  112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                  113120008code countrycode using ICP2017_Exp
                                  114120009code using ICP2017_classification
                                  115120010code RegionCode using ICP2017_linkingfactors_rpd
                                  116120011code RegionCode using ICP2017_housing_linking_factors
                                  117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                  118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                                  119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                                  120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                  121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                                  122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                                  123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                  124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                                  125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                  126120021RegionCode code using ICP2017_lf_eduhhc
                                  127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                  128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                  129120024countrycode using ICP2017_XR
                                  130120025countrycode code using ICP2017_Exp
                                  131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                  224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                                  219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                  220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                  221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                                  222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                                  223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                  200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                  201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                                  202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                  203123004ItemCode using ICP2017_itemlist
                                  204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                                  205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                  206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                                  207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                                  208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                                  209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                                  175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                                  176124002tempfile reg_nobs
                                  177124003region using regionlist
                                  178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                  155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                  156125002c using clisttempfile elec_ppp
                                  157125003`elec_ppp
                                  158125004use ICP2017_itemdataclist
                                  159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                                  160125006ItemCode using elec_item
                                  161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                  162125008saving c1 c2 c3 (3 saving statements)
                                  163125009use c1parm using c2
                                  164125010parm using c3
                                  165125011c using clist`cpd`x
                                  166125012erase c1dta c2dta c3dta (3 erase statements)
                                  167125013use `cpd1501211append using `cpd1501221
                                  168125014append using `cpd1501231
                                  1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                                  170125016`construction_`x
                                  171125017use construction_1501211countrycode using `construction_1501221
                                  172125018countrycode using `construction_1501231
                                  173125019countrycode code using ICP2017_RegBHPPP
                                  174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                  187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                                  188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                  189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                  190126004`pi_agg
                                  191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                                  192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                                  193126007`pn_agg
                                  194126008countrycode using `pn_agg
                                  195126009countrycode using ICP2017_Pop
                                  196126010countrycode using ICP2017_Countrylist
                                  197126011RegionCode using ICP2017_regionalbase
                                  198126012countrycode using ICP2017_XR
                                  199126013Where is this fileICP2017_PAF
                                  179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                                  180127002use ICP2017_itemdataclist
                                  181127003code countrycode using bh_nopa_tempregionlist
                                  182127004region using regionlistICP2017_LF_NoPa
                                  183127005use bh_nopa_temperase bh_nopa_tempdta
                                  184127006countrycode using ICP2017_countrylist
                                  185127007countrycode using ICP2017_PAF
                                  186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                  225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                                  226128002countrycode using ICP2017_Countrylist
                                  227128003countrycode code using ICP2017_RegBHPPP
                                  228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                  229128005temp_agg
                                  230128006countrycode using temp_aggerase temp_aggdta
                                  231128007temp_agg (2nd time)
                                  232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                  233128009rp `i
                                  234128010use rp1refp_stage1
                                  235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                  236128012use ICP2017_ref_codescode using temp_ppp
                                  237128013countrycode using ICP2017_CountryList
                                  238128014countrycode code using ICP2017_RegBHPPP
                                  239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                                  240128016use rp_basic`itemp_agg (3rd time)
                                  241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                                  242128018temp agg (4th time)
                                  243128019countrycode using temp_aggerase temp_aggdta (4th time)
                                  244128020rp `i
                                  245128021use rp1refp_stage2
                                  246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                  247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                                  143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                                  144129002Is file used before replaced below`ppp_temp
                                  145129003use ICP2017_RegBHPPP`ppp_temp2
                                  146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                  147129005countrycode code using ICP2017_Exp
                                  148129006countrycode using ICP2017_countrylist
                                  149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                                  150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                                  151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                  152129010countrycode using `ppp_temp3
                                  153129011RegionCode using ICP2017_regionalbase
                                  154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                  28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                                  29130002countrycode using ICP2017_countrylistcalcglobal_geks
                                  30130003ppp_temp
                                  31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                                  32130005countrycode code using ICP2011_Exp
                                  33130006countrycode using ICP2017_countrylist
                                  34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                                  35130008append using ppp_tempppp_temp (2nd time)
                                  36130009use ppp_temp
                                  37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                  38130011countrycode using ICP2017_countrylist
                                  39130012No final file savedcountrycode using calcglobal_geks
                                  93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                                  94140002countrycode using ICP2017_countrylistcalcglobal_geks
                                  95140003tempfile ppp_temp
                                  96140004`ppp_temp
                                  97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                                  98140006countrycode code using ICP2017_Exp
                                  99140007countrycode using ICP2017_countrylist
                                  100140008RegionCode using ICP2017_Regionalbase
                                  101140009append using `ppp_tempsave `ppp_temp
                                  102140010use `ppp_tempcountrycode using ICP2017_countrylist
                                  103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                  104140012countrycode using ICP2017_countrylist
                                  105140013No final file savedcountrycode using calcglobal_geks
                                  210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                  211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                  212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                  213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                                  214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                                  215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                                  216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                                  217150008RegionCode using ICP2017_regionalbase
                                  218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                                  132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                  133160002use results_2017countrycode using ICP2017_XR
                                  134160003countrycode using ICP2017_POP
                                  135160004countrycode using ICP2017_countrylist
                                  136160005use ICP2017_CPIcpi_temp
                                  137160006use ICP2017_DEFdef_temp
                                  138160007countrycode code using cpi_temperase cpi_tempdta
                                  139160008countrycode code using def_temperase def_tempdta
                                  140160009countrycode using results2011_temperase results2011_tempdta
                                  141160010countrycode year using ICP2017_Xrall
                                  142160011No final file savedcountrycode year using ICP2017_POPall
                                  ProgramSubprogram1Subprogram2
                                  100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                                  112_icp2011_paf_applicationdo
                                  113_icp2011_ReferencePPPsdo
                                  120_icp2017_calculationsdo121_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

                                  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
                                    FilenameSizePackedType12171912420127192920save date
                                    DS_store6148178DS_STORE File
                                    compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                                    fischer_func_createdoupdate12910
                                    geks_func_createdoupdate111311
                                    icp2011_aggregationdo43601351DO Filenewncncupdate2320
                                    icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                                    icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                                    icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                                    icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                                    icp2017_aggregationdo46181395DO Filenewncncupdate2320
                                    icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                                    icp2017_Consistencydo2438831DO Filenewncncupdate2320
                                    icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                                    icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                                    icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                                    icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                                    icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                                    laspeyres_func_createdoupdate12910
                                    load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                                    load_basic_datado2829802DO Filenewupdatencupdate12420
                                    load_listsdo1331487DO Filenewncncupdate12420
                                    passche_func_createdoupdate12910
                                    process_input_filedo226165DO Filenewncncupdate82819
                                    PWT_KL_classificationdtaupdate112719
                                    pwt_kl_datadtaupdate12619
                                    ReferencePPPsdo76901708DO Filenewncncupdate12420
                                    VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                                    v2100001compile_aggregate_resultsdo
                                    v2100002cd userspath
                                    v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                                    v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                    v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                                    v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                    v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                                    v2100008export excel using $out_file sheet(LF2011)
                                    v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                    v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                                    v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                                    v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                    v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                                    v2100013export excel using $out_file sheet(LF2017)
                                    v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                    v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                                    v2100015results_2011Generate amp export 2011 aggregate results
                                    v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                                    v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                    v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                    v2100019results_2017Generate amp export 2017 aggregate results
                                    v2100020use ICP2017_Aggregation
                                    v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                    v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                    v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                                    v2100024Consistency`x
                                    v2100025run GenChartsdo
                                    v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                                    v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                                    v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                                    v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                                    v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                                    v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                    v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                                    v2110008countrycode using temp_xr
                                    v2110009cou using temp_xrICP2011_XR
                                    v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                    v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                    v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                                    v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                                    v2110014countrycode agg_code using `pg_edu
                                    v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                                    v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                    v2110017RegionCode code using ICP2011_linkingfactors_initial
                                    v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                                    v2110019RegionCode using `lf_edu
                                    v2110020countrycode code using ICP2011_Exp
                                    v2110021code using ICP2017_classification
                                    v2110022countrycode using ICP2017_countrylist
                                    v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                    v2110024run ICP2011_paf_calculationdo
                                    v2110025run ICP2011_paf_applicationdo
                                    v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                    v2110027run ICP2011_ReferencePPPsdo
                                    v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                    v2110029countrycode suing ICP2011_XR
                                    v2110030countrycode code using ICP2011_Exp
                                    v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                    v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                                    v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                                    v2111003countrycode asset using temperase temp
                                    v2111004save pi_temp
                                    v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                    v2111006temp
                                    v2111007countrycode using temperase tempdta
                                    v2111008countrycode using ICP2011_POP
                                    v2111009countrycode using ICP2017_CountryList
                                    v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                                    v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                                    v2112002countrycode using ICP2017_countrylist
                                    v2112003countrycode using ICP2011_PAF
                                    v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                    v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                                    v2113002countrycode using ICP2017_CountryList
                                    v2113003countrycode code using ICP2011_RegBHPPP
                                    v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                                    v2113005use rp_basic `itemp_agg
                                    v2113006countrycode using temp_aggerase temp_aggdta
                                    v2113007temp_agg (2nd time)
                                    v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                    v2113009rp `i
                                    v2113010use rp1refp_icp2011
                                    v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                                    v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                                    v2120002run process_input_filedoinsert country names on excel line 5
                                    v2120003run load_listsdoctryclassaggitemxrcoderefcode
                                    v2120004run load_basic_datadoitemregbhpppexpxrpaf
                                    v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                                    v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                                    v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                                    v2120008countrycode using ICP2017_countrylist
                                    v2120009code using ICP2017_classification
                                    v2120010code RegionCode using ICP2017_linkingfactors_rpd
                                    v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                                    v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                    v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                                    v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                                    v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                    v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                                    v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                                    v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                    v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                                    v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                    v2120021RegionCode code using ICP2017_lf_eduhhc
                                    v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                    v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                                    v2120024countrycode using ICP2017_XR
                                    v2120025countrycode code using ICP2017_Exp
                                    v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                    v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                                    v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                    v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                    v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                                    v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                                    v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                    v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                                    v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                    v2123003ItemCode using ICP2017_itemlist
                                    v2123004countrycode using ICP2017_countrylist
                                    v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                                    v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                                    v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                                    v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                                    v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                                    v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                                    v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                                    v2124002tempfile reg_nobs
                                    v2124003region using regionlist
                                    v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                    v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                    v2125002c using clist
                                    v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                                    v2125004`elec_ppp
                                    v2125005use ICP2017_itemdataclist
                                    v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                                    v2125007ItemCode using elec_item
                                    v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                    v2125009saving c1 c2 c3 (3 saving statements)
                                    v2125010use c1parm using c2
                                    v2125011parm using c3
                                    v2125012c using clist`cpd`x
                                    v2125013erase c1dta c2dta c3dta (3 erase statements)
                                    v2125014use `cpd1501211append using `cpd1501221
                                    v2125015append using `cpd1501231
                                    v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                                    v2125017`construction_`x
                                    v2125018use construction_1501211countrycode using `construction_1501221
                                    v2125019countrycode using `construction_1501231
                                    v2125020countrycode code using ICP2017_RegBHPPP
                                    v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                    v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                                    v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                    v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                    v2126004`pi_agg
                                    v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                                    v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                                    v2126007`pn_agg
                                    v2126008countrycode using `pn_agg
                                    v2126009countrycode using ICP2017_Pop
                                    v2126010countrycode using ICP2017_Countrylist
                                    v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                                    v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                                    v2127002use ICP2017_itemdataclist
                                    v2127003code countrycode using bh_nopa_tempregionlist
                                    v2127004region using regionlistICP2017_LF_NoPa
                                    v2127005use bh_nopa_temperase bh_nopa_tempdta
                                    v2127006countrycode using ICP2017_countrylist
                                    v2127007countrycode using ICP2017_PAF
                                    v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                    v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                                    v2128002countrycode using ICP2017_Countrylist
                                    v2128003countrycode code using ICP2017_RegBHPPP
                                    v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                    v2128005temp_agg
                                    v2128006countrycode using temp_aggerase temp_aggdta
                                    v2128007temp_agg (2nd time)
                                    v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                    v2128009rp `i
                                    v2128010use rp1append using rp`ierase rp`idta
                                    v2128011erase rp_basic`idta
                                    v2128012refp_stage3
                                    v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                    v2128014use ICP2017_ref_codescode using temp_ppp
                                    v2128015countrycode using ICP2017_Countrylist
                                    v2128016countrycode code using ICP2017_RegBHPPP
                                    v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                                    v2128018use rp_basic`itemp_agg (3rd time)
                                    v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                                    v2128020temp agg (4th time)
                                    v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                                    v2128022rp `i
                                    v2128023use rp1append using rp`ierase rp`idta
                                    v2128024erase rp_basic`idta
                                    v2128025refp_stage2
                                    v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                    v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                                    v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                                    v2129002`ppp_tempIs file used before replaced below
                                    v2129003use ICP2017_RegBHPPP`ppp_temp2
                                    v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                    v2129005countrycode code using ICP2017_Exp
                                    v2129006countrycode using ICP2017_countrylist
                                    v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                                    v2129008use `ppp_tempappend using `ppp_temp2
                                    v2129009countrycode using ICP2017_countrylist`ppp_temp3
                                    v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                    v2129011countrycode using `ppp_temp3
                                    v2129012RegionCode using ICP2017_regionalbase
                                    v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                    v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                                    v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                                    v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                    v2130004countrycode using ICP2017_countrylist
                                    v2130005countrycode using calcglobal_geksNo final file saved
                                    v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                                    v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                                    v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                    v2140004countrycode using ICP2017_countrylist
                                    v2140005countrycode using calcglobal_geksNo final file saved
                                    v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                    v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                    v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                                    v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                                    v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                                    v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                                    v2150007RegionCode using ICP2017_regionalbase
                                    v2150008RegionCode using ICP2017_regionalbase
                                    v2150009countrycode using results_2011ICPTS_RegBHPPP
                                    v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                    v2160002use results_2017countrycode using ICP2017_XR
                                    v2160003countrycode using ICP2017_POP
                                    v2160004countrycode using ICP2017_countrylist
                                    v2160005use ICP2017_CPIcpi_temp
                                    v2160006use ICP2017_DEFdef_temp
                                    v2160007countrycode code using cpi_temp
                                    v2160008countrycode code using def_temp
                                    v2160009countrycode using results2011_temp
                                    v2160010countrycode year using ICP2017_Xrall
                                    v2160011countrycode year using ICP2017_POPallNo final file saved
                                    alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                                    1000000DS_store
                                    2100001compile_aggregate_resultsdo
                                    3100002cd userspath
                                    4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                                    5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                    6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                                    7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                    8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                                    9100008export excel using $out_file sheet(LF2011)
                                    10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                    11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                                    12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                                    13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                    14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                                    15100014export excel using $out_file sheet(LF2017)
                                    16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                    17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                                    18100017Generate amp export 2011 aggregate resultsresults_2011
                                    19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                                    20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                    21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                    22100021Generate amp export 2017 aggregate resultsresults_2017
                                    23100022use ICP2017_Aggregation
                                    24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                    25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                    26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                                    27100026Consistency`x
                                    40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                    41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                                    42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                    43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                                    44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                                    45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                                    46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                    47110008RegionaCode using ICP2017_regionalbase
                                    48110009countrycode using temp_xr
                                    49110010cou using temp_xrICP2011_XR
                                    50110011erase temp_xrdta
                                    51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                    52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                    53110014RegionCode code using ICP2011_linkingfactors_initial
                                    54110015RegionCode code using ICP2011_housing_linking_factors
                                    55110016countrycode code using ICP2011_Exp
                                    56110017code using ICP2017_classification
                                    57110018countrycode using ICP2017_countrylist
                                    58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                    59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                                    60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                                    61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                    62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                                    63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                    64110025countrycode suing ICP2011_XR
                                    65110026countrycode code using ICP2011_Exp
                                    66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                    71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                                    72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                                    73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                                    74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                    75111005temp
                                    76111006countrycode using temperase tempdta
                                    77111007countrycode using ICP2011_POP
                                    78111008countrycode using ICP2017_CountryList
                                    79111009RegionCode using ICP2017_regionalbase
                                    80111010countrycode using ICP2011_XR
                                    81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                                    67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                                    68112002countrycode using ICP2017_countrylist
                                    69112003countrycode using ICP2011_PAF
                                    70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                    82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                                    83113002countrycode using ICP2017_CountryList
                                    84113003countrycode code using ICP2011_RegBHPPP
                                    85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                                    86113005use rp_basic `itemp_agg
                                    87113006countrycode using temp_aggerase temp_aggdta
                                    88113007temp_agg (2nd time)
                                    89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                    90113009rp `i
                                    91113010use rp1refp_icp2011
                                    92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                                    106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                                    107120002insert country names on excel line 5run process_input_filedo
                                    108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                                    109120004itemregbhpppexpxrpafrun load_basic_datado
                                    110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                                    111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                                    112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                    113120008code countrycode using ICP2017_Exp
                                    114120009code using ICP2017_classification
                                    115120010code RegionCode using ICP2017_linkingfactors_rpd
                                    116120011code RegionCode using ICP2017_housing_linking_factors
                                    117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                    118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                                    119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                                    120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                    121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                                    122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                                    123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                    124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                                    125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                    126120021RegionCode code using ICP2017_lf_eduhhc
                                    127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                    128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                    129120024countrycode using ICP2017_XR
                                    130120025countrycode code using ICP2017_Exp
                                    131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                    224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                                    219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                    220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                    221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                                    222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                                    223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                    200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                    201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                                    202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                    203123004ItemCode using ICP2017_itemlist
                                    204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                                    205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                    206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                                    207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                                    208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                                    209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                                    175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                                    176124002tempfile reg_nobs
                                    177124003region using regionlist
                                    178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                    155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                    156125002c using clisttempfile elec_ppp
                                    157125003`elec_ppp
                                    158125004use ICP2017_itemdataclist
                                    159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                                    160125006ItemCode using elec_item
                                    161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                    162125008saving c1 c2 c3 (3 saving statements)
                                    163125009use c1parm using c2
                                    164125010parm using c3
                                    165125011c using clist`cpd`x
                                    166125012erase c1dta c2dta c3dta (3 erase statements)
                                    167125013use `cpd1501211append using `cpd1501221
                                    168125014append using `cpd1501231
                                    1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                                    170125016`construction_`x
                                    171125017use construction_1501211countrycode using `construction_1501221
                                    172125018countrycode using `construction_1501231
                                    173125019countrycode code using ICP2017_RegBHPPP
                                    174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                    187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                                    188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                    189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                    190126004`pi_agg
                                    191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                                    192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                                    193126007`pn_agg
                                    194126008countrycode using `pn_agg
                                    195126009countrycode using ICP2017_Pop
                                    196126010countrycode using ICP2017_Countrylist
                                    197126011RegionCode using ICP2017_regionalbase
                                    198126012countrycode using ICP2017_XR
                                    199126013Where is this fileICP2017_PAF
                                    179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                                    180127002use ICP2017_itemdataclist
                                    181127003code countrycode using bh_nopa_tempregionlist
                                    182127004region using regionlistICP2017_LF_NoPa
                                    183127005use bh_nopa_temperase bh_nopa_tempdta
                                    184127006countrycode using ICP2017_countrylist
                                    185127007countrycode using ICP2017_PAF
                                    186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                    225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                                    226128002countrycode using ICP2017_Countrylist
                                    227128003countrycode code using ICP2017_RegBHPPP
                                    228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                    229128005temp_agg
                                    230128006countrycode using temp_aggerase temp_aggdta
                                    231128007temp_agg (2nd time)
                                    232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                    233128009rp `i
                                    234128010use rp1refp_stage1
                                    235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                    236128012use ICP2017_ref_codescode using temp_ppp
                                    237128013countrycode using ICP2017_CountryList
                                    238128014countrycode code using ICP2017_RegBHPPP
                                    239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                                    240128016use rp_basic`itemp_agg (3rd time)
                                    241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                                    242128018temp agg (4th time)
                                    243128019countrycode using temp_aggerase temp_aggdta (4th time)
                                    244128020rp `i
                                    245128021use rp1refp_stage2
                                    246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                    247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                                    143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                                    144129002Is file used before replaced below`ppp_temp
                                    145129003use ICP2017_RegBHPPP`ppp_temp2
                                    146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                    147129005countrycode code using ICP2017_Exp
                                    148129006countrycode using ICP2017_countrylist
                                    149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                                    150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                                    151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                    152129010countrycode using `ppp_temp3
                                    153129011RegionCode using ICP2017_regionalbase
                                    154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                    28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                                    29130002countrycode using ICP2017_countrylistcalcglobal_geks
                                    30130003ppp_temp
                                    31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                                    32130005countrycode code using ICP2011_Exp
                                    33130006countrycode using ICP2017_countrylist
                                    34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                                    35130008append using ppp_tempppp_temp (2nd time)
                                    36130009use ppp_temp
                                    37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                    38130011countrycode using ICP2017_countrylist
                                    39130012No final file savedcountrycode using calcglobal_geks
                                    93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                                    94140002countrycode using ICP2017_countrylistcalcglobal_geks
                                    95140003tempfile ppp_temp
                                    96140004`ppp_temp
                                    97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                                    98140006countrycode code using ICP2017_Exp
                                    99140007countrycode using ICP2017_countrylist
                                    100140008RegionCode using ICP2017_Regionalbase
                                    101140009append using `ppp_tempsave `ppp_temp
                                    102140010use `ppp_tempcountrycode using ICP2017_countrylist
                                    103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                    104140012countrycode using ICP2017_countrylist
                                    105140013No final file savedcountrycode using calcglobal_geks
                                    210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                    211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                    212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                    213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                                    214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                                    215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                                    216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                                    217150008RegionCode using ICP2017_regionalbase
                                    218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                                    132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                    133160002use results_2017countrycode using ICP2017_XR
                                    134160003countrycode using ICP2017_POP
                                    135160004countrycode using ICP2017_countrylist
                                    136160005use ICP2017_CPIcpi_temp
                                    137160006use ICP2017_DEFdef_temp
                                    138160007countrycode code using cpi_temperase cpi_tempdta
                                    139160008countrycode code using def_temperase def_tempdta
                                    140160009countrycode using results2011_temperase results2011_tempdta
                                    141160010countrycode year using ICP2017_Xrall
                                    142160011No final file savedcountrycode year using ICP2017_POPall
                                    ProgramSubprogram1Subprogram2
                                    100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                                    112_icp2011_paf_applicationdo
                                    113_icp2011_ReferencePPPsdo
                                    120_icp2017_calculationsdo121_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

                                    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
                                      FilenameSizePackedType12171912420127192920save date
                                      DS_store6148178DS_STORE File
                                      compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                                      fischer_func_createdoupdate12910
                                      geks_func_createdoupdate111311
                                      icp2011_aggregationdo43601351DO Filenewncncupdate2320
                                      icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                                      icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                                      icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                                      icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                                      icp2017_aggregationdo46181395DO Filenewncncupdate2320
                                      icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                                      icp2017_Consistencydo2438831DO Filenewncncupdate2320
                                      icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                                      icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                                      icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                                      icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                                      icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                                      laspeyres_func_createdoupdate12910
                                      load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                                      load_basic_datado2829802DO Filenewupdatencupdate12420
                                      load_listsdo1331487DO Filenewncncupdate12420
                                      passche_func_createdoupdate12910
                                      process_input_filedo226165DO Filenewncncupdate82819
                                      PWT_KL_classificationdtaupdate112719
                                      pwt_kl_datadtaupdate12619
                                      ReferencePPPsdo76901708DO Filenewncncupdate12420
                                      VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                                      v2100001compile_aggregate_resultsdo
                                      v2100002cd userspath
                                      v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                                      v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                      v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                                      v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                      v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                                      v2100008export excel using $out_file sheet(LF2011)
                                      v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                      v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                                      v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                                      v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                      v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                                      v2100013export excel using $out_file sheet(LF2017)
                                      v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                      v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                                      v2100015results_2011Generate amp export 2011 aggregate results
                                      v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                                      v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                      v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                      v2100019results_2017Generate amp export 2017 aggregate results
                                      v2100020use ICP2017_Aggregation
                                      v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                      v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                      v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                                      v2100024Consistency`x
                                      v2100025run GenChartsdo
                                      v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                                      v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                                      v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                                      v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                                      v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                                      v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                      v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                                      v2110008countrycode using temp_xr
                                      v2110009cou using temp_xrICP2011_XR
                                      v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                      v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                      v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                                      v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                                      v2110014countrycode agg_code using `pg_edu
                                      v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                                      v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                      v2110017RegionCode code using ICP2011_linkingfactors_initial
                                      v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                                      v2110019RegionCode using `lf_edu
                                      v2110020countrycode code using ICP2011_Exp
                                      v2110021code using ICP2017_classification
                                      v2110022countrycode using ICP2017_countrylist
                                      v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                      v2110024run ICP2011_paf_calculationdo
                                      v2110025run ICP2011_paf_applicationdo
                                      v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                      v2110027run ICP2011_ReferencePPPsdo
                                      v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                      v2110029countrycode suing ICP2011_XR
                                      v2110030countrycode code using ICP2011_Exp
                                      v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                      v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                                      v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                                      v2111003countrycode asset using temperase temp
                                      v2111004save pi_temp
                                      v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                      v2111006temp
                                      v2111007countrycode using temperase tempdta
                                      v2111008countrycode using ICP2011_POP
                                      v2111009countrycode using ICP2017_CountryList
                                      v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                                      v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                                      v2112002countrycode using ICP2017_countrylist
                                      v2112003countrycode using ICP2011_PAF
                                      v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                      v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                                      v2113002countrycode using ICP2017_CountryList
                                      v2113003countrycode code using ICP2011_RegBHPPP
                                      v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                                      v2113005use rp_basic `itemp_agg
                                      v2113006countrycode using temp_aggerase temp_aggdta
                                      v2113007temp_agg (2nd time)
                                      v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                      v2113009rp `i
                                      v2113010use rp1refp_icp2011
                                      v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                                      v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                                      v2120002run process_input_filedoinsert country names on excel line 5
                                      v2120003run load_listsdoctryclassaggitemxrcoderefcode
                                      v2120004run load_basic_datadoitemregbhpppexpxrpaf
                                      v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                                      v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                                      v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                                      v2120008countrycode using ICP2017_countrylist
                                      v2120009code using ICP2017_classification
                                      v2120010code RegionCode using ICP2017_linkingfactors_rpd
                                      v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                                      v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                      v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                                      v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                                      v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                      v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                                      v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                                      v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                      v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                                      v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                      v2120021RegionCode code using ICP2017_lf_eduhhc
                                      v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                      v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                                      v2120024countrycode using ICP2017_XR
                                      v2120025countrycode code using ICP2017_Exp
                                      v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                      v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                                      v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                      v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                      v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                                      v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                                      v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                      v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                                      v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                      v2123003ItemCode using ICP2017_itemlist
                                      v2123004countrycode using ICP2017_countrylist
                                      v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                                      v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                                      v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                                      v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                                      v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                                      v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                                      v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                                      v2124002tempfile reg_nobs
                                      v2124003region using regionlist
                                      v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                      v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                      v2125002c using clist
                                      v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                                      v2125004`elec_ppp
                                      v2125005use ICP2017_itemdataclist
                                      v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                                      v2125007ItemCode using elec_item
                                      v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                      v2125009saving c1 c2 c3 (3 saving statements)
                                      v2125010use c1parm using c2
                                      v2125011parm using c3
                                      v2125012c using clist`cpd`x
                                      v2125013erase c1dta c2dta c3dta (3 erase statements)
                                      v2125014use `cpd1501211append using `cpd1501221
                                      v2125015append using `cpd1501231
                                      v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                                      v2125017`construction_`x
                                      v2125018use construction_1501211countrycode using `construction_1501221
                                      v2125019countrycode using `construction_1501231
                                      v2125020countrycode code using ICP2017_RegBHPPP
                                      v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                      v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                                      v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                      v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                      v2126004`pi_agg
                                      v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                                      v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                                      v2126007`pn_agg
                                      v2126008countrycode using `pn_agg
                                      v2126009countrycode using ICP2017_Pop
                                      v2126010countrycode using ICP2017_Countrylist
                                      v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                                      v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                                      v2127002use ICP2017_itemdataclist
                                      v2127003code countrycode using bh_nopa_tempregionlist
                                      v2127004region using regionlistICP2017_LF_NoPa
                                      v2127005use bh_nopa_temperase bh_nopa_tempdta
                                      v2127006countrycode using ICP2017_countrylist
                                      v2127007countrycode using ICP2017_PAF
                                      v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                      v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                                      v2128002countrycode using ICP2017_Countrylist
                                      v2128003countrycode code using ICP2017_RegBHPPP
                                      v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                      v2128005temp_agg
                                      v2128006countrycode using temp_aggerase temp_aggdta
                                      v2128007temp_agg (2nd time)
                                      v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                      v2128009rp `i
                                      v2128010use rp1append using rp`ierase rp`idta
                                      v2128011erase rp_basic`idta
                                      v2128012refp_stage3
                                      v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                      v2128014use ICP2017_ref_codescode using temp_ppp
                                      v2128015countrycode using ICP2017_Countrylist
                                      v2128016countrycode code using ICP2017_RegBHPPP
                                      v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                                      v2128018use rp_basic`itemp_agg (3rd time)
                                      v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                                      v2128020temp agg (4th time)
                                      v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                                      v2128022rp `i
                                      v2128023use rp1append using rp`ierase rp`idta
                                      v2128024erase rp_basic`idta
                                      v2128025refp_stage2
                                      v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                      v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                                      v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                                      v2129002`ppp_tempIs file used before replaced below
                                      v2129003use ICP2017_RegBHPPP`ppp_temp2
                                      v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                      v2129005countrycode code using ICP2017_Exp
                                      v2129006countrycode using ICP2017_countrylist
                                      v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                                      v2129008use `ppp_tempappend using `ppp_temp2
                                      v2129009countrycode using ICP2017_countrylist`ppp_temp3
                                      v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                      v2129011countrycode using `ppp_temp3
                                      v2129012RegionCode using ICP2017_regionalbase
                                      v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                      v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                                      v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                                      v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                      v2130004countrycode using ICP2017_countrylist
                                      v2130005countrycode using calcglobal_geksNo final file saved
                                      v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                                      v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                                      v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                      v2140004countrycode using ICP2017_countrylist
                                      v2140005countrycode using calcglobal_geksNo final file saved
                                      v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                      v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                      v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                                      v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                                      v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                                      v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                                      v2150007RegionCode using ICP2017_regionalbase
                                      v2150008RegionCode using ICP2017_regionalbase
                                      v2150009countrycode using results_2011ICPTS_RegBHPPP
                                      v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                      v2160002use results_2017countrycode using ICP2017_XR
                                      v2160003countrycode using ICP2017_POP
                                      v2160004countrycode using ICP2017_countrylist
                                      v2160005use ICP2017_CPIcpi_temp
                                      v2160006use ICP2017_DEFdef_temp
                                      v2160007countrycode code using cpi_temp
                                      v2160008countrycode code using def_temp
                                      v2160009countrycode using results2011_temp
                                      v2160010countrycode year using ICP2017_Xrall
                                      v2160011countrycode year using ICP2017_POPallNo final file saved
                                      alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                                      1000000DS_store
                                      2100001compile_aggregate_resultsdo
                                      3100002cd userspath
                                      4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                                      5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                      6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                                      7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                      8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                                      9100008export excel using $out_file sheet(LF2011)
                                      10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                      11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                                      12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                                      13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                      14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                                      15100014export excel using $out_file sheet(LF2017)
                                      16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                      17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                                      18100017Generate amp export 2011 aggregate resultsresults_2011
                                      19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                                      20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                      21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                      22100021Generate amp export 2017 aggregate resultsresults_2017
                                      23100022use ICP2017_Aggregation
                                      24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                      25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                      26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                                      27100026Consistency`x
                                      40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                      41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                                      42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                      43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                                      44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                                      45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                                      46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                      47110008RegionaCode using ICP2017_regionalbase
                                      48110009countrycode using temp_xr
                                      49110010cou using temp_xrICP2011_XR
                                      50110011erase temp_xrdta
                                      51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                      52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                      53110014RegionCode code using ICP2011_linkingfactors_initial
                                      54110015RegionCode code using ICP2011_housing_linking_factors
                                      55110016countrycode code using ICP2011_Exp
                                      56110017code using ICP2017_classification
                                      57110018countrycode using ICP2017_countrylist
                                      58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                      59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                                      60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                                      61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                      62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                                      63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                      64110025countrycode suing ICP2011_XR
                                      65110026countrycode code using ICP2011_Exp
                                      66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                      71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                                      72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                                      73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                                      74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                      75111005temp
                                      76111006countrycode using temperase tempdta
                                      77111007countrycode using ICP2011_POP
                                      78111008countrycode using ICP2017_CountryList
                                      79111009RegionCode using ICP2017_regionalbase
                                      80111010countrycode using ICP2011_XR
                                      81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                                      67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                                      68112002countrycode using ICP2017_countrylist
                                      69112003countrycode using ICP2011_PAF
                                      70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                      82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                                      83113002countrycode using ICP2017_CountryList
                                      84113003countrycode code using ICP2011_RegBHPPP
                                      85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                                      86113005use rp_basic `itemp_agg
                                      87113006countrycode using temp_aggerase temp_aggdta
                                      88113007temp_agg (2nd time)
                                      89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                      90113009rp `i
                                      91113010use rp1refp_icp2011
                                      92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                                      106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                                      107120002insert country names on excel line 5run process_input_filedo
                                      108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                                      109120004itemregbhpppexpxrpafrun load_basic_datado
                                      110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                                      111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                                      112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                      113120008code countrycode using ICP2017_Exp
                                      114120009code using ICP2017_classification
                                      115120010code RegionCode using ICP2017_linkingfactors_rpd
                                      116120011code RegionCode using ICP2017_housing_linking_factors
                                      117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                      118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                                      119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                                      120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                      121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                                      122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                                      123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                      124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                                      125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                      126120021RegionCode code using ICP2017_lf_eduhhc
                                      127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                      128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                      129120024countrycode using ICP2017_XR
                                      130120025countrycode code using ICP2017_Exp
                                      131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                      224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                                      219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                      220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                      221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                                      222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                                      223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                      200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                      201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                                      202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                      203123004ItemCode using ICP2017_itemlist
                                      204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                                      205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                      206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                                      207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                                      208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                                      209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                                      175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                                      176124002tempfile reg_nobs
                                      177124003region using regionlist
                                      178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                      155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                      156125002c using clisttempfile elec_ppp
                                      157125003`elec_ppp
                                      158125004use ICP2017_itemdataclist
                                      159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                                      160125006ItemCode using elec_item
                                      161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                      162125008saving c1 c2 c3 (3 saving statements)
                                      163125009use c1parm using c2
                                      164125010parm using c3
                                      165125011c using clist`cpd`x
                                      166125012erase c1dta c2dta c3dta (3 erase statements)
                                      167125013use `cpd1501211append using `cpd1501221
                                      168125014append using `cpd1501231
                                      1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                                      170125016`construction_`x
                                      171125017use construction_1501211countrycode using `construction_1501221
                                      172125018countrycode using `construction_1501231
                                      173125019countrycode code using ICP2017_RegBHPPP
                                      174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                      187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                                      188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                      189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                      190126004`pi_agg
                                      191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                                      192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                                      193126007`pn_agg
                                      194126008countrycode using `pn_agg
                                      195126009countrycode using ICP2017_Pop
                                      196126010countrycode using ICP2017_Countrylist
                                      197126011RegionCode using ICP2017_regionalbase
                                      198126012countrycode using ICP2017_XR
                                      199126013Where is this fileICP2017_PAF
                                      179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                                      180127002use ICP2017_itemdataclist
                                      181127003code countrycode using bh_nopa_tempregionlist
                                      182127004region using regionlistICP2017_LF_NoPa
                                      183127005use bh_nopa_temperase bh_nopa_tempdta
                                      184127006countrycode using ICP2017_countrylist
                                      185127007countrycode using ICP2017_PAF
                                      186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                      225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                                      226128002countrycode using ICP2017_Countrylist
                                      227128003countrycode code using ICP2017_RegBHPPP
                                      228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                      229128005temp_agg
                                      230128006countrycode using temp_aggerase temp_aggdta
                                      231128007temp_agg (2nd time)
                                      232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                      233128009rp `i
                                      234128010use rp1refp_stage1
                                      235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                      236128012use ICP2017_ref_codescode using temp_ppp
                                      237128013countrycode using ICP2017_CountryList
                                      238128014countrycode code using ICP2017_RegBHPPP
                                      239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                                      240128016use rp_basic`itemp_agg (3rd time)
                                      241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                                      242128018temp agg (4th time)
                                      243128019countrycode using temp_aggerase temp_aggdta (4th time)
                                      244128020rp `i
                                      245128021use rp1refp_stage2
                                      246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                      247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                                      143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                                      144129002Is file used before replaced below`ppp_temp
                                      145129003use ICP2017_RegBHPPP`ppp_temp2
                                      146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                      147129005countrycode code using ICP2017_Exp
                                      148129006countrycode using ICP2017_countrylist
                                      149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                                      150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                                      151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                      152129010countrycode using `ppp_temp3
                                      153129011RegionCode using ICP2017_regionalbase
                                      154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                      28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                                      29130002countrycode using ICP2017_countrylistcalcglobal_geks
                                      30130003ppp_temp
                                      31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                                      32130005countrycode code using ICP2011_Exp
                                      33130006countrycode using ICP2017_countrylist
                                      34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                                      35130008append using ppp_tempppp_temp (2nd time)
                                      36130009use ppp_temp
                                      37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                      38130011countrycode using ICP2017_countrylist
                                      39130012No final file savedcountrycode using calcglobal_geks
                                      93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                                      94140002countrycode using ICP2017_countrylistcalcglobal_geks
                                      95140003tempfile ppp_temp
                                      96140004`ppp_temp
                                      97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                                      98140006countrycode code using ICP2017_Exp
                                      99140007countrycode using ICP2017_countrylist
                                      100140008RegionCode using ICP2017_Regionalbase
                                      101140009append using `ppp_tempsave `ppp_temp
                                      102140010use `ppp_tempcountrycode using ICP2017_countrylist
                                      103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                      104140012countrycode using ICP2017_countrylist
                                      105140013No final file savedcountrycode using calcglobal_geks
                                      210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                      211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                      212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                      213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                                      214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                                      215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                                      216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                                      217150008RegionCode using ICP2017_regionalbase
                                      218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                                      132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                      133160002use results_2017countrycode using ICP2017_XR
                                      134160003countrycode using ICP2017_POP
                                      135160004countrycode using ICP2017_countrylist
                                      136160005use ICP2017_CPIcpi_temp
                                      137160006use ICP2017_DEFdef_temp
                                      138160007countrycode code using cpi_temperase cpi_tempdta
                                      139160008countrycode code using def_temperase def_tempdta
                                      140160009countrycode using results2011_temperase results2011_tempdta
                                      141160010countrycode year using ICP2017_Xrall
                                      142160011No final file savedcountrycode year using ICP2017_POPall
                                      ProgramSubprogram1Subprogram2
                                      100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                                      112_icp2011_paf_applicationdo
                                      113_icp2011_ReferencePPPsdo
                                      120_icp2017_calculationsdo121_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

                                      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
                                        FilenameSizePackedType12171912420127192920save date
                                        DS_store6148178DS_STORE File
                                        compile_aggregate_resultsdo48441079DO Filenewupdateupdateupdate2720
                                        fischer_func_createdoupdate12910
                                        geks_func_createdoupdate111311
                                        icp2011_aggregationdo43601351DO Filenewncncupdate2320
                                        icp2011_calculationsdo69671828DO Filenewupdateupdateupdate2720
                                        icp2011_paf_applicationdo1352575DO Filenewncncupdate12520
                                        icp2011_paf_calculationdo47471608DO Filenewncupateupdate12720
                                        icp2011_ReferencePPPsdo40561434DO Filenewupdatencupdate12420
                                        icp2017_aggregationdo46181395DO Filenewncncupdate2320
                                        icp2017_calculationsdo48521358DO Filenewupdateupdateupdate2320
                                        icp2017_Consistencydo2438831DO Filenewncncupdate2320
                                        icp2017_link_eduhhcdo34801049DO Filenewncncupdate121319
                                        icp2017_linking_constructiondo50971650DO Filenewncncupdate121619
                                        icp2017_linking_factorsdo1587702DO Filenewncncupdate121119
                                        icp2017_paf_applicationdo27161080DO Filenewncncupdate12220
                                        icp2017_paf_calculationdo50151673DO Filenewupdatencupdate12620
                                        laspeyres_func_createdoupdate12910
                                        load_basic_data_timeseriesdo2780774DO Filenewncncupdate2420
                                        load_basic_datado2829802DO Filenewupdatencupdate12420
                                        load_listsdo1331487DO Filenewncncupdate12420
                                        passche_func_createdoupdate12910
                                        process_input_filedo226165DO Filenewncncupdate82819
                                        PWT_KL_classificationdtaupdate112719
                                        pwt_kl_datadtaupdate12619
                                        ReferencePPPsdo76901708DO Filenewncncupdate12420
                                        VerProgStepFilenameimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)Notes Prog Comments () Anomalies
                                        v2100001compile_aggregate_resultsdo
                                        v2100002cd userspath
                                        v2100003global data_file=ICP_Working-OUT-2020-02-06xlsx
                                        v2100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                        v2100005run icp2011_calculationsdoGenerateexport ICP 2011 BH PPPs
                                        v2100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                        v2100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactorsAssume ICP2017_RegionalBase is external
                                        v2100008export excel using $out_file sheet(LF2011)
                                        v2100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                        v2100COMrun icp 2011_paf_calculationexport excel using $out_file sheet(PAF2011)Export ICP 2011 PAFs
                                        v2100010run icp2017_calculationsdoGenerateexport 2017 LF and BH PPPs
                                        v2100011use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                        v2100012RegionCode using ICP2017_RegionalBaseICP2017_linkingfactorsAssume ICP2017_RegionalBase is external
                                        v2100013export excel using $out_file sheet(LF2017)
                                        v2100014use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                        v2100COMrun ICP2017_paf_calculationdoexport excel using $out_file sheet(PAF2017)Export ICP 2017 PAFs
                                        v2100015results_2011Generate amp export 2011 aggregate results
                                        v2100016use ICP2017_AggregationWhy use 2017 in this 2011 section
                                        v2100017run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                        v2100018use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                        v2100019results_2017Generate amp export 2017 aggregate results
                                        v2100020use ICP2017_Aggregation
                                        v2100021run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                        v2100022use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                        v2100023run ICP2017_Consistencydoexport excel using $out_file sheet(Consistency `sheet)Generate consistency check
                                        v2100024Consistency`x
                                        v2100025run GenChartsdo
                                        v2110001icp2011_calculationsdoimport excel using $data_file sheet (EXP) c5hr2819ICP2011_EXP
                                        v2110002import excel using $data_file sheet (PPPReg) c5hr2819countrycode using ICP2017_countrylistuses 2017 not 2011 for merge
                                        v2110003RegionCode using ICP2017_regionalbaseICP2011_RegBHPPPAssume ICP2017_RegionalBase is external
                                        v2110004import excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initialAssume ICP2017_RegionalBase is external
                                        v2110005import excel using $data_file sheet (EXR) f5hr12temp_xr
                                        v2110006use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                        v2110007RegionaCode using ICP2017_regionalbaseAssume ICP2017_RegionalBase is external
                                        v2110008countrycode using temp_xr
                                        v2110009cou using temp_xrICP2011_XR
                                        v2110010import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                        v2110011use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                        v2110012RegionCode code using ICP2011_linkingfactors_initial`pg_edu
                                        v2110013use ICP2017_Aggregationcode using ICP2011_RegBHPPP
                                        v2110014countrycode agg_code using `pg_edu
                                        v2110015RegionCode using ICP2017_RegionalBase`lf_eduAssume ICP2017_RegionalBase is external
                                        v2110016use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                        v2110017RegionCode code using ICP2011_linkingfactors_initial
                                        v2110018RegionCode code using ICP2011_housing_linking_factorsAssume ICP2011_housing_linking_factors is external
                                        v2110019RegionCode using `lf_edu
                                        v2110020countrycode code using ICP2011_Exp
                                        v2110021code using ICP2017_classification
                                        v2110022countrycode using ICP2017_countrylist
                                        v2110023countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                        v2110024run ICP2011_paf_calculationdo
                                        v2110025run ICP2011_paf_applicationdo
                                        v2110026use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                        v2110027run ICP2011_ReferencePPPsdo
                                        v2110028use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                        v2110029countrycode suing ICP2011_XR
                                        v2110030countrycode code using ICP2011_Exp
                                        v2110031countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                        v2111001icp2011_paf_calculationdopaf 148 use ICP2011_LinkedBHPPPAgg BH PPPs to PWT asseet level
                                        v2111002paf 178 use ICP2011_LinkedBHPPP_PA_Ref_Combinedcode using PWT_KL_classificationtemp
                                        v2111003countrycode asset using temperase temp
                                        v2111004save pi_temp
                                        v2111005use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                        v2111006temp
                                        v2111007countrycode using temperase tempdta
                                        v2111008countrycode using ICP2011_POP
                                        v2111009countrycode using ICP2017_CountryList
                                        v2111010RegionCode using ICP2017_regionalbaseICP2011_PAFAssume ICP2017_RegionalBase is external
                                        v2112001icp2011_paf_applicationdouse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPPFind amp apply PAF adj to reg BHs w PA
                                        v2112002countrycode using ICP2017_countrylist
                                        v2112003countrycode using ICP2011_PAF
                                        v2112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                        v2113001icp2011_ReferencePPPsdouse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PAFind ref PPPs combine w obsd PPPs
                                        v2113002countrycode using ICP2017_CountryList
                                        v2113003countrycode code using ICP2011_RegBHPPP
                                        v2113004RegionCode using ICP2017_RegionalBaserp_basic `iAssume ICP2017_RegionalBase is external
                                        v2113005use rp_basic `itemp_agg
                                        v2113006countrycode using temp_aggerase temp_aggdta
                                        v2113007temp_agg (2nd time)
                                        v2113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                        v2113009rp `i
                                        v2113010use rp1refp_icp2011
                                        v2113011use ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_RefTitle diff wrt 2017 no RefPPP
                                        v2120001icp2017_calculationsdossc install parmestprogram for quickly saving parameters
                                        v2120002run process_input_filedoinsert country names on excel line 5
                                        v2120003run load_listsdoctryclassaggitemxrcoderefcode
                                        v2120004run load_basic_datadoitemregbhpppexpxrpaf
                                        v2120005run icp2017_linking_factorsdoICP2017_linkingfactors_rpd
                                        v2120006run icp2017_linking_constructiondoICP2017_linkedconstruction
                                        v2120007use ICP2017_RegBHPPPcode countrycode using ICP2017_ExpBH PPPs w exp data
                                        v2120008countrycode using ICP2017_countrylist
                                        v2120009code using ICP2017_classification
                                        v2120010code RegionCode using ICP2017_linkingfactors_rpd
                                        v2120011code RegionCode using ICP2017_housing_linking_factorsAssume ICP2017_housing_linking_factors is external
                                        v2120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                        v2120013run lCP2017_paf_calculationdoICP2017_PAF (prod adj factors)
                                        v2120014run lCP2017_paf_applicationdoICP2017_PABH (apply to govt BH)
                                        v2120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                        v2120016run ReferencePPPsdoICP2017_LinkedBHPPP_PA_RefPPP
                                        v2120017use ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codesadd exchange rates
                                        v2120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                        v2120019run icp2017_link_eduhhcdoICP2017_lf_eduhhc
                                        v2120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                        v2120021RegionCode code using ICP2017_lf_eduhhc
                                        v2120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                        v2120023use ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHCinc noncore regs amp spec participant ctrys
                                        v2120024countrycode using ICP2017_XR
                                        v2120025countrycode code using ICP2017_Exp
                                        v2120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                        v2121001process_input_filedoimport excel using $data_file----Short reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)
                                        v2122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                        v2122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                        v2122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oc159ICP2017_aggregation
                                        v2122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bf163ICP2017_ref_codes
                                        v2122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                        v2123001load_basic_datadoimport excel using $data_file sheet (APG) c5hr3545p_temp
                                        v2123002import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                        v2123003ItemCode using ICP2017_itemlist
                                        v2123004countrycode using ICP2017_countrylist
                                        v2123005RegionCode using ICP2017_regionalbaseICP2017_itemdataAssume ICP2017_RegionalBase is external
                                        v2123006import excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylistSame source as timeseries diff cells
                                        v2123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPPAssume ICP2017_RegionalBase is external
                                        v2123008import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp(same)
                                        v2123009import excel using $data_file sheet (EXR) f5hr12ICP2017_XRSame source as timeseries same cells
                                        v2123010import excel using $data_file sheet (POP) f5hr12ICP2017_POP(same)
                                        v2124001icp2017_linking_factorsdouse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlistCompute regional linking factors
                                        v2124002tempfile reg_nobs
                                        v2124003region using regionlist
                                        v2124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                        v2125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                        v2125002c using clist
                                        v2125003code uisng elec_itemtempfile elec_pppWhere does elec_item come from
                                        v2125004`elec_ppp
                                        v2125005use ICP2017_itemdataclist
                                        v2125006countrycode using `elec_ppp`elec_ppp (2nd time)
                                        v2125007ItemCode using elec_item
                                        v2125008append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                        v2125009saving c1 c2 c3 (3 saving statements)
                                        v2125010use c1parm using c2
                                        v2125011parm using c3
                                        v2125012c using clist`cpd`x
                                        v2125013erase c1dta c2dta c3dta (3 erase statements)
                                        v2125014use `cpd1501211append using `cpd1501221
                                        v2125015append using `cpd1501231
                                        v2125016countrycode code using ICP2017_Exptempfile construction_1501211 -221 -2313 separate construction tempfiles
                                        v2125017`construction_`x
                                        v2125018use construction_1501211countrycode using `construction_1501221
                                        v2125019countrycode using `construction_1501231
                                        v2125020countrycode code using ICP2017_RegBHPPP
                                        v2125021countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                        v2126001icp2017_paf_calculationdouse ICP2017_LinkedBHPPPcode using PWT_KL_classificationAgg BH PPPs to PWT asseet level
                                        v2126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                        v2126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                        v2126004`pi_agg
                                        v2126005countrycode asset using `pi_agg`pi_tempCurious pi_temp used for 2017
                                        v2126006use PWT_KL_datacountrycode pwt_asset using `pi_temp(same)
                                        v2126007`pn_agg
                                        v2126008countrycode using `pn_agg
                                        v2126009countrycode using ICP2017_Pop
                                        v2126010countrycode using ICP2017_Countrylist
                                        v2126011RegionCode using ICP2017_regionalbaseICP2017_PAFWhy is save PAF commented out (126200
                                        v2127001icp2017_paf_applicationdouse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_tempFind amp apply PAF adj to reg BHs w PA
                                        v2127002use ICP2017_itemdataclist
                                        v2127003code countrycode using bh_nopa_tempregionlist
                                        v2127004region using regionlistICP2017_LF_NoPa
                                        v2127005use bh_nopa_temperase bh_nopa_tempdta
                                        v2127006countrycode using ICP2017_countrylist
                                        v2127007countrycode using ICP2017_PAF
                                        v2127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                        v2128001ReferencePPPsdouse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PACompute stage-1 amp 2 reference PPPs
                                        v2128002countrycode using ICP2017_Countrylist
                                        v2128003countrycode code using ICP2017_RegBHPPP
                                        v2128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                        v2128005temp_agg
                                        v2128006countrycode using temp_aggerase temp_aggdta
                                        v2128007temp_agg (2nd time)
                                        v2128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                        v2128009rp `i
                                        v2128010use rp1append using rp`ierase rp`idta
                                        v2128011erase rp_basic`idta
                                        v2128012refp_stage3
                                        v2128013use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                        v2128014use ICP2017_ref_codescode using temp_ppp
                                        v2128015countrycode using ICP2017_Countrylist
                                        v2128016countrycode code using ICP2017_RegBHPPP
                                        v2128017RegionCode using ICP2017_RegionalBaserp_basic`i
                                        v2128018use rp_basic`itemp_agg (3rd time)
                                        v2128019countrycode using temp_aggerase temp_aggdta (3rd time)
                                        v2128020temp agg (4th time)
                                        v2128021countrycode using temp_aggerase temp_aggdta (4th time)
                                        v2128022rp `i
                                        v2128023use rp1append using rp`ierase rp`idta
                                        v2128024erase rp_basic`idta
                                        v2128025refp_stage2
                                        v2128026use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                        v2128027ICP2017_LinkedBHPPP_PA_RefPPPTitle diff wrt 2011 uses RefPPP
                                        v2129001icp2017_link_eduhhcdotempfile ppp_temp ppp_temp2 ppp_temp3Calculate EDU amp GOV Linking Factors
                                        v2129002`ppp_tempIs file used before replaced below
                                        v2129003use ICP2017_RegBHPPP`ppp_temp2
                                        v2129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                        v2129005countrycode code using ICP2017_Exp
                                        v2129006countrycode using ICP2017_countrylist
                                        v2129007RegionCode using ICP2017_Regionalbase`ppp_tempwas replaced file above ever used
                                        v2129008use `ppp_tempappend using `ppp_temp2
                                        v2129009countrycode using ICP2017_countrylist`ppp_temp3
                                        v2129010use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                        v2129011countrycode using `ppp_temp3
                                        v2129012RegionCode using ICP2017_regionalbase
                                        v2129013RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                        v2130001icp2011_aggregationdouse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_CombinedCompute Global GEKS using linked BH PPPs
                                        v2130002countrycode using ICP2017_countrylistcalcglobal_geks
                                        v2130003use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                        v2130004countrycode using ICP2017_countrylist
                                        v2130005countrycode using calcglobal_geksNo final file saved
                                        v2140001icp2017_aggregationdouse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_CombinedGlobal GEKS using linked BH PPPs CAR method for core regions link other regions
                                        v2140002countrycode using ICP2017_countrylistcalcglobal_geks
                                        v2140003use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                        v2140004countrycode using ICP2017_countrylist
                                        v2140005countrycode using calcglobal_geksNo final file saved
                                        v2150001load_basic_data_timeseriesimport excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                        v2150002import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                        v2150003import excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPallSame source as 2017 diff cells
                                        v2150004import excel using $data_file sheet (EXR) f5hr12ICP2017_XRallSame source as 2017 same cells
                                        v2150005import excel using $data_file sheet (POP) f5hr12ICP2017_POPall(same)
                                        v2150006import excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylistSame source as 2017 diff cells
                                        v2150007RegionCode using ICP2017_regionalbase
                                        v2150008RegionCode using ICP2017_regionalbase
                                        v2150009countrycode using results_2011ICPTS_RegBHPPP
                                        v2160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                        v2160002use results_2017countrycode using ICP2017_XR
                                        v2160003countrycode using ICP2017_POP
                                        v2160004countrycode using ICP2017_countrylist
                                        v2160005use ICP2017_CPIcpi_temp
                                        v2160006use ICP2017_DEFdef_temp
                                        v2160007countrycode code using cpi_temp
                                        v2160008countrycode code using def_temp
                                        v2160009countrycode using results2011_temp
                                        v2160010countrycode year using ICP2017_Xrall
                                        v2160011countrycode year using ICP2017_POPallNo final file saved
                                        alpha-step indexProgramStepFilenameNotes Prog Comments () Anomaliesimport use ssc install run cd globalMerge (Append using as noted)Save (EraseExportSavingTableTempfile as noted)
                                        1000000DS_store
                                        2100001compile_aggregate_resultsdo
                                        3100002cd userspath
                                        4100003global data_file=ICP_Working-OUT-2019-11-26xlsx
                                        5100004global out_file=Results_RI+usubinstr(c(curent_date) 2)+xlsx
                                        6100005Generateexport ICP 2011 BH PPPsrun icp2011_calculationsdo
                                        7100006use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylist
                                        8100007RegionCode using ICP2017_RegionalBaseICP2011_linkingfactors
                                        9100008export excel using $out_file sheet(LF2011)
                                        10100009use ICP2011_LinkedBHPPP_PA_Ref_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2011)
                                        11100010Export ICP 2011 PAFsuse ICP2011_PAFexport excel using $out_file sheet(PAF2011)
                                        12100011Generateexport 2017 LF and BH PPPsrun icp2017_calculationsdo
                                        13100012use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylist
                                        14100013RegionCode using ICP2017_RegionalBaseICP2017_linkingfactors
                                        15100014export excel using $out_file sheet(LF2017)
                                        16100015use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcountrycode using ICP2017_countrylistexport excel using $out_file sheet(PPPGlob2017)
                                        17100016Export ICP 2017 PAFsuse ICP2017_PAFexport excel using $out_file sheet(PAF2017)
                                        18100017Generate amp export 2011 aggregate resultsresults_2011
                                        19100018Why use 2017 in this 2011 sectionuse ICP2017_Aggregation
                                        20100019run icp2011_aggregationdoappend using results_2011results_2011 (2nd time)
                                        21100020use results_2011countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2011)
                                        22100021Generate amp export 2017 aggregate resultsresults_2017
                                        23100022use ICP2017_Aggregation
                                        24100023run icp2017_aggregationdoappend using results_2017results_2017 (2nd time)
                                        25100024use results_2017countrycode using ICP2017_countrylistexport excel using $out_file sheet(AggPPPGlob2017)
                                        26100025Generate consistency checkrun ICP2017_Consistencydoexport excel using $out_file sheet(Consistency`sheet)
                                        27100026Consistency`x
                                        40110001icp2011_calculationsdoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                        41110002import excel using $data_file sheet (EXP) c5hr2798ICP2011_EXP
                                        42110003uses 2017 not 2011 for mergeimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                        43110004uses 2017 not 2011 for mergeRegionCode using ICP2017_regionalbaseICP2011_RegBHPPP
                                        44110005uses 2017 not 2011 for mergeimport excel using $data_file sheet (LIF) c5m315RegionBase using ICP2017_regionalbaseICP2011_linkingfactors_initial
                                        45110006import excel using $data_file sheet (EXR) f5hr12temp_xr
                                        46110007use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                        47110008RegionaCode using ICP2017_regionalbase
                                        48110009countrycode using temp_xr
                                        49110010cou using temp_xrICP2011_XR
                                        50110011erase temp_xrdta
                                        51110012import excel using $data_file sheet (POP) f5hr12ICP2011_POP
                                        52110013use ICP2011_RegBHPPPcountrycode using ICP2017_countrylist
                                        53110014RegionCode code using ICP2011_linkingfactors_initial
                                        54110015RegionCode code using ICP2011_housing_linking_factors
                                        55110016countrycode code using ICP2011_Exp
                                        56110017code using ICP2017_classification
                                        57110018countrycode using ICP2017_countrylist
                                        58110019countrycode using ICP2011_XRICP2011_LinkedBHPPP
                                        59110020ICP2011_PAFrun ICP2011_paf_calculationdo
                                        60110021apply PAF to govt comp BH (PABH)run ICP2011_paf_applicationdo
                                        61110022use ICP2011_LinkedBHPPPcountrycode code using ICP2011_PABHICP2011_LinkedBHPPP_PA
                                        62110023ICP2011_LinkedBHPPP_PA_Refrun ICP2011_ReferencePPPsdo
                                        63110024use ICP2011_RegBHPPPcountrycode code using ICP2011_LinkedBHPPP_PA_Ref
                                        64110025countrycode suing ICP2011_XR
                                        65110026countrycode code using ICP2011_Exp
                                        66110027countrycode using ICP2017_countrylistICP2011_LinkedBHPPP_PA_Ref_Combined
                                        71111001icp2011_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2011_LinkedBHPPP_PA_Ref_Combinedtemp
                                        72111002Did RI use ICP2011_Linked BHPPPor ICP2011_LinkedBHPPP (commented out)
                                        73111003Curious `pi_temp used for 2017countrycode asset using temppi_temp
                                        74111004(same)use PWT_KL_datacountrycode pwt_asset using pi_temperase pi_tempdta
                                        75111005temp
                                        76111006countrycode using temperase tempdta
                                        77111007countrycode using ICP2011_POP
                                        78111008countrycode using ICP2017_CountryList
                                        79111009RegionCode using ICP2017_regionalbase
                                        80111010countrycode using ICP2011_XR
                                        81111011Where is this filecountrycode year using UsersRobertDocumentsPWTPWT91dta (where from)ICP2011_PAF
                                        67112001icp2011_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2011_RegBHPPcountrycode code using ICP2011_RegBHPP
                                        68112002countrycode using ICP2017_countrylist
                                        69112003countrycode using ICP2011_PAF
                                        70112004RegionCode using ICP2011_Comp_LF_noPAICP2011_PABH
                                        82113001icp2011_ReferencePPPsdoFind ref PPPs combine w obsd PPPsuse ICP2017_ref_codescode using ICP2011_LinkedBHPPP_PA
                                        83113002countrycode using ICP2017_CountryList
                                        84113003countrycode code using ICP2011_RegBHPPP
                                        85113004RegionCode using ICP2017_RegionalBaserp_basic `i
                                        86113005use rp_basic `itemp_agg
                                        87113006countrycode using temp_aggerase temp_aggdta
                                        88113007temp_agg (2nd time)
                                        89113008countrycode using temp_aggerase temp_aggdta (2nd time)
                                        90113009rp `i
                                        91113010use rp1refp_icp2011
                                        92113011Title diff wrt 2017 no RefPPPuse ICP2011_LinkedBHPPP_PAcode countrycode using refp_icp2011ICP2011_LinkedBHPPP_PA_Ref
                                        106120001icp2017_calculationsdoprogram for quickly saving parametersssc install parmest
                                        107120002insert country names on excel line 5run process_input_filedo
                                        108120003ctryclassaggitemxrcoderefcoderun load_listsdo
                                        109120004itemregbhpppexpxrpafrun load_basic_datado
                                        110120005ICP2017_linkingfactors_rpdrun icp2017_linking_factorsdo
                                        111120006ICP2017_linkedconstructionrun icp2017_linking_constructiondo
                                        112120007BH PPPs w exp datause ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                        113120008code countrycode using ICP2017_Exp
                                        114120009code using ICP2017_classification
                                        115120010code RegionCode using ICP2017_linkingfactors_rpd
                                        116120011code RegionCode using ICP2017_housing_linking_factors
                                        117120012countrycode code using ICP2017_linkedconstructionICP2017_LinkedBHPPP
                                        118120013ICP2017_PAF (prod adj factors)run lCP2017_paf_calculationdo
                                        119120014ICP2017_PABH (apply to govt BH)run lCP2017_paf_applicationdo
                                        120120015use ICP2017_LinkedBHPPPcountrycode code using ICP2017_PABHICP2017_LinkedBHPPP_PA
                                        121120016ICP2017_LinkedBHPPP_PA_RefPPPrun ReferencePPPsdo
                                        122120017add exchange ratesuse ICP2017_LinkedBHPPP_PA_RefPPPcode using ICP2017_xr_codes
                                        123120018countrycode using ICP2017_XRICP2017_LinkedBHPPP_PA_Ref_PPP_XR
                                        124120019ICP2017_lf_eduhhcrun icp2017_link_eduhhcdo
                                        125120020use ICP2017_RegBHPPPcountrycode using ICP2017_countrylist
                                        126120021RegionCode code using ICP2017_lf_eduhhc
                                        127120022countrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XRICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                        128120023inc noncore regs amp spec participant ctrysuse ICP2017_RegBHPPPcountrycode code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC
                                        129120024countrycode using ICP2017_XR
                                        130120025countrycode code using ICP2017_Exp
                                        131120026countrycode using ICP2017_countrylistICP2017_LinkedBHPP_PA_RefPPP_XR_EduHHC_Combined
                                        224121001process_input_filedoShort reads ICP data puts cntry name on line 5 (per comment icp2017_calcsdo)import excel using $data_file----
                                        219122001load_listsdoimport excel using $data_file sheet (ICP 2017 Country List) a1f219ICP2017_countrylist
                                        220122002import excel using $data_file sheet (ICP 2017 Classification) a2d401ICP2017_classification
                                        221122003import excel using $data_file sheet (ICP 2017 Aggregation Mapping) b4oa159ICP2017_aggregation
                                        222122004import excel using $data_file sheet (ICP 2017 Reference PPP Mapping) c7bi163ICP2017_ref_codes
                                        223122005import excel using $data_file sheet (ICP 2017 Item List) a2f3668ICP2017_itemlist
                                        200123001load_basic_datadoFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                        201123002import excel using $data_file sheet (APG) c5hr3545p_temp
                                        202123003import excel using $data_file sheet (IMP) c5hr3545ItemCode countrycode using p_temp
                                        203123004ItemCode using ICP2017_itemlist
                                        204123005RegionCode using ICP2017_regionalbaseICP2017_itemdata
                                        205123006Same source as timeseries diff cellsimport excel using $data_file sheet (PPPReg) c5hr2798countrycode using ICP2017_countrylist
                                        206123007RegionCode using ICP2017_regionalbaseICP2017_RegBHPPP
                                        207123008(same)import excel using $data_file sheet (EXP) c5hr2798ICP2017_Exp
                                        208123009Same source as timeseries same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XR
                                        209123010(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POP
                                        175124001icp2017_linking_factorsdoCompute regional linking factorsuse ICP2017_itemdatacode countrycode using ICP2017_RegBHPPPregionlist
                                        176124002tempfile reg_nobs
                                        177124003region using regionlist
                                        178124004code RegionCode using `reg_nobsICP2017_linkingfactors_rpd
                                        155125001icp2017_linking_constructiondouse ICP2017_itemdatacountrycode using ICP2017_Countrylistclist
                                        156125002c using clisttempfile elec_ppp
                                        157125003`elec_ppp
                                        158125004use ICP2017_itemdataclist
                                        159125005countrycode using `elec_ppp`elec_ppp (2nd time)
                                        160125006ItemCode using elec_item
                                        161125007append using `elec_ppptempfile cpd1501211 cpd1501221 cpd1501231
                                        162125008saving c1 c2 c3 (3 saving statements)
                                        163125009use c1parm using c2
                                        164125010parm using c3
                                        165125011c using clist`cpd`x
                                        166125012erase c1dta c2dta c3dta (3 erase statements)
                                        167125013use `cpd1501211append using `cpd1501221
                                        168125014append using `cpd1501231
                                        1691250153 separate construction tempfilescountrycode code using ICP2017_Exptempfile construction_1501211 -221 -231
                                        170125016`construction_`x
                                        171125017use construction_1501211countrycode using `construction_1501221
                                        172125018countrycode using `construction_1501231
                                        173125019countrycode code using ICP2017_RegBHPPP
                                        174125020countrycode using ICP2017_countrylistICP2017_linkedconstruction
                                        187126001icp2017_paf_calculationdoAgg BH PPPs to PWT asseet leveluse ICP2017_LinkedBHPPPcode using PWT_KL_classification
                                        188126002country code using ICP2017_LinkedBHPPP_PA_RefPPP
                                        189126003use ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combinedcode using PWT_KL_classificationtempfile pi_agg pi_temp pn_agg
                                        190126004`pi_agg
                                        191126005Curious pi_temp used for 2017countrycode asset using `pi_agg`pi_temp
                                        192126006(same)use PWT_KL_datacountrycode pwt_asset using `pi_temp
                                        193126007`pn_agg
                                        194126008countrycode using `pn_agg
                                        195126009countrycode using ICP2017_Pop
                                        196126010countrycode using ICP2017_Countrylist
                                        197126011RegionCode using ICP2017_regionalbase
                                        198126012countrycode using ICP2017_XR
                                        199126013Where is this fileICP2017_PAF
                                        179127001icp2017_paf_applicationdoFind amp apply PAF adj to reg BHs w PAuse ICP2017_RegBHPPcountrycode code using ICP2017_RegBHPPPbh_nopa_temp
                                        180127002use ICP2017_itemdataclist
                                        181127003code countrycode using bh_nopa_tempregionlist
                                        182127004region using regionlistICP2017_LF_NoPa
                                        183127005use bh_nopa_temperase bh_nopa_tempdta
                                        184127006countrycode using ICP2017_countrylist
                                        185127007countrycode using ICP2017_PAF
                                        186127008RegionaCode code using ICP2017_LF_NoPaICP2017_PABH
                                        225128001ReferencePPPsdoCompute stage-1 amp 2 reference PPPsuse ICP2017_ref_codescode using ICP2017_LinkedBHPPP_PA
                                        226128002countrycode using ICP2017_Countrylist
                                        227128003countrycode code using ICP2017_RegBHPPP
                                        228128004RegionCode using ICP2017_RegionalBaserp_basic`i
                                        229128005temp_agg
                                        230128006countrycode using temp_aggerase temp_aggdta
                                        231128007temp_agg (2nd time)
                                        232128008countrycode using temp_aggerase temp_aggdta (2nd time)
                                        233128009rp `i
                                        234128010use rp1refp_stage1
                                        235128011use ICP2017_LinkedBHPPP_PAcode countrycode using refp_stage1temp_ppp
                                        236128012use ICP2017_ref_codescode using temp_ppp
                                        237128013countrycode using ICP2017_CountryList
                                        238128014countrycode code using ICP2017_RegBHPPP
                                        239128015RegionCode using ICP2017_RegionalBaserp_basic`i
                                        240128016use rp_basic`itemp_agg (3rd time)
                                        241128017countrycode using temp_aggerase temp_aggdta (3rd time)
                                        242128018temp agg (4th time)
                                        243128019countrycode using temp_aggerase temp_aggdta (4th time)
                                        244128020rp `i
                                        245128021use rp1refp_stage2
                                        246128022use temp_pppcode countrycode using refp_stage2erase temp_pppdta
                                        247128023Title diff wrt 2011 uses RefPPPICP2017_LinkedBHPPP_PA_RefPPP
                                        143129001icp2017_link_eduhhcdoCalculate EDU amp GOV Linking Factorstempfile ppp_temp ppp_temp2 ppp_temp3
                                        144129002Is file used before replaced below`ppp_temp
                                        145129003use ICP2017_RegBHPPP`ppp_temp2
                                        146129004use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                        147129005countrycode code using ICP2017_Exp
                                        148129006countrycode using ICP2017_countrylist
                                        149129007was replaced file above ever usedRegionCode using ICP2017_Regionalbase`ppp_temp
                                        150129008use `ppp_tempcountrycode using ICP2017_countrylist`ppp_temp3
                                        151129009use ICP2017_aggregationcode using ICP2017_LinkedBHPPP_PA_RefPPP_XR
                                        152129010countrycode using `ppp_temp3
                                        153129011RegionCode using ICP2017_regionalbase
                                        154129012RegionCode using ICP2017_linkingfactors_rpdICP2017_lf_eduhhc
                                        28130001icp2011_aggregationdoCompute Global GEKS using linked BH PPPsuse ICP2017_aggregationcode using ICP2011_LinkedBHPPP_PA_Ref_Combined
                                        29130002countrycode using ICP2017_countrylistcalcglobal_geks
                                        30130003ppp_temp
                                        31130004use ICP2017_aggregationcode using ICP2011_RegBHPPP
                                        32130005countrycode code using ICP2011_Exp
                                        33130006countrycode using ICP2017_countrylist
                                        34130007RegionCode using ICP2017_RegionalbaseTable countrycode c(m tv)
                                        35130008append using ppp_tempppp_temp (2nd time)
                                        36130009use ppp_temp
                                        37130010use ICP2011_RegBHPPPcountrycode code using ICP2011_Exp
                                        38130011countrycode using ICP2017_countrylist
                                        39130012No final file savedcountrycode using calcglobal_geks
                                        93140001icp2017_aggregationdoGlobal GEKS using linked BH PPPs CAR method for core regions link other regionsuse ICP2017_aggregationm code using ICP2017_LinkedBHPPP_PA_RefPPP_XR_EduHHC_Combined
                                        94140002countrycode using ICP2017_countrylistcalcglobal_geks
                                        95140003tempfile ppp_temp
                                        96140004`ppp_temp
                                        97140005use ICP2017_aggregationcode using ICP2017_RegBHPPPP
                                        98140006countrycode code using ICP2017_Exp
                                        99140007countrycode using ICP2017_countrylist
                                        100140008RegionCode using ICP2017_Regionalbase
                                        101140009append using `ppp_tempsave `ppp_temp
                                        102140010use `ppp_tempcountrycode using ICP2017_countrylist
                                        103140011use ICP2017_RegBHPPPcountrycode code using ICP2017_Exp
                                        104140012countrycode using ICP2017_countrylist
                                        105140013No final file savedcountrycode using calcglobal_geks
                                        210150001load_basic_data_timeseriesLoad data provided by GOFrom compile_aggregate_resultsdo global data_file = ICP_Working-OUT-2019-11-26xlsx
                                        211150002import excel using $data_file sheet (CPI) c5hr1825ICP2017_CPI
                                        212150003import excel using $data_file sheet (DEF) c5hr2658ICP2017_DEF
                                        213150004Same source as 2017 diff cellsimport excel using $data_file sheet (EXP) c5hr2812ICP2017_EXPall
                                        214150005Same source as 2017 same cellsimport excel using $data_file sheet (EXR) f5hr12ICP2017_XRall
                                        215150006(same)import excel using $data_file sheet (POP) f5hr12ICP2017_POPall
                                        216150007Same source as 2017 diff cellsimport excel using $data_file sheet (PPPReg) c5hr2812countrycode using ICP2017_countrylist
                                        217150008RegionCode using ICP2017_regionalbase
                                        218150009RegionCode using ICP2017_regionalbaseICPTS_RegBHPPP
                                        132160001icp2017_Consistencydouse results_2011countyrcode using ICP2011_XRresults2011_temp
                                        133160002use results_2017countrycode using ICP2017_XR
                                        134160003countrycode using ICP2017_POP
                                        135160004countrycode using ICP2017_countrylist
                                        136160005use ICP2017_CPIcpi_temp
                                        137160006use ICP2017_DEFdef_temp
                                        138160007countrycode code using cpi_temperase cpi_tempdta
                                        139160008countrycode code using def_temperase def_tempdta
                                        140160009countrycode using results2011_temperase results2011_tempdta
                                        141160010countrycode year using ICP2017_Xrall
                                        142160011No final file savedcountrycode year using ICP2017_POPall
                                        ProgramSubprogram1Subprogram2
                                        100_compile_aggregate_resultsdo110_icp2011_calculationsdo111_icp2011_paf_calculationsdo
                                        112_icp2011_paf_applicationdo
                                        113_icp2011_ReferencePPPsdo
                                        120_icp2017_calculationsdo121_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

                                        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

                                          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

                                            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

                                              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

                                                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

                                                  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

                                                    top related