I'm modelling some proportional data using a binomial GLM - ie fitted values are sigmoidal - but the data look like they may be better fit by a straight line (model validation plots of a simple linear model suggest this is ok too).
Is there any way to compare these models to see if one fits better than the other? I'm using r, and was originally thinking I could use
m1 <- glm(y ~ x, family = gaussian)
m2 <- glm(y ~ x, family = binomial)
then use AIC to compare them. (Note that covariates are the same for m1
& m2
).
However, I've realised that these 2 models require the response variable to be structured differently - as a proportion in m1
, and a matrix containing a 'success' and a 'failure' column for m2
. I think (?) this means that this approach is inappropriate.
Is there a way I can test whether one model fits the data better than the other?
Thank you for your help!
Jay
I should also note - as far as my understanding of the relationships go, there isn't a theoretical reason to choose a sigmoidal relationship over a simple linear one, beyond the fact binomial errors are appropriate for proportional data.