> y<-cy<-c(15,16,17,0,20,50,0,11,60,12)
> x<-c(1,6,3,11,13,20,12,14,15,3)
> gamma<-glm(y~x,family=Gamma())
Error in eval(expr, envir, enclos) : Non-positive values not allowed for the gamma family
but if i change data of y is 
> y1<-c(15,16,17,12,20,50,51,11,60,12)  ###### doesn't have zero then I can run.
 
Gamma Distribution can run for y >= o ??
I would like to know, why?
 
Thand and Best regards,
Mathinee 
 
 

 

		
---------------------------------

	[[alternative HTML version deleted]]


