asymptotic.null: Sample from the asymptotic null distribution.

Description Usage Arguments See Also Examples

Description

Sample from the asymptotic null distribution for zero-value variance component from Self and Liang (1987).

Usage

1
asymptotic.null(n.fix.test, nsim = 10000)

Arguments

n.fix.test

Number of fixed effects being tested.

nsim

Number of samples to draw.

See Also

Self, G. S. and Liang K. Y. (1987). Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstandard conditions. Journal of the American Statistical Association 82, 605–610.

Stram, D. O. and Lee, J. W. (1994). Variance component testing in the longitudinal mixed effects model. Biometrics 50, 1171–1177.

Examples

1
2
# To test 1 random effect and 0 fixed effects
asymptotic.null(0)

stchen3/glmmVCtest documentation built on May 23, 2019, 2:48 p.m.