Statistics for The general continuum model for structured populations, with two case studies in plant ecology