powered by
These are the number of adult flour beetles which died following a 5-hour exposure to gaseous carbon disulphide.
data(bliss)
A data frame with 8 observations on the following 3 variables.
concentration of carbon disulphide(mg. per litre)
Numbers of beetles exposed
Numbers of beetles dying
data(bliss) attach(bliss) plot(log(dose),r/m,ylim=c(0,1),ylab="Proportion dead") fit <- glm(cbind(r,m-r)~log(dose),binomial) summary(fit)
Run the code above in your browser using DataLab