testvar: Significance Test for Random Effects Calculates the p-value...

Description Usage Arguments

Description

Significance Test for Random Effects

Calculates the p-value for the test of the slope variance and intercept-slope covariance using the likelihood ratio test method.

Usage

1
testvar(outp, p = "intercept", testcov = FALSE)

Arguments

outp

is the lmer model object.

p

is string of the variance component you want tested (place in double quotes).

testcov

is FALSE by default for the variance component. If testcov = TRUE, the function retuns the test of the intercept-component covariance.


RandiLGarcia/daticmlm documentation built on May 23, 2019, 1:09 p.m.