"Alleviating ecological bias in generalized linear models and optimal design with subsample data"