Exam2.B.2: Example 2.B.2 from Generalized Linear Mixed Models: Modern...

Exam2.B.2R Documentation

Example 2.B.2 from Generalized Linear Mixed Models: Modern Concepts, Methods and Applications by Walter W. Stroup(p-54)

Description

Exam2.B.2 is used to visualize the effect of glm model statement with binomial data with logit and probit links.

Author(s)

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Adeela Munawar (adeela.uaf@gmail.com)

References

  1. Stroup, W. W. (2012). Generalized Linear Mixed Models: Modern Concepts, Methods and Applications. CRC Press.

See Also

DataExam2.B.2

Examples

#-----------------------------------------------------------------------------------
## 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)
summary(Exam2.B.2glm)
library(parameters)
model_parameters(Exam2.B.2glm)

MYaseen208/StroupGLMM documentation built on Oct. 9, 2024, 10:57 a.m.