Text this: Methodological framework for three-way statistical analysis of cost of living and quality of life indices: a case study in the American continent