getAp: getAp

Description Usage Arguments Author(s) References Examples

Description

If the link is the identity, i.e., a linear model then the function aprime is the design matrix times beta. If another link is to be used hen this function needs to be changed.

Usage

1
getAp(xmat, center, beta, geemod = "LM")

Arguments

xmat

Design matrix.

center

Center (block) indicator.

beta

Current value of beta

geemod

Currently only geemod="LM" functions.

Author(s)

Joseph W. McKean

References

Kloke and McKean (2014), Nonparametrics Using R, Boca Raton: Chapman-Hall.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (xmat, center, beta, geemod = "LM") 
{
    if (geemod == "LM") {
        apbeta <- xmat %*% beta
    }
    return(apbeta)
  }

kloke/rbgee documentation built on May 20, 2019, 12:34 p.m.