Exam2.B.4 | R Documentation |
Exam2.B.4 is used to illustrate one way treatment design with Binomial observations.
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.
DataExam2.B.4
#-----------------------------------------------------------------------------------
## logit Model discussed in Example 2.B.2 using DataExam2.B.4
## Default link is logit
## using fmaily=binomial gives warning message of no-integer successes
#-----------------------------------------------------------------------------------
data(DataExam2.B.4)
DataExam2.B.4$trt <- factor(x = DataExam2.B.4$trt)
Exam2.B.4glm <-
glm(
formula = Yij/Nij ~ trt
, family = quasibinomial(link = "probit")
, data = DataExam2.B.4
)
summary(Exam2.B.4glm)
library(parameters)
model_parameters(Exam2.B.4glm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.