is.NIW_ideal_adaptor | R Documentation |
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.
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
)
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') |
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.
A logical.
TBD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.