When running glm
in R using tweedie and log link, I run into
"Error in glm.fit ... NA/NAN/INF in x"
I have tried using different distributions and links. I have also tried adding 1 to the response because it is insurance data with lots of 0s.
I have already checked for na's, nan's, and inf values and have none in my dataset (or have already corrected for them).
Here is the code I have:
fit = glm(y~x, data=data1,
family=tweedie(var.power=1.6, link.power=0), weights=weights)