getGEER: Extract or Get Generalized Components from a Fitted...

Description Usage Arguments Methods (by class) Examples

View source: R/utilities.R

Description

Extract (or get) "components" - in a generalized sense - from a fitted joint mean covariance model from an object of class "geerMod".

Usage

1
2
3
4
5
6
getGEER(object, name, sub.num)

## S3 method for class 'geerMod'
getGEER(object, name = c("m", "Y", "X", "Z", "W", "H", "D",
  "T", "Sigma", "mu", "theta", "beta", "lambda", "gamma", "alpha", "sd", "FIM",
  "quasilik", "BIC", "iter", "triple", "pij", "cpij"), sub.num = 0)

Arguments

object

a fitted joint mean covariance model of class "geerMod", i.e., typically the result of geer().

name

a character vector specifying the name(s) of the "component".

When sub.num is not specified or equal to 0, possible values are:

"m"

a vector of number of measurement for each subject

"Y"

response vector

"X"

model matrix for mean structure

"Z"

model matrix for covariance structure (the diagonal matrix)

"W"

model matrix for covariance structure (the lower triangular matrix)

"H"

a vector of weights used in WGEE-MCD

"FIM"

Fisher Information matrix

"theta"

parameter estimates of GEE-MCD/WGEE-MCD model

"sd"

standard deviations for parameter estimates of GEE-MCD/WGEE-MCD model

"beta"

parameter estimates for mean structure model

"lambda"

parameter estimates for covariace structure (the diagonal matrix)

"gamma"

parameter estimates for covariance structure (the lower triangular matrix)

"quasilik"

quasi-likelihood

"QIC"

Quasi information criterion

"iter"

number of iterations until convergence

"triple"

(p, d, q)

"pij"

a vector of remaining probability

"cpij"

a vector of cumulative remaining probability

When sub.num is specified, possible values are:

"m"

number of measurements for subject i

"Y"

response vector for subject i

"X"

model matrix of subject i for mean structure

"Z"

model matrix of subject i for covariance structure (the diagonal matrix)

"W"

model matrix of subject i for covariance structure (the lower triangular matrix)

"D"

the estimated diagonal matrix for subject i

"T"

the estimated lower triangular matrix for subject i

"Sigma"

the estimated covariance matrix for subject i

"mu"

the estimated mean for subject i

"pij"

a vector of remaining probability for subject i

"cpij"

a vector of cumulative remaining probability for subject i

sub.num

refer to i's subject

Methods (by class)

Examples

1
2
3
4
5
6
7
fitgee.ar1 <- geer(cd4|id|time ~ 1|1, data = aids, triple =
  c(6,3,3), method = 'gee-mcd', corr.struct = 'ar1', rho = 0.5, control =
  geerControl(trace=TRUE))

sd  <- getGEER(fitgee.ar1, "sd")
QIC <- getGEER(fitgee.ar1, "QIC")
Di  <- getGEER(fitgee.ar1, "D", 10)

gee4 documentation built on May 2, 2019, 10:14 a.m.