pairwise: Pairwise comparisons of random parameters.

Description Usage Arguments Details Value Author(s)

View source: R/pairwise.R

Description

Compute pairwise differences in group-specific measurement parameters.

Usage

1
2
3
4
5
6
7
8
pairwise(
  mires,
  param = c("lambda", "resid", "nu"),
  prob = 0.95,
  less_than = 0.1,
  groups = NULL,
  ...
)

Arguments

mires

mires object.

param

Character. One of lambda (loadings), resid (residual standard deviation on the log scale), or nu (intercepts).

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


MIRES documentation built on Feb. 22, 2021, 5:10 p.m.