infer_prior_beliefs | R Documentation |
Use infer_NIW_ideal_adaptor()
instead, together with make_staninput_for_NIW_ideal_adaptor()
.
infer_prior_beliefs(
exposure,
test,
cues,
category,
response,
group,
group.unique = NULL,
center.observations = TRUE,
scale.observations = FALSE,
pca.observations = FALSE,
pca.cutoff = 1,
transform_type = NULL,
lapse_rate = NULL,
mu_0 = NULL,
Sigma_0 = NULL,
tau_scale = NULL,
L_omega_eta = 1,
split_loglik_per_observation = 0,
stanmodel = NULL,
verbose = FALSE,
silent = 1,
...
)
exposure |
'tibble' or 'data.frame' with the exposure data. Each row should be an observation of a category, and contain information about the category label, the cue values of the observation, and optionally grouping variables. |
test |
'tibble' or 'data.frame' with the test data. Each row should be an observation, and contain information about the cue values of the test stimulus and the participant's response. |
cues |
Names of columns with cue values. Must exist in both exposure and test data. |
category |
Name of column in exposure data that contains the category label. Can be |
response |
Name of column in test data that contains participants' responses. (default: "response") |
group |
Name of column that contains information about which observations form a group. Typically, this is a variable identifying subjects/participants. Must exist in both exposure and test data. (default: "group") |
group.unique |
Name of column that uniquely identifies each group with identical exposure. This could be a
variable indicating the different conditions in an experiment. Using group.unique is optional, but can be
substantially more efficient if many groups share the same exposure. To ignore, set to |
lapse_rate , mu_0 , Sigma_0 |
Optionally, lapse rate, prior expected category means ( |
stanmodel |
Name of stanmodel that should be used. Overrides any default selection. |
silent |
Verbosity level between |
... |
Additional parameters are passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.