is.NIW_ideal_adaptor: Is this an ideal adaptor with Normal-Inverse-Wishart (NIW)...

View source: R/class-NIW-IA.R

is.NIW_ideal_adaptorR Documentation

Is this an ideal adaptor with Normal-Inverse-Wishart (NIW) beliefs?

Description

Check whether x is an ideal adaptor with Normal-Inverse-Wishard (NIW) beliefs. An ideal adaptor describes a distribution over ideal observers with multivariate Gaussian categories. In this sense, an ideal adaptor describes uncertainty about the true ideal observer. Optionally, one can also check whether a lapse rate and lapse bias is part of the ideal adaptor.

Usage

is.NIW_ideal_adaptor(
  x,
  group = NULL,
  category = "category",
  is.long = T,
  with.prior = T,
  with.lapse = if (with.lapse_bias) T else F,
  with.lapse_bias = F,
  verbose = F,
  tolerance = 1e-05
)

Arguments

x

Object to be checked.

group

Name of one or more group variables, each unique combination of which describes an NIW_ideal_adaptor. (default: NULL)

category

Name of the category variable. (default: "category")

is.long

Is this check assessing whether the ideal adaptor is in long format ('TRUE') or wide format ('FALSE')? (default: 'TRUE')

with.lapse

Does this ideal adaptor have a lapse rate? (default: 'FALSE')

with.lapse_bias

Does this ideal adaptor have a lapse bias? (default: 'FALSE')

verbose

Should verbose output be provided? (default: 'TRUE')

Details

So far, the ideal adaptor is assumed to have perfect certainty about the prior, lapse rate and lapse bias (if present). Future implementations might allow uncertainty over these parameters.

Value

A logical.

See Also

TBD


hlplab/MVBeliefUpdatr documentation built on March 29, 2025, 10:42 p.m.