R/Exam2.B.3.R

#' @title Example 2.B.3 from Generalized Linear Mixed Models: Modern Concepts, Methods and Applications by Walter W. Stroup(p-55)
#' @name   Exam2.B.3
#' @docType data
#' @keywords datasets
#' @description Exam2.B.3 is used to illustrate one way treatment design with Gaussian observations.
#' @author \enumerate{
#'          \item  Muhammad Yaseen (\email{myaseen208@@gmail.com})
#'          \item Adeela Munawar (\email{adeela.uaf@@gmail.com})
#'          }
#' @references \enumerate{
#' \item Stroup, W. W. (2012).
#'      \emph{Generalized Linear Mixed Models: Modern Concepts, Methods and Applications}.
#'        CRC Press.
#'  }
#' @seealso
#'    \code{\link{DataExam2.B.3}}
#'    
#' @importFrom stats lm summary.lm
#'     
#' @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
#'     #  , 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)
NULL
MYaseen208/StroupGLMM documentation built on May 7, 2019, 2:07 p.m.