My goal is to know the relation of two variables: Density and proportion in diapause. However, the complicated part of my analysis is that the proportion in diapause acts in two different ways, as binomial or continuous. The densities of larvae (ind. var.) tested were: solitary (only 1 larvae per container) and densities from 6 to 400 (each of these densities per container). The response variable is the proportion of larvae that went into diapause. However, this number would be only 0 or 1 for the solitary density or a continuous range from 0-1 for the other densities.
I thought about using logistic regression, but proportion of diapause does not necessarily increase with increased densities: More larvae are in diapause when solitary than when in densities of 6 and 20, after that proportion of diapause increases being higher at 400.
Thanks in advance for any sugestion!