effects: Mixed Effects

Description Usage Arguments Details See Also

Description

Get the fixed effects, random effect variances, and empirical Bayes random effect estimates.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## S3 method for class 'mhglm'
fixef(object, ...)

## S3 method for class 'mhglm'
ranef(object, condVar = FALSE, ...) 

## S3 method for class 'mhglm'
vcov(object, ...)

## S3 method for class 'mhglm'
VarCorr(x, sigma = 1, ...)

## S3 method for class 'mhglm_ml'
fixef(object, ...)

## S3 method for class 'mhglm_ml'
ranef(object, condVar = FALSE, ...) 

## S3 method for class 'mhglm_ml'
vcov(object, ...)

## S3 method for class 'mhglm_ml'
VarCorr(x, sigma = 1, ...)

Arguments

object, x

an mhglm object.

sigma

a factor by which to scale the random effect variance-covariance matrix.

condVar

a logical indicating whether conditional covariance matrices for the random effects should be returned.

...

further arguments passed to or from other methods.

Details

fixef returnes the fixed effects, while vcov returns the variance-covariance matrix of the fixed effect estimates.

VarCorr returns the random effect covariance matrix. ranef returns the empirical Bayes random effect estimates.

These functions behave like their counterparts in the nlme package.

See Also

fixef, ranef, VarCorr, from package nlme.


patperry/r-mbest documentation built on May 24, 2019, 8:20 p.m.