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

Exam2.B.3R Documentation

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

Description

Exam2.B.3 is used to illustrate one way treatment design with Gaussian observations.

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.3

Examples

#-----------------------------------------------------------------------------------
## Means Model  discussed in Example 2.B.3 using DataExam2.B.3
#-----------------------------------------------------------------------------------
Exam2.B.3.lm1 <- lm(formula = y ~ trt, data = DataExam2.B.3)
summary(Exam2.B.3.lm1)

#-----------------------------------------------------------------------------------
## Effectss Model  discussed in Example 2.B.3 using DataExam2.B.3
#-----------------------------------------------------------------------------------
Exam2.B.3.lm2 <- lm(formula = y ~ 0 + trt, data = DataExam2.B.3)
summary(Exam2.B.3.lm2)
library(parameters)
model_parameters(Exam2.B.3.lm2)

StroupGLMM documentation built on Oct. 2, 2024, 1:07 a.m.