Description Author(s) References See Also Examples
Exam2.B.2 is used to visualize the effect of glm model statement with binomial data with logit and probit links.
Muhammad Yaseen (myaseen208@gmail.com)
Adeela Munawar (adeela.uaf@gmail.com)
Stroup, W. W. (2012). Generalized Linear Mixed Models: Modern Concepts, Methods and Applications. CRC Press.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #-----------------------------------------------------------------------------------
## probitit Model discussed in Example 2.B.2 using DataExam2.B.2
## Default link is logit
## using fmaily=binomial gives warning message of no-integer successes
#-----------------------------------------------------------------------------------
data(DataExam2.B.2)
Exam2.B.2glm <-
glm(
formula = y/n~x
, family = quasibinomial(link = "probit")
, data = DataExam2.B.2
, weights = NULL
# , subset
# , na.action
, start = NULL
# , etastart
# , mustart
# , offset
# , control = list(...)
# , model = TRUE
, method = "glm.fit"
# , x = FALSE
# , y = TRUE
, contrasts = NULL
# , ...
)
summary(Exam2.B.2glm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.