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.

1 |

`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. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.