Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getMCMCintervals.fnc

calculate HPD prediction intervals


Description

calculate HPD 95% prediction intervals

Usage

getMCMCintervals.fnc(fixf, mcmcMatrix, m)

Arguments

fixf

vector of fixed effects coefficients (fixef(model.lmer))

mcmcMatrix

MCMC matrix obtained with mcmcsamp or pvals.fnc

m

model matrix

Details

not intended for independent use

Value

A matrix with columns '"lower"' and '"upper"' and rows corresponding to the values of the predictor to be plotted on the X-axis.

Note

not intended for independent use

Author(s)

R. H. Baayen

References

languageR

See Also

See Also as plotLMER.fnc

Examples

## Not run: not intended for independent use

languageR

Analyzing Linguistic Data: A Practical Introduction to Statistics

v1.5.0
GPL (>= 2)
Authors
R. H. Baayen <harald.baayen@uni-tuebingen.de>, Elnaz Shafaei-Bajestan <elnaz.shafaei-bajestan@uni-tuebingen.de>
Initial release
2019-01-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.