Previous tests for aggregation of organisms among sampling units that
vary in size and tests for size-based sample-unit selection fail to ac
count for variation in the size of the sample unit. When sample units
vary in size, tests that assume equal-sized sample units overestimate
the degree of aggregation and have a tendency to find selection for la
rge-sized sample units. Previous tests for selection of large or small
leaves by phytophagous insects have been biased toward detecting sele
ction for large leaves when no leaf selection or selection for small l
eaves may actually be present, and toward detecting aggregation even w
hen populations are Poisson random or repulsed. We derive explicitly t
he population mean and variance of the number of organisms per sample
unit when the size of the sample unit is random, and we outline proced
ures to estimate the degree of aggregation and test for size-based sam
ple-unit selection using a generalized linear model based on a Poisson
null hypothesis of independent random placement.