Statistical issues in allocating funds by formula