Open Access. Powered by Scholars. Published by Universities.®

Social and Behavioral Sciences Commons

Open Access. Powered by Scholars. Published by Universities.®

Economics

West Virginia University

Series

2013

Aggregate

Articles 1 - 1 of 1

Full-Text Articles in Social and Behavioral Sciences

An Aggregation Matrix Matlab Function, Caleb Stair Dec 2013

An Aggregation Matrix Matlab Function, Caleb Stair

Regional Research Institute Technical Documents

This Technical Document describes the foundations for an aggregation matrix function implemented in MATLAB, including the format and structure of the required aggregation vector used as an argument to the function. The function is passed with the Ndimensional aggregation vector as an argument. The aggregation vector contains N values ranging from 1 to M, each of which is the aggregate index corresponding to the N preaggregation indices. The function returns an aggregation matrix with M rows and N columns. Pre-multiplying an existing matrix with N rows by the aggregation matrix reduces the row dimensionality from N to M by adding …