STATA ANALYSIS NOTES

SDM_analysis_original.do is preserved exactly as supplied by the authors.
SDM_analysis_portable.do replaces the original absolute paths with package-relative paths. Run it from the root of HSSC_Current_Data_and_Code_Package.

The analysis dataset is:
  ../../01_Data/SDM_Log_Transformed_Data.dta

The spatial-weight file is:
  ../../01_Data/Spatial_Weights.dta

The data file contains the natural logarithms of y and x1-x5. Its 341 rows map one-to-one to the level-form panel.

Before running the original do-file on another computer, replace its E:/dan/空间杜宾/ paths with the package-relative paths above or copy the two data files into the chosen Stata working directory.

The original do-file calls the community commands asdoc, xtmoran, spcs2xt, spatwmat, spatdiag, outreg2 and xsmle. Install compatible versions before execution.
