pairwise {MIRES} | R Documentation |
Pairwise comparisons of random parameters.
Description
Compute pairwise differences in group-specific measurement parameters.
Usage
pairwise(
mires,
param = c("lambda", "resid", "nu"),
prob = 0.95,
less_than = 0.1,
groups = NULL,
...
)
Arguments
mires |
mires object. |
param |
Character. One of |
prob |
Numeric (0-1). Probability mass contained within the highest density interval. |
less_than |
Numeric (Default: .1; positive). Value at which to assess Pr(|difference| < less_than|D). |
groups |
Character vector (Optional). If specified, will only compute pairwise differences of the specified groups. |
... |
Not used. |
Details
For a specified set of parameters, this computes all pairwise differences in the random effects across the posterior. Specifically, this computes the posterior differences of groups' parameters, for all parameters. This is useful for comparing groups' estimates under non-invariance.
Value
Data frame.
Author(s)
Stephen Martin