Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 31a5c508df295d9e5b5c8d3ffdc2c8b27b4e819f authored by Wayne Zhang on 26 October 2011, 00:00:00 UTC, committed by Gabor Csardi on 26 October 2011, 00:00:00 UTC
version 0.3-1
1 parent 0bd5289
  • Files
  • Changes
  • a089ef6
  • /
  • man
  • /
  • cpglmm-class-method.Rd
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:31a5c508df295d9e5b5c8d3ffdc2c8b27b4e819f
directory badge
swh:1:dir:07a9784190d74ad54ad5ede64fa814130af48e12
content badge
swh:1:cnt:140f3cd023e81d5f9655c70e90549cb58b3185ba

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
cpglmm-class-method.Rd
\name{cpglmm-class-method}
\docType{class}
\alias{cpglmm-class}
\alias{print,cpglmm-method}
\alias{show,cpglmm-method}
\alias{sigma,cpglmm-method}
\alias{summary,cpglmm-method}
\alias{VarCorr,cpglmm-method}
\alias{vcov,cpglmm-method}
\alias{summary.cpglmm-class}

\title{Representaion of the Compound Poisson Mixed Models}
\description{
Class \code{"cpglmm"}  represents compound Poisson generalized
  linear mixed-effects models, and the \code{"summary.cpglmm"} class represents the summary
  of the object.
}

\section{Objects from the Class}{
Objects of class \code{"cpglmm"} can be created by calls of the form \code{new("cpglmm", ...)}, or a call to \code{cpglmm}.  Objects of class \code{"summary.cpglmm"} can be created by calls of the form \code{new("summary.cpglmm", ...)}, or a call to \code{summary}. 
}

\section{Slots}{
  This class extends \code{"\linkS4class{mer}"} directly, and it has the following addtional slots:
  \describe{
    \item{\code{p}:}{estimated value of the index parameter, class \code{"numeric"}  }
    \item{\code{phi}:}{estimated value of the dispersion parameter, class \code{"numeric"} }
    \item{\code{link.power}:}{the power of the link function, class \code{"numeric"}. See \code{\link[statmod]{tweedie}}.  }
    \item{\code{bound.p}:}{the specified bound of the index parameter, class \code{"numeric"}   }
    }

  The \code{"summary.cpglmm"} class \emph{contains} the \code{"cpglm"}
  class and has the following additional slots:
  \describe{

    \item{\code{methTitle}:}{character string specifying a method title}
    \item{\code{logLik}:}{the same as \code{logLik(object)}.}
    \item{\code{ngrps}:}{the number of levels per grouping factor in the
      \code{flist} slot.}
    \item{\code{sigma}:}{the scale factor for the variance-covariance estimates}
    \item{\code{coefs}:}{the matrix of estimates, standard errors,
      etc. for the fixed-effects coefficients}
    \item{\code{vcov}:}{the same as \code{\link{vcov}(object)}.}
    \item{\code{REmat}:}{the formatted Random-Effects matrix}
    \item{\code{AICtab}:}{A named vector of values of AIC, BIC, log-likelihood
      and deviance}
  }% summary slots
}

\section{Extends}{
The \code{"cpglmm"} code extends class \code{"\linkS4class{mer}"}, directly.

The \code{"summary.cpglmm"} code extends: class \code{"\linkS4class{cpglmm}"}, directly; 
class \code{"\linkS4class{mer}"}, by class "cpglmm", distance 2.
}


\section{Methods}{
  Most methods defined for \code{"\linkS4class{mer}"} can be applied directly, and the following is written specifically for \code{"cpglmm"}. 
  \describe{
    \item{print}{\code{signature(x = "cpglmm")}:  print the object }
    \item{show}{\code{signature(object = "cpglmm")}: show the object }
    \item{sigma}{\code{signature(object = "cpglmm")}: return square root of the dispersion parameter }
    \item{summary}{\code{signature(object = "cpglmm")}: summary results}
    \item{VarCorr}{\code{signature(x = "cpglmm")}: estimation for the variance components }
    \item{vcov}{\code{signature(object = "cpglmm")}: variance-covariance matrix for fixed effects }
	 }
}


\author{
Wayne (Yanwei) Zhang \email{actuary_zhang@hotmail.com}
}

\seealso{
\code{\link[lme4]{mer-class}} and \code{\link{cpglmm}}
}

\keyword{classes}
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API