glm starting values not accepted log-link
问题 I want to run a Gaussian GLM with a log link and an offset. The following problems arise: y <- c(1,1,0,0) t <- c(5,3,2,4) No problem: exp(coef(glm(y~1 + offset(log(t)), family=poisson))) with family=gaussian , starting values need to be specified, it works here: exp(coef(glm(y~1, family=gaussian(link=log), start=0))) but does not work here: exp(coef(glm(y~1 + offset(log(t)), family=gaussian(link=log), start=0))) Error in eval(expr, envir, enclos) : cannot find valid starting values: please