Description Author(s) References See Also Examples
Exam2.B.3 is used to illustrate one way treatment design with Gaussian 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.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #-----------------------------------------------------------------------------------
## Means Model discussed in Example 2.B.3 using DataExam2.B.3
#-----------------------------------------------------------------------------------
Exam2.B.3.lm1 <-
lm(
formula = y~trt
, data = DataExam2.B.3
# , subset
# , weights
# , na.action
, method = "qr"
, model = TRUE
# , x = FALSE
# , y = FALSE
, qr = TRUE
, singular.ok = TRUE
, contrasts = NULL
# , offset
# , ...
)
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
# , subset
# , weights
# , na.action
, method = "qr"
, model = TRUE
# , x = FALSE
# , y = FALSE
, qr = TRUE
, singular.ok = TRUE
, contrasts = NULL
# , offset
# , ...
)
summary(Exam2.B.3.lm2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.