Skip to content

Binomial GLM in Stata and R

2 messages · Floor Biemans, Ben Bolker

#
Floor Biemans <floor_biemans <at> hotmail.com> writes:

[snip]
binomial(link = cloglog))
Cross-posted to stack overflow:

http://stackoverflow.com/questions/20094074/reproduce-stata-code-in-r-binomial-glm/20094514#20094514

glmt <- glm(data=dataset, cbind(c,s-c) ~ IndA + fia, 
    offset = offset, family = binomial(link = cloglog))